Get filtered chat history (messages only) for a specific chat. Supports filtering by direction, date range, and message UID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
an id of the chat as appears in TimelinesAI (can be found in the URL of the chat page, or in the payload of outbound webhook). Supports sending messages to a group.
specify true to filter messages sent from my WhatsApp account (from any session), false to filter messages received from other WhatsApp users.
can specify date or datetime in ISO format to filter out messages created AFTER the specified date (inclusive)
can specify date or datetime in ISO format to filter out messages created BEFORE the specified date (inclusive)
can specify message uid to filter out messages created after the specified message (excluding the specified message itself)
can specify message uid to filter out messages created before the specified message (excluding the specified message itself)
order messages by timestamp, according to possible values: asc, desc
asc, desc