Skip to main content
POST
/
oauth
/
login
Login with OTP
curl --request POST \
  --url https://api.inprocess.world/api/oauth/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "artist@example.com",
  "code": "123456"
}
'
{
  "token": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9..."
}

Body

application/json
email
string<email>
required

The email address used to request the OTP

Example:

"artist@example.com"

code
string
required

The 6-digit one-time verification code sent to the email

Pattern: ^\d{6}$
Example:

"123456"

Response

Authentication successful

token
string

Authentication token (JWT) that expires in 1 hour

Example:

"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9..."