Skip to main content
GET
/
:projectId
/
api
/
v7
/
conversations
List Conversations
curl --request GET \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/conversations
{
  "conversations": [
    {
      "unreadCount": 123,
      "memberCount": 123,
      "lastMessageId": {},
      "lastMessagePreview": {},
      "lastMessageCreatedAt": {},
      "lastMessageUserId": {}
    }
  ],
  "hasMore": true
}
Returns a cursor-paginated list of ConversationPreview objects for the authenticated user. Only active memberships are included. Results are ordered by lastMessageAt descending (conversations with no messages appear last, ordered by createdAt).

Query Parameters

types
string
Comma-separated list of conversation types to include. Valid values: direct, group, space. If omitted, all types are returned. Example: types=direct,group
cursor
string
The lastMessageAt timestamp of the last item in the previous page. Used for cursor pagination. Omit for the first page.
cursorCreatedAt
string
The createdAt timestamp of the last item in the previous page. Required together with cursor when paginating.
limit
number
Number of conversations to return per page. Defaults to 20. Maximum 50.

Response

conversations
ConversationPreview[]
Array of conversation preview objects. Each item is a Conversation extended with the following fields:
hasMore
boolean
Whether more conversations exist beyond this page.