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

3. Validate

POST

❗This API is for OTP messaging only

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

Body

{
  "PhoneNumber": "XXXXXXXXXXXX",
  "ValidationCode": "63e309bc-6ebb-8350-ff7d-c40d7b613f35"
}

Response

200 OK

Includes complex object in JSON body if successful which contains two fields, number and dialCode. Because of the way the SMS is saved and retrieved, it gets split into the two constituent parts.

View full flow at SMS Verification Overview