Whatsapp Phone Numbers

Enable or disable Whatsapp calling for a phone number

Changed on

Enables or disables WhatsApp calling for the specified phone number.

patch/v2/whatsapp/phone_numbers/{phone_number}/calling_settings

Request

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

Path parameters

phone_numberstring required

Phone number (E.164 format)

Request body

enabledboolean required

Response

Successful response with Whatsapp calling settings

Example response

{
  "data": {
    "record_type": "whatsapp_calling_settings"
  }
}

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