Whatsapp accounts
Authorization
bearerAuth AuthorizationBearer <token>
An API key created on the Access tokens page.
In: header
Path Parameters
id*string
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/whatsapp-accounts/string/resume"{ "data": { "id": "string", "label": "string", "phoneNumber": "string", "name": "string", "picture": "string", "isBusiness": true, "connectedVia": "app", "status": "pending", "connection": "connected", "error": "string", "errorCode": "string", "paused": true, "pausedReason": "string", "pausedAt": "2019-08-24T14:15:22Z", "connectedAt": "2019-08-24T14:15:22Z", "linkedAt": "2019-08-24T14:15:22Z", "limits": { "newChats": 0, "followUps": 0, "checks": 0 }, "limitsToday": { "newChats": 0, "followUps": 0, "checks": 0 }, "usage": {}, "warmup": { "enabled": true, "status": "off", "start": 0, "step": 0, "everyDays": 0, "day": 0, "newChatsToday": 0, "target": 0, "quietUntil": "2019-08-24T14:15:22Z", "fullSpeedAt": "2019-08-24T14:15:22Z" }, "newChatQuota": { "total": 0, "used": 0, "status": "NONE", "cycleEndsAt": "2019-08-24T14:15:22Z" }, "newChatsPausedUntil": "2019-08-24T14:15:22Z", "restriction": { "active": true, "endsAt": "2019-08-24T14:15:22Z", "type": "string" }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}Remove a WhatsApp number DELETE
Unlink the number: its device leaves the phone, its chats leave the inbox, and it leaves every campaign pool (leads it never wrote to move to the remaining numbers).
Change a number's name, caps or warm-up PATCH
Only the fields given are written. A value out of range is refused with `400` and the reason, never clamped.