API referenceWhatsapp accounts
A new proxy, country or ip: the number reconnects through it once its exit IP checks out. A number held by its proxy is let go.
X-API-KEY<token>
Your API key from the console (gw_live_…).
In: header
Path Parameters
id*string
A WhatsApp account id (wa_…).
Match
^wa_[A-Za-z0-9_-]{8,64}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/whatsapp/api/v1/accounts/wa_Xk2pQ9rT4vW8yZ1a" \ -H "Content-Type: application/json" \ -d '{ "country": "BE" }'{ "object": "AccountPatched", "account_id": "wa_Xk2pQ9rT4vW8yZ1a"}