Get paginated list of chats with filtering
const url = 'https://open-api.replyco.com/openapi/chat/paged';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json-patch+json'}, body: '{ "page": 1, "count": 25 }'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://open-api.replyco.com/openapi/chat/paged \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json-patch+json' \ --data '{ "page": 1, "count": 25 }'Returns a filtered and paginated list of live chat conversations.
Available filters:
- Status (Open, Closed, etc.)
- Date range
- Assigned user
- Customer
- Search term
Sample request:
POST /chat/paged
{
"page": 1,
"count": 50,
"status": "Open",
"searchTerm": "payment issue"
}
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”Filter criteria for chats including pagination and search options
object
List of account/integration IDs to filter chats by. If empty or null, chats from all accounts are included
List of user IDs to filter chats by assigned users. If empty or null, chats assigned to all users are included
Field name to sort results by. If null, default sorting is applied
Example
{ "page": 1, "count": 25}object
List of account/integration IDs to filter chats by. If empty or null, chats from all accounts are included
List of user IDs to filter chats by assigned users. If empty or null, chats assigned to all users are included
Field name to sort results by. If null, default sorting is applied
object
List of account/integration IDs to filter chats by. If empty or null, chats from all accounts are included
List of user IDs to filter chats by assigned users. If empty or null, chats assigned to all users are included
Field name to sort results by. If null, default sorting is applied
object
List of account/integration IDs to filter chats by. If empty or null, chats from all accounts are included
List of user IDs to filter chats by assigned users. If empty or null, chats assigned to all users are included
Field name to sort results by. If null, default sorting is applied
Responses
Section titled “Responses”Returns the paginated chat list
object
object
object
Example
{ "totalRecords": 1, "pageSize": 25, "pagesCount": 1, "currentPage": 1, "data": [ { "id": "2e7f4a96-8b1c-4d3e-a5f7-9c2b6e4d1a83", "title": "Sam Taylor", "accountId": "e9a2c5d8-4b7f-4e1a-9c3d-6f8b2a5e1d74", "createdDate": "2026-10-21T08:40:00Z", "lastReceivedMessageDate": "2026-10-21T08:42:00Z", "customerId": "5c8a1e3f-7d2b-4f9c-8e6a-3b1d9f5c7e24" } ]}Invalid filter parameters
User is not authenticated or authorized