---
title: "Update Whatsapp Account"
method: PATCH
path: "/v1/convai/whatsapp-accounts/{phone_number_id}"
tags: ["Agents Platform"]
---

# Update Whatsapp Account

`PATCH /v1/convai/whatsapp-accounts/{phone_number_id}`

## Request

- Base URL: `https://api.elevenlabs.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.elevenlabs.io/v1/convai/whatsapp-accounts/{phone_number_id}`
- Auth: none declared

Update a WhatsApp account

## Path parameters

- `phone_number_id` string, required

## Headers

- `xi-api-key` string, nullable: Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

## Request body

- UpdateWhatsAppAccountRequest
  - `assigned_agent_id` string, nullable
  - `enable_messaging` boolean, nullable
  - `enable_audio_message_response` boolean, nullable
  - `enable_typing_indicator` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-07-26** `494d96419d15`: 1 info
  - added the new optional request property `enable_typing_indicator`
- **2026-04-03** `deb5e58ddddf`: 2 info
  - added the new optional request property `enable_audio_message_response`
  - added the new optional request property `enable_messaging`
- **2026-02-08** `5b595807512c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/changes/v1/convai/whatsapp-accounts/:phone_number_id/patch.md)

---

[API](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation.md) - [All operations](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/revisions/d04f5e77c40a?raw)
