Get paginated threads by customer ID
GET
/openapi/thread/bycontact/{customerId}
const url = 'https://open-api.replyco.com/openapi/thread/bycontact/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0?page=1&count=10';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://open-api.replyco.com/openapi/thread/bycontact/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0?page=1&count=10' \ --header 'Authorization: Bearer <token>'Returns all tickets/threads associated with a specific customer. Results are ordered by creation date (newest first).
Pagination limits:
- Minimum page: 1
- Maximum items per page: 100
- Default items per page: 50
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”customerId
required
string format: uuid
Customer ID to filter threads by
Query Parameters
Section titled “Query Parameters”page
integer format: int32
Page number (default: 1, min: 1)
count
integer format: int32
Items per page (default: 50, min: 1, max: 100)
Responses
Section titled “Responses”Returns the paginated thread list
Invalid pagination parameters
User is not authenticated or authorized
Customer with the specified ID was not found