Request a MFA token via text message
Request a MFA token via text message.
Permissions
The API token must include one of the following scopes: Voice or Messaging or Fax.
Request Body — REQUIRED |
---|
to string — REQUIREDThe E164 number to use as the destination. |
from stringThe E164 number from your account to use as the origin of the message. SignalWire will use a special verified number if not specified. If using a different caller ID, make sure it is a number you have purchased or have verified on your SignalWire account and ensure it is registered on the Campaign Registry for the best deliverability. |
message stringSpecify 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. When using a custom |
token_length numberThe number of characters in the token, from 4 to 20. Defaults to 6. |
max_attempts numberThe number of allowed verification attempts, including the first one, from 1 to 20. Defaults to 3. |
allow_alphas booleanSet to |
valid_for numberThe number of seconds the token is considered valid for. Defaults to 3600, with a maximum of 604800. |
Responses | |||||
---|---|---|---|---|---|
200 OK
|