Whatsapp Phone Numbers

Initialize Whatsapp phone number verification

Changed on

Starts verification of a phone number for the specified WhatsApp Business Account using the requested verification method.

post/v2/whatsapp/business_accounts/{id}/phone_numbers

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/v2/whatsapp/business_accounts/{id}/phone_numbers
  • Auth: HTTP bearer

Path parameters

idstring required

Whatsapp Business Account ID

Request body

phone_numberstring required
display_namestring required
verification_method'sms' | 'voice'
languagestring

Response

Verification initiated

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