Get chat messages

GET /data/entities/{entity_id}/chat/messages

Retrieve all chat messages for a specific entity. Returns a list of messages with sender information and timestamps.

Path parameters

  • entity_id Required

    ID of the entity related to the chat

Responses

  • 200 application/json

    Chat messages successfully retrieved

    Hide response attributes Show response attributes object
    • id string(uuid)

      Message unique identifier

    • message string

      Message content

    • person_id string(uuid)

      ID of the message sender

    • created_at string(date-time)

      Message creation timestamp

    • attachments array[object]

      Array of file attachments

GET /data/entities/{entity_id}/chat/messages
curl \
 --request GET 'http://api.example.com/data/entities/a24a6ea4-ce75-4665-a070-57453082c25/chat/messages' \
 --header "Authorization: $API_KEY"
Response examples (200)
[
  {
    "id": "string",
    "message": "string",
    "person_id": "string",
    "created_at": "2025-05-04T09:42:00Z",
    "attachments": [
      {}
    ]
  }
]