API referenceWhatsapp messages
This number's own message: deleted for everyone. Someone else's: deleted for this number only.
X-API-KEY<token>
Your API key from the console (gw_live_…).
In: header
Path Parameters
id*string
A WhatsApp message id (wam_…), as listed in a chat's messages.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/whatsapp/api/v1/messages/wam_P7tR2wQ9zL4kN8vX"{ "object": "MessageDeleted"}Fetch older history for a chat GET
Asks the phone for older messages; they arrive later. Poll: `SYNC_STARTED`, `SYNC_RUNNING`, then `SYNC_DONE` once.
Download an attachment GET
The media, fetched from WhatsApp on demand (nothing is kept), served as a download of the type the message declares. `attachmentId` is `<message id>.0`. 422 over 32 MB.