Skip to main content
POST
/
api
/
v1
/
verify
/
otp
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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Details for verifying an OTP

otp
string
required

The OTP to verify

number
string
required

Phone number for which the OTP is verified

service
string
required

Service for which the OTP is being verified

Response

OTP verified successfully

status
string

Verification result status

message
string

Additional verification details