v1

latestOpenAPI 3.1.02026-07-14330101.9 KB

All Chat

The All Chat endpoint allows users to retrieve a complete list of all chats that have occurred within their WhatsApp channel. This endpoint provides an overview of the chat history, including details about each chat session. The response typically includes metadata such as chat IDs, contact information, and timestamps of recent activity. This functionality is essential for applications that need to display or manage the entire chat history, enabling developers to integrate chat retrieval features seamlessly into their platforms. It provides a foundational view of all ongoing and past conversations within the channel.

get/chat

Query parameters

limitstring required

Limit of the chat to display

offsetstring required

Offset chat to display

Response

200

successboolean
messagestring

Example response

{
  "success": true,
  "message": "OK",
  "data": [
    {
      "id": "6281357541790@c.us",
      "type": "user",
      "metadata": {
        "contact_id": "6281357541790@c.us",
        "phone_number": "+62 813-5754-1790"
      },
      "timestamp": {
        "conversation": 1725972581
      }
    }
  ]
}