Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

1. Verify

POST

❗This API is for OTP messaging only

POST https://{API URL}/api/smsverify/verify

Body

Minimal

{
  "PhoneNumber": "XXXXXXXXXXXX"
}

Maximal

{
  "PhoneNumber": "XXXXXXXXXXXX",
  "SenderId": "YYYYYYYYYYY",
  "MessageText": "ZZ {code} ZZZZ"
}

PhoneNumber is the phone number with country code (no plus sign).

SenderId is a 11-character max length string to represent the Sender ID. It is optional. If omitted the SenderID will be “DMVerif”.

MessageText is a 160-character max length string to represent the text of the SMS sent. It is optional and must include “{code}” within the text. If omitted the MessageText will be “Your code is {code}.”

Response

200 OK

If the SMS was successfully sent, the SMS id is returned in the response body

View full flow at SMS Verification Overview