call
Send an MFA verification code via voice call.
Request
to
The E164 number to use as the destination.
from
The E164 number from your account to use as the origin of the message. SignalWire will use a special verified number if not specified.
message
Specify a custom message to send before the token. The message must fit within one segment; either 160 characters or 70 characters when using non-GSM symbols.
token_length
The number of characters in the token, from 4 to 20. Defaults to 6.
valid_for
The number of seconds the token is considered valid for. Defaults to 3600, with a maximum of 604800.
max_attempts
The number of allowed verification attempts, including the first one, from 1 to 20. Defaults to 3.
allow_alphas
Set to true or false, whether to include letters or just numbers in the token. Defaults to false (numbers only).
Response
id
The MFA request ID. Save this for verification.
success
Whether the request was successfully queued.
to
The destination of the MFA request.
channel
Can be sms for a text message or call for a phone call.
Response Example
Response