List helpdesk tickets
curl --request GET \ --url 'https://example.com/api/v1/tickets?assignment=assigned&replied=waiting&clientNotifications=enabled&priority=NONE&source=PORTAL&page=1&perPage=50&sort=newest' \ --header 'Authorization: Bearer <token>'Lists client tickets (client-visible tasks filed from the portal) for the agent queue, sorted by recent activity by default. Filterable by ticket status, assignee or assignment, client, order, priority, source (channel), message author, reply state, rating, tag, client notifications, created/updated/closed/waiting-since windows, and a search over subjects, ticket codes, who asked (client person, company, or lead) and message bodies (internal notes match only for a caller holding tickets.manage). Each row says whether the caller has unread activity on it; internal notes count as activity only for a caller holding tickets.manage. Requires the tickets.view permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”assigned keeps tickets with at least one assignee, unassigned those with none.
assigned keeps tickets with at least one assignee, unassigned those with none.
Keeps tickets holding a message written by this member. Internal notes count only for a caller holding tickets.manage.
Keeps tickets holding a message written by this member. Internal notes count only for a caller holding tickets.manage.
waiting keeps tickets no agent has answered yet, replied the rest.
waiting keeps tickets no agent has answered yet, replied the rest.
Keeps tickets the client rated with this score.
Keeps tickets the client rated with this score.
Keeps tickets carrying this ticket tag.
Keeps tickets carrying this ticket tag.
Whether the client still receives emails about the ticket.
Whether the client still receives emails about the ticket.
Created at or after this moment.
Created at or after this moment.
Created at or before this moment.
Created at or before this moment.
Updated at or after this moment.
Updated at or after this moment.
Updated at or before this moment.
Updated at or before this moment.
Closed at or after this moment.
Closed at or after this moment.
Closed at or before this moment.
Closed at or before this moment.
Client waiting on the team since this moment or later.
Client waiting on the team since this moment or later.
Client waiting on the team since this moment or earlier.
Client waiting on the team since this moment or earlier.
Keeps the tickets this client person (a client member id) opened: the ones they created, or whose first message from a client person is theirs.
Keeps the tickets this client person (a client member id) opened: the ones they created, or whose first message from a client person is theirs.
Filter by the order this ticket is linked to.
Filter by the order this ticket is linked to.
Narrows the list as a company’s Tickets tab does. A project id keeps the tickets whose work tasks live in that project plus its company’s General tickets (no work task yet), and never another company’s; a project out of the caller’s reach answers 404. general keeps only the General tickets of the company in clientId, which is then required: without exactly one clientId, or for a project that belongs to no company, the answer is 422.
Narrows the list as a company’s Tickets tab does. A project id keeps the tickets whose work tasks live in that project plus its company’s General tickets (no work task yet), and never another company’s; a project out of the caller’s reach answers 404. general keeps only the General tickets of the company in clientId, which is then required: without exactly one clientId, or for a project that belongs to no company, the answer is 422.
Keeps tickets that came in through this channel.
Keeps tickets that came in through this channel.
Case-insensitive search in ticket subjects, ticket codes, who asked (client person, company, lead name and email, or the phone that texted it) and message bodies. Every word must match, up to the first 16 words; a message body matches when it holds every word of three or more letters, common English and Spanish words such as the or para aside. Results rank by where they match (ticket code, then subject or company name, then requester, then message bodies) and follow sort within a rank. Internal notes match only for a caller holding tickets.manage.
Case-insensitive search in ticket subjects, ticket codes, who asked (client person, company, lead name and email, or the phone that texted it) and message bodies. Every word must match, up to the first 16 words; a message body matches when it holds every word of three or more letters, common English and Spanish words such as the or para aside. Results rank by where they match (ticket code, then subject or company name, then requester, then message bodies) and follow sort within a rank. Internal notes match only for a caller holding tickets.manage.
recent-activity orders by the latest update (newest first) and oldest-activity by the same date, oldest first; last-message orders by the latest client-facing message (newest first) and oldest-message oldest first; priority-high puts urgent first and priority-low last; status and status-desc follow the workspace’s status order; code and code-desc order by ticket code, tickets without one last.
recent-activity orders by the latest update (newest first) and oldest-activity by the same date, oldest first; last-message orders by the latest client-facing message (newest first) and oldest-message oldest first; priority-high puts urgent first and priority-low last; status and status-desc follow the workspace’s status order; code and code-desc order by ticket code, tickets without one last.
Responses
Section titled “Responses”Paginated list of tickets.
object
A client ticket row in the agent queue.
object
object
False when the client no longer receives emails about this ticket.
Short code people quote to name the ticket, e.g. 9W03V9.
True while the ticket has no work task in any project, so it sits in its company’s General section, as the company’s Tickets tab marks it. Returned by the list only; absent on an older server.
Whether the ticket holds a message that someone other than the caller wrote after the caller last opened it. Internal notes count only for a caller holding tickets.manage.
Captured sender email for a lead ticket (no client match). Null once matched.
Captured sender name for a lead ticket (no client match). Null once matched.
Client-visible (non-internal, non-deleted) message count.
Workspace-scoped sequential ticket number.
E.164 phone of a ticket opened by an incoming text, or the requester’s phone once the team texted them from the ticket: its texts land on this ticket while it is open. Who asked when no contact has that number.
Where the ticket originated from: the client portal, inbound email, the REST API/MCP surface, an in-app agent, or an incoming text (SMS).
A workspace-defined helpdesk ticket status.
object
SLA-relevant grouping. WAITING_ON_CLIENT pauses the SLA clock (see the SLA settings); every other category runs it.
Entering this status closes the ticket (sets closedAt).
Ticket tags from the workspace’s ticket tag catalog.
object
How many internal work tasks are linked to the ticket (see POST /tickets/{id}/promote).
Pagination metadata for list responses.
object
Example
{ "data": [ { "priority": "NONE", "source": "PORTAL", "status": { "category": "OPEN" } } ]}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Not found.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Invalid input.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC