cURL
curl --request POST \ --url https://api-v2.dexchange-sms.com/api/v1/verify/otp \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "otp": "<string>", "number": "<string>", "service": "<string>" } '
{ "status": "<string>", "message": "<string>" }
Verifies an OTP for a given number
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Details for verifying an OTP
The OTP to verify
Phone number for which the OTP is verified
Service for which the OTP is being verified
OTP verified successfully
Verification result status
Additional verification details