Sign Up and send free SMS messages.

2 Factor Authentication | Verify PIN API

Verify PIN

Use the following URL to validate the PIN that have sent to your user:.

 /v1/verify

Query Parameters

Key Example Description Required
access-token ABCDEFG12345 You can find your API key in your account Required
request_id 12345 This is the request_id you received in the response to the Verify request. Required
code 1234 The verification code entered by your user. Required
ip_address

Example

https://verify.smspoh.com/api/v1/verify?access-token=ABCDEFG12345&request_id=12345&code=1234

Response Body

{
    "status": true,
    "request_id": 123456
}
        

Response Fields

status boolean
request_id integer | The unique ID of verify request.

Error Status

code Message
0 Invalid PIN
10 PIN Verify Attempt Exceed
11 PIN Expired