Skip to main content
Endpoint: https://BASE_URL/api/sms/otp/verify Request Type: POST Sample Response:
OptionsRequiredDescription
api*keyyes_string*
Your API key (It can be found on your Termii dashboard).
pin*idyes_string*
ID of the PIN sent (Example: "c8dcd048-5e7f-4347-8c89-4470c3af0b")
pinyesstring
The PIN code (Example: "195558")
This API requires a numeric or alphanumeric token to have been sent out to a customer. It collects this token when inputed by the user and confirms its status.
{
"api_key": "Your API key",
"pin_id": "c8dcd048-5e7f-4347-8c89-4470c3af0b",
"pin": "195558"
}
Sample Response:
   {
     "pinId": "c8dcd048-5e7f-4347-8c89-4470c3af0b",
     "verified": "True",
     "msisdn": "2348109077743"
   }