---
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}`

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

---

[API](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation.md) · [All operations](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elevenlabs/elevenlabs-api-documentation/revisions/b96b80bcbb83/schema)
