v1

latestOpenAPI 3.1.02026-07-14330101.9 KB

Chat Details

The Chat Details endpoint enables users to access detailed information about a specific chat, including the messages contained within it. To use this endpoint, users must provide the contact_id, which can be obtained from the All Chat endpoint. This feature allows for in-depth examination of individual chat sessions, providing access to message history, timestamps, and other relevant details. It is particularly useful for customer support applications, message archiving, or any scenario where detailed chat content needs to be reviewed or analyzed. By integrating this endpoint, developers can offer users a comprehensive view of their chat interactions.

get/chat/detail

Query parameters

contact_idstring

Response

200

successboolean
messagestring

Example response

{
  "success": true,
  "message": "OK",
  "data": [
    {
      "message_id": "true_6281357541790@c.us_3EB01ED6B20DEC8250F28F",
      "from_me": true,
      "body": "[Your Company Name] *2686*",
      "status": "delivered",
      "timestamp": 1725383807
    }
  ]
}