https://BASE_URL/api/sms/otp/send/voice
Request Type: POST
Sample Response:
| Options | Required | Description |
|---|---|---|
| api*key | yes | _string* Your API key (It can be found on your Termii dashboard). |
| phone*number | yes | _string* The destination phone number. Phone number must be in the international format (Example: 23490126727) |
| pin*attempts | yes | Enum: "NUMERIC" "ALPHANUMERIC" Type of PIN code that will be generated and sent as part of the OTP message. It has a minimum of one attempt. |
| pin_time_to_live | yes | _integer* Example: 1 Represents how long the PIN is valid before expiration. The time is in minutes. The minimum time value is 0 and the maximum time value is 60 |
| pin*length | yes | _integer* Example: 4 |