To list the chat messages for a concrete room you need to execute a GET request against the /rooms/:id/chat endpoint.

Use the session_id argument if you want to list messages written in a concrete session.

Since potentially there could be thousands of messages, pagination is supported with limit, order and after arguments. Read about pagination to learn the details of it. By default maximum 100 chat messages will be returned in the response.

Only public chat messages are retrievable. Private (1-to-1) chat is not persisted and cannot be retrieved through the API.


curl --request GET \
  --url \

Response (200 OK)

    "total_count": 6124,
    "data": [
            "id": "87664473-9064-4179-935e-ce78af687bef",
            "message": "Hello!",
            "participant_id": "77836281-486c-4d49-ba07-c66c87452256",
            "external_participant_id": "ABCDEF",
            "participant_name": "Cillian Doe",
            "created_at": "2024-03-13T14:10:22Z"
            "id": "eccf427e-9fa3-481d-912b-f35c15473a46",
            "message": "dfdsf",
            "participant_id": "722d9849-e94f-4cba-903a-9e8e61d8d861",
            "participant_name": "John Smith",
            "created_at": "2024-03-09T11:32:30Z"
        ...............98 more chat messages...............

The total_count is the total amount of chat messages in the room. It is NOT the amount of chat messages in the current page returned in the data array. In the above example you have 6124 messages in total, but in the data array there will be maximum 100 chat messages (the default limit argument value).

Last updated