v4

OpenAPI 3.1.02026-07-313621,3961.8 MB
Agents Platform

Update Whatsapp Account

Update a WhatsApp account

patch/v1/convai/whatsapp-accounts/{phone_number_id}

Path parameters

phone_number_idstring required

Headers

xi-api-keystring 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.

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

assigned_agent_idstring nullable
enable_messagingboolean nullable
enable_audio_message_responseboolean nullable
enable_typing_indicatorboolean nullable

Response

Successful Response

{"stackTrail":"paths:/v1/convai/whatsapp-accounts/{phone_number_id}:patch:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}