AUTH.SEND_OTP
POST
To generate and send an OTP via email.
Request
- application/json
Body
action stringrequired
Default value: auth.send_otp
The action
email stringrequired
intent required
Possible values: [signin
, invite
, change_password
, change_email
, change_username
]
Default value: signin
aud string
Responses
- 200
Send OTP response
- application/json
- Schema
- Example (from schema)
Schema
data object
otp boolean
Boolean indicating OTP was sent. Always true
next_action string
A string indicating next action
{
"data": {
"otp": true,
"next_action": "string"
}
}
Loading...