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 '{ "email": "example", "redirect_uri": "example" }'
redirect_uri
string | null
Media type application/json
object
email
required
string
redirect_uri
string | null
Example generated
{
"email": "example",
"redirect_uri": "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