APIConversations
List conversations
GET
Lists conversations in id order. Filter with contactId, status, and updatedSince. Each item includes its message count. Scope: conversations:read.
bearerheader
AuthorizationBearer <mosc_...>A client key (mosc_).
contactId?integerOnly conversations with this contact.
Range
1 <= value <= 2147483647status?stringValue in
"open""closed"limit?integerPage size, 1 to 100. The default is 25.
Range
1 <= value <= 100cursor?stringnextCursor from the previous page.
updatedSince?stringOnly conversations with a message at or after this time.
Format
date-timeA page of conversations.
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' \ -H 'Authorization: Bearer mosc_...'Example response
{ "data": [ { "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 } ], "nextCursor": "string"}