Verifications start

Start verification

This method is used by the mobile and web Verification SDKs to start a verification. It can also be used to request a verification from your backend, by making an request.

post/verification/v1/verifications

Request

  • Base URL
    https://verification.api.sinch.com
  • URL
    https://verification.api.sinch.com/verification/v1/verifications
  • Auth
    • HTTP basic
    • or API key in header Authentication

Headers

Accept-Languagestring

In SMS Verification, value of Accept-Language header is used to determine the language of an SMS message.

Request body

OR
OR
OR
OR

Example request

{
  "identity": {
    "endpoint": "+11235551234"
  },
  "method": "sms"
}

Response

A success response, or an Error.

OR
OR
OR
OR

Example response

{
  "id": "1234567890",
  "method": "sms",
  "_links": [
    {
      "rel": "status",
      "method": "GET"
    }
  ],
  "sms": {
    "template": "Your verification code is {{CODE}}",
    "interceptionTimeout": 32
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.