Skip to main content
Endpoint: https://BASE_URL/api/sms/otp/call Request Type: POST Sample Response:
OptionsRequiredDescription
api*keyyes_string*
Your API key (It can be found on your Termii dashboard).
phone*numberyes_string*
The destination phone number. Phone number must be in the international format (Example: 23490126727)
codeyesnumeric
Example: 3344 The code you want your users to receive. It has to be numeric and length must be between 4 and 8 digits.
{
 "api_key" : "Your API key",
 "phone_number" : "2349800000000",
 "code" : 55675,

}
Sample Response:
{
     "code": "ok",
     "message_id": "453166532802459832",
     "pinId": "29ae67c2-c8e1-4165-8a51-8d3d7c298081",
     "message": "Successfully Sent",
     "balance": 77.5,
     "user": "Termii Test"
  }