Verify OTP


OTP is useless if you cannot verify, isn’t it? Lets see how easy it is to verify the OTP. no local storage required!

API Endpoint



You can choose one of the authentication methods referenced here.

Body object

The JSON object representing the OTP to verify. Should be included in request body.

options description required default value
number string E164 formatted mobile number Yes
token string The OTP to verify Yes


status code description
200 success Request sent successfully
400 bad request Incorrect or missing parameters
401 unauthorized Invalid credentials or incorrect authentication method

OTP as the name suggest, Once verified or expired, will be destroyed.

Request example


Content-type: application/json
Authorization: BASIC base64encodedCredentials


  "number": "32412345678",
  "token": "1234"

Response example

    "code": 200,
    "message": "OK",
    "verify": true