Skip to main content
POST
/
v1
/
session
/
login
/
otp
/
check
Complete login OTP
curl --request POST \
  --url https://{appId}.session.prelude.dev/v1/session/login/otp/check \
  --header 'Content-Type: application/json' \
  --cookie __verification-login_%7Bapp_id%7D= \
  --data '
{
  "code": "<string>"
}
'
{
  "code": "bad_request",
  "type": "bad_request"
}

Authorizations

__verification-login_{app_id}
string
cookie
required

Body

application/json
code
string
required

The OTP received by message

Required string length: 4 - 8

Response

No Content