APIConversationsIdMessages
List messages in a conversation
GET
Messages are in the order they were written. An inbound message shows the words the person typed or the label they tapped, and its id is the inboundMessageId of its reply.received event, so it can be sent as inReplyTo. Chip labels are included. Provider identifiers are not. Scope: conversations:read.
bearerheader
AuthorizationBearer <mosc_...>A client key (mosc_).
id*integerThe conversation id.
Range
0 < valuelimit?integerPage size, 1 to 100. The default is 25.
Range
1 <= value <= 100cursor?stringnextCursor from the previous page.
A page of messages.
application/json- response
data*array<>nextCursor*|Pass it as cursor for the next page. null when this page was not full.
Example request
curl 'https://api.messageos.ai/v1/conversations/42/messages' \ -H 'Authorization: Bearer mosc_...'Example response
{ "data": [ { "id": 901, "direction": "inbound", "text": "Your appointment is Tuesday at 3:00 PM.", "kind": "text", "chips": [ { "label": "string" } ], "channel": "rcs", "status": "sent", "origin": "agent", "createdAt": "2026-10-28T23:00:00.000Z" } ], "nextCursor": "string"}