Create a 2FA session via SMS
POST/sms
Create a new two factor authentication session via SMS. It will return the session id
Request
- application/json
Body
required
phoneNumber stringrequired
The phone number to send the verification code
sessionTTL number
Default value: 180
The session TTL in seconds
Responses
- 200
- 400
- 401
- 403
- application/json
- Schema
- Example (from schema)
Schema
sessionId stringrequired
The session id, used to identify the session
{
"sessionId": "string"
}
Invalid data provided
Invalid API key provided
Integration is not allowed to run 2FA
Loading...