Verifications report

Report a verification using Identity

Report the received verification code to verify it, using the identity of the user (in most cases, the phone number). For an SMS verification or Phone Call verification, this is the OTP code. For FlashCall, this is the CLI.

put/verification/v1/verifications/number/{endpoint}

Request

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

Request body

OR
OR
OR

Example request

{
  "method": "sms",
  "sms": {
    "code": "123"
  }
}

Response

A success response, or an Error.

OR
OR
OR

Example response

{
  "id": "1234567890",
  "method": "sms",
  "status": "PENDING",
  "reason": "Expired"
}

Changes

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