Skip to content

login_otp_handler

POST
/api/auth/v1/otp/login
curl --request POST \
--url https://example.com/api/auth/v1/otp/login \
--header 'Content-Type: application/json' \
--data '{ "code": "example", "email": "example", "redirect_uri": "example" }'
email
string | null
code
string | null
redirect_uri
string | null
Media type application/json
object
code
string | null
email
string | null
redirect_uri
string | null
Example generated
{
"code": "example",
"email": "example",
"redirect_uri": "example"
}

Auth tokens for JSONl logins.

Media type application/json
object
auth_token
required
string
csrf_token
required
string
refresh_token
required
string
Example generated
{
"auth_token": "example",
"csrf_token": "example",
"refresh_token": "example"
}

For form logins.

Bad request