Multi-Factor Authentication
Request MFA token via SMS
Sends a multi-factor authentication code via SMS.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Management.
Learn more about API scopes.
post/api/relay/rest/mfa/sms
Request body
Example request
{
"to": "+14043287382",
"from": "+12029167968",
"message": "Here is your code",
"token_length": 6,
"valid_for": 3600,
"max_attempts": 3
}Response
The request has succeeded.
Example response
{
"success": true,
"to": "+15554422333",
"channel": "call"
}