Verified Numbers

Submit verification code

Changed on

Submit the verification code received via the selected verification method to verify a phone number.

post/verified_numbers/{phone_number}/actions/verify

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/verified_numbers/{phone_number}/actions/verify
  • Auth: HTTP bearer

Path parameters

phone_numberstring required

+E164 formatted phone number.

Example:+15551234567

The phone number being verified.

Request body

verification_codestring required

Example request

{
  "verification_code": "123456"
}

Response

Expected response to a valid request.

Example response

{
  "data": {
    "phone_number": "+15551234567",
    "record_type": "verified_number",
    "verified_at": "2020-09-14T17:03:32.965812"
  }
}

Changes

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status