v1
latestOpenAPI 3.0.02026-07-2483164186.3 KBChat Messages
Get chat messages for a customer of WABA number
Retrieve chat messages sent by the specified WhatsApp Business Account (WABA) number, with optional date filtering.
get/chat-messages
Query parameters
wabaNumberstring required
Example:11234567890
The WhatsApp Business Account (WABA) number
customerNumberstring required
Example:911234567890
Customer's phone number
startDatestring
Example:01-01-2024
The start date for the chat messages (DD-MM-YYYY)
endDatestring
Example:31-12-2024
The end date for the chat messages (DD-MM-YYYY)
Response
Success
Example response
{
"success": true,
"messages": [
{
"messageId": "1234567890",
"sender": "19876543210",
"recipient": "919876543210",
"message": "Hello, how can I help you?",
"mediaUrl": "https://example.com/media/abc.jpg",
"timestamp": "2024-01-01T10:00:00Z",
"status": "delivered"
}
]
}