Tickets API
Read support tickets and their message threads over the REST API.
Read tickets and their threads for reporting, syncing to a data warehouse, or building a custom view. These endpoints are read-only. Create tickets, reply, and add notes through the app or the MCP server.
Note:
Requires theticket.viewpermission (a team API key created by an admin or member) and theread:chatscope.
List tickets
GET /api/v1/ticketsQuery param | Type | Description |
|---|---|---|
|
| Filter by ticket type |
|
| Filter by internal status category |
|
| Filter by customer-facing stage |
| string | Filter to a requester (principal TypeID) |
| string | Filter to a company (company TypeID) |
|
| Sort order (default |
| number | Max results, 1-100 (default 20) |
curl "https://your-domain/api/v1/tickets?statusCategory=open&type=customer" \
-H "Authorization: Bearer qb_your_api_key"Note:
A service (API key) actor sees every ticket in the workspace: there's no board-style narrowing for tickets.
Get a ticket
GET /api/v1/tickets/:ticketIdcurl https://your-domain/api/v1/tickets/ticket_01h455vb4pex5vsknk084sn02q \
-H "Authorization: Bearer qb_your_api_key"Ticket fields
Field | Description |
|---|---|
| Ticket TypeID, sequential number, and display reference |
|
|
| Short summary |
| Human status name and its category ( |
| Customer-facing stage slot |
|
|
| Requester principal TypeID, or |
| Assigned agent and/or team |
| Associated company, or |
| Lifecycle timestamps |
| Standard timestamps |
| Number of times the ticket was reopened |
Get a ticket's messages
GET /api/v1/tickets/:ticketId/messagesThe thread is returned oldest-first. Internal notes are excluded unless includeInternal=true.
Query param | Type | Description |
|---|---|---|
| string | Message ID cursor from a previous response, for scrollback |
| boolean | Include internal teammate notes (default |
curl "https://your-domain/api/v1/tickets/ticket_01h455vb4pex5vsknk084sn02q/messages?includeInternal=true" \
-H "Authorization: Bearer qb_your_api_key"Message fields
Field | Description |
|---|---|
| Message and parent ticket TypeIDs |
|
|
| Whether it's a teammate-only note |
| Author identity, or |
| Rendered Markdown |
| Rich-text document, or |
| Array of |
| Timestamp |
Tip:
To open a ticket, reply, or add a note, usecreate_ticket/reply_to_ticket/add_ticket_noteon the MCP server. There's no write path on the REST API yet.
Next steps
- API Overview: Authentication, pagination, and errors
- MCP Server: Ticket tools for AI agents
- Webhooks: Push notifications for ticket events
Was this helpful?
Your feedback shapes what we write next.