Request MFA token via SMS
Creates a multi-factor authentication request and sends its code to the destination by SMS. Use it when an application must verify possession of a text-capable phone number; save the returned request ID and submit the code to Verify MFA token. Use the voice-call operation when the recipient cannot receive SMS.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Management.
Authentication
SignalWire Basic Authentication using Project ID and API Token.
The client sends HTTP requests with the Authorization header containing the word Basic followed by a space and a base64-encoded string of project_id:token. The project ID will be used as the username and the API token as the password.
Example:
Authorization: Basic base64(project_id:token)
Request
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.
Set to true or false, whether to include letters or just numbers in the token. Defaults to false (numbers only).