Get message history for a session
GET/api/sessions/:sessionId/messages
Get message history for a session
Request
Responses
- 200
- 400
- 401
- 403
Message history
Invalid message filters or an unknown cursor. With time, direction, type or message-reference filters, the cursor must belong to the same selection.
The API key is missing, unknown, revoked, or expired
The API key is restricted to selected chats and either sent no chatId or named a chat outside its allowlist. Also returned when the API key's role, session or chat scope, or IP allow-list does not allow this operation.