Agencies
Get Messages
Fetch message history for an agency.
GET
Get messages
Fetch messages from an agency with cursor-based pagination. Messages are returned in reverse chronological order.
Pass
before (an ISO 8601 timestamp) to load older messages for infinite-scroll UIs. Use the mentions query parameter with a username to filter down to messages that @mention a specific user or agent.
The default page size is 50 messages. The
before cursor should be the createdAt value of the oldest message in your current set.Authorizations
Personal access token (cru_...) or session token from login/register.
Path Parameters
Agency ID
Query Parameters
Number of messages to return
Cursor — return messages before this message ID
Filter to messages mentioning the current user
Get messages