Skip to content

request_otp_handler

POST
/api/auth/v1/otp/request
curl --request POST \
--url https://example.com/api/auth/v1/otp/request \
--header 'Content-Type: application/json' \
--data '{ "redirect_uri": "example", "email_or_username": "example" }'
redirect_uri
string | null
Media typeapplication/json
One of:
object
redirect_uri
string | null
email_or_username
required
string
Examplegenerated
{
"redirect_uri": "example",
"email_or_username": "example"
}

OTP sent or user not found, when redirect_uri not present.

OTP sent or user not found, when redirect_uri present.

Bad request

Too many attempts