Skip to main content
POST
/
v1
/
session
/
login
/
otp
Start login OTP
curl --request POST \
  --url https://{appId}.session.prelude.dev/v1/session/login/otp \
  --header 'Content-Type: application/json' \
  --data '{
  "identifier": {
    "type": "phone_number",
    "value": "+306912345678"
  },
  "login_config_id": "lcfg_01jqebhswje1ka1z7ahr9rfsgt",
  "dispatch_id": "123e4567-e89b-12d3-a456-426614174000"
}'
This response does not have an example.

Body

application/json
identifier
object
required

The verification target. Either a phone number or an email address. To use the email verification feature contact us to discuss your use case.

login_config_id
string

The identifier of the login config to use.

Required string length: 31
Examples:

"lcfg_01jqebhswje1ka1z7ahr9rfsgt"

dispatch_id
string

The identifier of the dispatch that came from the front-end SDK.

Required string length: 36
Examples:

"123e4567-e89b-12d3-a456-426614174000"

Response

No Content

I