1. Verify
❗This API is for OTP messaging only
POST https://{API URL}/api/smsverify/verify
{
"PhoneNumber": "XXXXXXXXXXXX"
}
{
"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}.”
If the SMS was successfully sent, the SMS id is returned in the response body