Read a conversation
Returns one conversation and its message count. Scope: conversations:read.
bearerAuthorizationBearer <mosc_...>A client key (mosc_).
id*integerThe conversation id.
0 < valueThe conversation.
application/json- response
A conversation read by id.
id*integercontactId*integerstatus*string"open""closed"channel*stringstartedAt*stringdate-timelastMessageAt*stringdate-timeclosedAt*|nullclosedReason*|idle, completed, opt_out, or manual. null while open.
startedBy*string"inbound""outbound"messageCount*integerclientId*stringThe client that owns the conversation. The list does not include it.
Example request
curl 'https://api.messageos.ai/v1/conversations/42' \ -H 'Authorization: Bearer mosc_...'Example response
{ "id": 7, "contactId": 42, "status": "open", "channel": "rcs", "startedAt": "2026-10-28T23:00:00.000Z", "lastMessageAt": "2026-10-28T23:00:00.000Z", "closedAt": "2026-10-28T23:00:00.000Z", "closedReason": null, "startedBy": "inbound", "messageCount": 6, "clientId": "example"}List conversations GET
Lists conversations in id order. Filter with contactId, status, and updatedSince. Each item includes its message count. Scope: conversations:read.
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.
