API referenceWhatsapp accounts
Reconnects an active number on its login. Not active: AccountFailedToRestart.
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}$Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/whatsapp/api/v1/accounts/wa_Xk2pQ9rT4vW8yZ1a/restart"{ "object": "AccountRestarted"}Pick a new IP POST
A number its connection holds, or one waiting for its next scan, moves to a new session in its country now (two checks 30 s apart). 400 on a number that is connected or held for another reason; 503 when no IP was found in its country right now, or the number uses its own proxy (fix it on the proxy side).
Resume a number POST
Back to where the pause found it, and reconnected when that was active. A no-op on a number not paused.