Hosted Numbers

Validate hosted number codes

Changed on

Validate the verification codes sent to the numbers of the hosted order. The verification codes must be created in the verification codes endpoint.

post/messaging_hosted_number_orders/{id}/validation_codes

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/messaging_hosted_number_orders/{id}/validation_codes
  • Auth: HTTP bearer

Path parameters

idstring required

Order ID related to the validation codes.

Request body

Response

Successful response with the phone numbers and their respective status of the validation codes.

Changes

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      the / response's property type changed from object to no type 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 body type changed from no type to object for status

    • breaking

      the / response's property type changed from no type to object 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 format changed from json-pointer to no format for status