simpla.fydocs

Get paginated conversations (optimized for infinite scroll)

GET
/api/chat-sessions/conversations
AuthorizationBearer <token>

In: header

Query Parameters

page?number

Page number (1-indexed, default: 1)

Default1
limit?number

Items per page (max 50, default: 10)

Default10
search?string

Search conversations by title

status?string

Filter by status

Value in"active" | "archived" | "closed"

Response Body

application/json

curl -X GET "https://example.com/api/chat-sessions/conversations"
{
  "data": [
    []
  ],
  "page": 1,
  "limit": 10,
  "total": 100,
  "hasNext": true,
  "nextCursor": "conversation-id-at-end-of-page"
}