Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 1.2 KB

CodeRequest.md

File metadata and controls

18 lines (10 loc) · 1.2 KB

CodeRequest

Properties

Name Type Description Notes
to String The phone number to send the mfa code to.
from String The application phone number, the sender of the mfa code.
applicationId String The application unique ID, obtained from Bandwidth.
scope String An optional field to denote what scope or action the mfa code is addressing. If not supplied, defaults to "2FA". [optional]
message String The message format of the mfa code. There are three values that the system will replace "{CODE}", "{NAME}", "{SCOPE}". The "{SCOPE}" and "{NAME} value template are optional, while "{CODE}" must be supplied. As the name would suggest, code will be replace with the actual mfa code. Name is replaced with the application name, configured during provisioning of mfa. The scope value is the same value sent during the call and partitioned by the server.
digits Integer The number of digits for your mfa code. The valid number ranges from 2 to 8, inclusively.