List all messages by conversation ID
Retrieves a paginated list of messages for a specific conversation within a company. Supports sorting by created_at, pagination options, and optional created_before / created_after filters.
Authorizations
Authentication token required for accessing protected endpoints. The token should be obtained from the main SalesCaptain authentication service.
Path Parameters
Unique identifier for the company
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Unique identifier for the conversation
"b2c3d4e5-f6a7-8901-bcde-f12345678901"
Query Parameters
Page number for pagination (must be a positive integer)
x >= 11
Number of items per page (10-100, default 10)
10 <= x <= 10010
Field to sort by
created_at "created_at"
Sort direction (default desc)
asc, desc "desc"
Return only messages created before this ISO date-time
"2026-03-15T23:59:59.000Z"
Return only messages created after this ISO date-time
"2026-03-01T00:00:00.000Z"

