Retrieve paginated messages for an agent session.
Supports cursor-based pagination using before_id or after_id (mutually exclusive). Messages are returned in chronological order.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Maximum number of messages to return.
1 <= x <= 200Return messages created strictly before this message id.
Return messages created strictly after this message id.
Successful Response
Paginated response for session messages.
Returns ALL messages for the session regardless of delivery state. Messages include delivered_at and canceled_at fields so the frontend can filter/display based on message state: