Whatsapp Business Accounts

Update WABA settings

Changed on

Updates the supplied account-level settings for the specified WhatsApp Business Account.

patch/v2/whatsapp/business_accounts/{id}/settings

Request

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

Path parameters

idstring required

Whatsapp Business Account ID

Request body

namestring
timezonestring

IANA timezone identifier

webhook_urlstring url

URL to send Whatsapp events

webhook_failover_urlstring url

Failover URL to send Whatsapp events

webhook_enabledboolean

Enable/disable receiving Whatsapp events

webhook_eventsstring[]

Example request

{
  "timezone": "America/New_York"
}

Response

Successful response with Whatsapp business account settings

Example response

{
  "data": {
    "record_type": "whatsapp_business_account_settings",
    "timezone": "America/Chicago"
  }
}

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