Chats
Read conversations and reply to customers.
Access WhatsApp conversations, read message history, and reply to customers. Free-text replies work only within 24 hours of the customer’s last message (WhatsApp Business policy). Outside that window, use an approved template.
Free-text replies work only within 24 hours of the customer’s last message (WhatsApp policy).
Copy this section as context for your AI coding agent
curl -X GET 'https://api.chatverse.io/v1/whatsapp/chats?sort=recent&limit=20' \
-H 'Authorization: Bearer YOUR_API_KEY'Response · 200
json
{
"success": true,
"data": {
"contacts": [
{
"contact_number": "919876543210",
"total": 14,
"last_body": "Thanks!",
"last_direction": "inbound",
"contact_name": "Asha"
}
],
"stats": {
"messages": 120,
"contacts": 18,
"inbound": 50,
"outbound": 70,
"last_24h": 12
}
}
}curl -X GET 'https://api.chatverse.io/v1/whatsapp/chats/{number}/messages' \
-H 'Authorization: Bearer YOUR_API_KEY'Response · 200
json
{
"success": true,
"data": {
"contact": {
"number": "919876543210",
"contact_name": "Asha",
"reply_window_ends_at": "2026-10-27T08:55:00+00:00"
},
"messages": [
{
"id": "b7a1c2d3-…",
"direction": "inbound",
"message_type": "text",
"body": "Hi",
"status": "RECEIVED",
"created_at": "2026-10-26T08:55:00+00:00"
}
],
"has_more": false
}
}curl -X POST 'https://api.chatverse.io/v1/whatsapp/chats/{number}/reply' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"text": "Thanks! Your order is on the way."
}'Response · 200
json
{
"success": true,
"data": {
"message_id": "wamid.HBgMOTE5ODc2NTQzMjEwFQIAERgS"
}
}