MessageOS
APIConversations

List conversations

GET
/conversations

Lists conversations in id order. Filter with contactId, status, and updatedSince. Each item includes its message count. Scope: conversations:read.

Authorization

bearer
headerAuthorizationBearer <mosc_...>

A client key (mosc_).

Query Parameters

contactId?integer

Only conversations with this contact.

Range1 <= value <= 2147483647
status?string
Value in"open""closed"
limit?integer

Page size, 1 to 100. The default is 25.

Range1 <= value <= 100
cursor?string

nextCursor from the previous page.

updatedSince?string

Only conversations with a message at or after this time.

Formatdate-time

Response Body

A page of conversations.

application/json
  1. 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"}