The purpose and usage of this API is to send an authorization code to a user via SMS that the user can then enter into your application to verify their identity.
To allow a greater range of usage there are several parameters that can be defined when calling the API:
When calling the API, both phone and appName are required, and will be validated.
If either one is invalid, no SMS will be sent and the API will return a “false” success message.
If code and/or codeLength are not passed over, the API will default to generating a 4-digit code.