Hosted Numbers

Create hosted number verification codes

Changed on

Create verification codes to validate numbers of the hosted order. The verification codes will be sent to the numbers of the hosted order.

post/messaging_hosted_number_orders/{id}/verification_codes

Request

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

Path parameters

idstring required

Order ID to have a verification code created.

Request body

phone_numbersstring[] required
verification_method'sms' | 'call' required

Response

Verification codes created and sent to the phone numbers of the hosted order.

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