Sinch · Example Payload

Sinch Start Verification Example

Example request and response for starting a phone number verification via SMS OTP

CommunicationsMessagingSMSVoiceVerificationCPaaS

Sinch Start Verification Example is an example object payload from Sinch, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titledescriptionrequestresponse

Example Payload

Raw ↑
{
  "title": "Start Phone Verification Example",
  "description": "Example request and response for starting a phone number verification via SMS OTP",
  "request": {
    "method": "POST",
    "url": "https://verification.api.sinch.com/verification/v1/verifications",
    "headers": {
      "Authorization": "Basic base64(app-key:app-secret)",
      "Content-Type": "application/json"
    },
    "body": {
      "method": "sms",
      "identity": {
        "type": "number",
        "endpoint": "+14155552345"
      }
    }
  },
  "response": {
    "status": 200,
    "body": {
      "id": "ver-01H6ABC123",
      "method": "sms",
      "status": "PENDING",
      "sms": {
        "template": "Your code is {{code}}."
      }
    }
  }
}