Get paginated list of tickets with advanced filtering
POST
/openapi/thread/ticketsforreading/paged
const url = 'https://open-api.replyco.com/openapi/thread/ticketsforreading/paged';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json-patch+json'}, body: '{ "page": 1, "count": 100, "users": [ "c4e8a1b2-5d6f-4a7b-8c9d-0e1f2a3b4c5d" ] }'};
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/thread/ticketsforreading/paged \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json-patch+json' \ --data '{ "page": 1, "count": 100, "users": [ "c4e8a1b2-5d6f-4a7b-8c9d-0e1f2a3b4c5d" ] }'Returns a paginated list of tickets/threads with support for complex filtering.
Available filters:
- Status (Open, Resolved, Snoozed, etc.)
- Assigned user
- Priority
- Date range (created, updated)
- Tags
- Customer
- Search term (searches in subject and messages)
Pagination:
- Default page size: 50
- Maximum page size: 100
Sample request:
POST /thread/ticketsForReading/paged
{
"page": 1,
"count": 50,
"status": ["Open", "Pending"],
"assignedUserId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"term": "order issue"
}
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”Filter settings for tickets including pagination, status, user, and search criteria
object
page
integer format: int32
count
integer format: int32
term
string
searchTerm
string
asc
boolean
sort
string
tab
integer format: int32
folderId
string format: uuid
searchUnassigned
boolean
searchAssignedToMe
boolean
searchNoLabel
boolean
searchNoAiCategory
boolean
marketplaces
Array<integer>
languages
Array<integer>
accounts
Array<string>
folders
Array<string>
aiCategories
Array<string>
users
Array<string>
startDate
string format: date-time
endDate
string format: date-time
filterTypes
Array<integer>
slaTypes
Array<integer>
customerId
string format: uuid
advancedSearch
Array<Array<object>>
Example
{ "page": 1, "count": 100, "users": [ "c4e8a1b2-5d6f-4a7b-8c9d-0e1f2a3b4c5d" ]}object
page
integer format: int32
count
integer format: int32
term
string
searchTerm
string
asc
boolean
sort
string
tab
integer format: int32
folderId
string format: uuid
searchUnassigned
boolean
searchAssignedToMe
boolean
searchNoLabel
boolean
searchNoAiCategory
boolean
marketplaces
Array<integer>
languages
Array<integer>
accounts
Array<string>
folders
Array<string>
aiCategories
Array<string>
users
Array<string>
startDate
string format: date-time
endDate
string format: date-time
filterTypes
Array<integer>
slaTypes
Array<integer>
customerId
string format: uuid
advancedSearch
Array<Array<object>>
object
page
integer format: int32
count
integer format: int32
term
string
searchTerm
string
asc
boolean
sort
string
tab
integer format: int32
folderId
string format: uuid
searchUnassigned
boolean
searchAssignedToMe
boolean
searchNoLabel
boolean
searchNoAiCategory
boolean
marketplaces
Array<integer>
languages
Array<integer>
accounts
Array<string>
folders
Array<string>
aiCategories
Array<string>
users
Array<string>
startDate
string format: date-time
endDate
string format: date-time
filterTypes
Array<integer>
slaTypes
Array<integer>
customerId
string format: uuid
advancedSearch
Array<Array<object>>
object
page
integer format: int32
count
integer format: int32
term
string
searchTerm
string
asc
boolean
sort
string
tab
integer format: int32
folderId
string format: uuid
searchUnassigned
boolean
searchAssignedToMe
boolean
searchNoLabel
boolean
searchNoAiCategory
boolean
marketplaces
Array<integer>
languages
Array<integer>
accounts
Array<string>
folders
Array<string>
aiCategories
Array<string>
users
Array<string>
startDate
string format: date-time
endDate
string format: date-time
filterTypes
Array<integer>
slaTypes
Array<integer>
customerId
string format: uuid
advancedSearch
Array<Array<object>>
Responses
Section titled “Responses”Returns the paginated ticket list
Invalid filter parameters (e.g., page size exceeds 100)
User is not authenticated or authorized