Multi-Factor Authentication
Request MFA token via call
Creates a multi-factor authentication request and delivers its code in a voice call. Use it when the destination cannot receive SMS or voice delivery is preferred; save the returned request ID and submit the code to Verify MFA token. Use the SMS operation for text delivery.
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/call
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"
}Changes
No changes found, but 3 of the 137 revisions have a changelog that could not be searched — this endpoint may have changed in one of them.