Messages
Get message status
GET
/messages/{messageId}Scope messages:sendReturns where a message has got to, with the time of each step. Works for templates sent through this API and for replies sent inside the 24-hour window, whether they came from the API, the inbox or a chatbot. Broadcast and drip messages are reported in the dashboard, not here.
If you would rather be told than ask, register a status webhook and the same changes are pushed to you.
Path parameters
messageIdstringrequiredThe
messageIda send returned (starts withwamid.).
Good to know
statusis one ofsent,delivered,readorfailed, and only moves forward. A read message also has adeliveredAt, even when WhatsApp skipped the delivered receipt.- No
readAtdoes not mean unread. WhatsApp only reports reads for people who have read receipts turned on. - On a failure,
error.codeis WhatsApp's code anderror.messageits reason.131026means the number is not on WhatsApp or has blocked you;131049means WhatsApp held back a marketing message. templateNameisnullfor a reply, andtypesays what kind it was (text,interactive,imageand so on).toisnullfor a reply sent from the inbox or a chatbot rather than over the API.
Errors
| Status | Code | When |
|---|---|---|
| 404 | NOT_FOUND | No message with that id was sent from your workspace through the API or as a reply. Received messages are not looked up here. |
Plus the errors any endpoint can return, such as a missing key or scope. See Errors.
Request
# macOS, Linux or Git Bash, with WAMAFY_API_KEY set. The quoting does not work in Windows cmd or PowerShell.
curl "https://api.wamafy.com/api/v1/public/messages/wamid.HBgMOTE5ODc2NTQzMjEwFQIAERgSQzU" \
-H "Authorization: Bearer $WAMAFY_API_KEY"Response 200
{
"success": true,
"data": {
"messageId": "wamid.HBgMOTE5ODc2NTQzMjEwFQIAERgSQzU",
"to": "919876543210",
"type": "template",
"templateName": "order_update",
"status": "read",
"sentAt": "2026-10-07T10:00:00.000Z",
"deliveredAt": "2026-10-07T10:00:02.000Z",
"readAt": "2026-10-07T10:03:41.000Z",
"failedAt": null,
"clickedAt": null,
"error": null
}
}Base URL https://api.wamafy.com/api/v1/public