List tickets
Returns a paginated list of tickets, most recently active first. The response meta additionally
carries per-status, unassigned and snoozed totals.
query Parameters
searchFull-text search across the ticket subject and the subject and text of its mails, remarks and phone calls. Every word has to be found in the ticket subject, or all of them in one item.
status_idsOnly return tickets in these statuses. Accepts a comma-separated list of UUIDs.
company_idsOnly return tickets with a participant from these companies. Accepts a comma-separated list of UUIDs.
contact_idsOnly return tickets with these contacts as participant. Accepts a comma-separated list of UUIDs.
emailsOnly return tickets with these e-mail addresses as participant (exact address, case-insensitive). The organization's own sending addresses are no participants. Accepts a comma-separated list.
scopeRestrict the ticket scope: mine for tickets assigned to you, or employee-{uuid} for tickets assigned to that employee. Unassigned tickets are included in both.
groupReturn a single bucket of tickets: unassigned, snoozed or status-{uuid}.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List tickets › Responses
Array of TicketListResource
Create a ticket
Creates a new ticket. When created by a user (not an API token) that user is assigned to the ticket.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Create a ticket › Request Body
subjectSubject of the ticket.
status_idUUID of the ticket status to open the ticket in. Leave it out for the organization's default status.
Create a ticket › Responses
TicketResource
idsubjectpreviewlast_activity_atupdated_atcreated_atDelete tickets in bulk
Change the status of tickets in bulk
Moves every ticket whose UUID is listed in ids to the status status_id.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Change the status of tickets in bulk › Request Body
idsUUIDs of the tickets to update.
status_idUUID of the ticket status to move the tickets to.
Change the status of tickets in bulk › Responses
Get a ticket
Returns a single ticket by ID, together with the first page of its items (messages, notes and
activity) in a paginated items envelope.
path Parameters
ticketThe ticket UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Get a ticket › Responses
TicketResource
Update a ticket
Updates a ticket's subject or status. Only the fields present in the request are changed.
path Parameters
ticketThe ticket UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Update a ticket › Request Body
subjectSubject of the ticket.
status_idUUID of the ticket status.
Update a ticket › Responses
TicketResource
idsubjectpreviewlast_activity_atupdated_atcreated_atDelete a ticket
Deletes a ticket and all of its items.
path Parameters
ticketThe ticket UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Delete a ticket › Responses
TicketResource
idsubjectpreviewlast_activity_atupdated_atcreated_atSnooze a ticket
Snoozes or unsnoozes the ticket for the calling employee, who must be assigned to it. With
snoozed_type date the ticket reappears at snoozed_until. With next-activity it
reappears on the next activity.
path Parameters
ticketThe ticket UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Snooze a ticket › Request Body
is_snoozedWhether to snooze (true) or unsnooze (false) the ticket.
snoozed_typeWhen to resurface the ticket: next-activity or date. Required when snoozing.
snoozed_untilDate/time (Y-m-d H:i:s) to resurface the ticket. Required when snoozed_type is date.
Snooze a ticket › Responses
TicketResource
idsubjectpreviewlast_activity_atupdated_atcreated_atList merge suggestions
Returns up to ten other tickets that look like duplicates of this one and are candidates to merge it into.
path Parameters
ticketThe ticket UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List merge suggestions › Responses
Array of TicketMergeSuggestionResource
idsubjectlast_activity_atMerge a ticket
Merges this ticket into the target ticket (target_ticket_id) and returns the resulting target
ticket. The two tickets must be different.
path Parameters
ticketThe ticket UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Merge a ticket › Request Body
target_ticket_idUUID of the ticket to merge this ticket into.
Merge a ticket › Responses
TicketResource
idsubjectpreviewlast_activity_atupdated_atcreated_atAssign an employee
Assigns the employee (identified in the path) to the ticket.
path Parameters
ticketThe ticket UUID
employeeThe employee UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Assign an employee › Responses
TicketResource
idsubjectpreviewlast_activity_atupdated_atcreated_atUnassign an employee
Removes the employee (identified in the path) from the ticket.
path Parameters
ticketThe ticket UUID
employeeThe employee UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Unassign an employee › Responses
TicketResource
idsubjectpreviewlast_activity_atupdated_atcreated_atList participant e-mail addresses
Returns every e-mail address that takes part in a ticket once, most recently seen first. The
organization's own sending addresses are no participants. An address works as the email filter of
GET /tickets and GET /ticket-items.
query Parameters
searchFull-text search across the address and the name.
pagePage number of the paginated result set.
per_pageNumber of items per page. Defaults to the endpoint's own page size; capped at 500.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List participant e-mail addresses › Responses
Array of TicketParticipantEmailResource
Link a contact or company
Links a contact or company to the ticket by hand, for instance to a ticket that has no mails yet. The
participant has no address of its own (type and value empty): it counts for the company_id and
contact_id filters, and a new reply goes to the first e-mail address of the relation.
path Parameters
ticketThe ticket UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Link a contact or company › Request Body
contact_idUUID of the contact to link. Give this or company_id.
company_idUUID of the company to link. Give this or contact_id.
Link a contact or company › Responses
TicketResource
idsubjectpreviewlast_activity_atupdated_atcreated_atTake a participant out of the conversation
A participant that took part in no mail or call (seen_count 0), such as one from a draft or one linked
by hand, is deleted. Any other stays on the ticket and linked to its relation, but is no longer added to
a new reply (is_removed). It is put back on its own when it takes part in a mail or call again, or is
put on a draft.
path Parameters
ticketThe ticket UUID
participantThe participant UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Take a participant out of the conversation › Responses
TicketResource
idsubjectpreviewlast_activity_atupdated_atcreated_atPut a participant back in the conversation
Undoes taking a participant out (is_removed), so they are added to a new reply again. Answers with
the ticket.
path Parameters
ticketThe ticket UUID
participantThe participant UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Put a participant back in the conversation › Responses
TicketResource
idsubjectpreviewlast_activity_atupdated_atcreated_atList ticket items
Returns a paginated list of a ticket's items (messages, notes, remarks and activity) newest first.
path Parameters
ticketThe ticket UUID
query Parameters
pagePage number of the paginated result set.
per_pageNumber of items per page. Defaults to the endpoint's own page size; capped at 500.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List ticket items › Responses
Array of TicketItemResource
Search ticket items
Returns a paginated list of mails, remarks and phone calls across all tickets, newest first. Use it to
find the messages themselves; GET /tickets with search returns the tickets they belong to instead.
The text comes as plain text in content_text, the HTML of one ticket's items is at
GET /tickets/{ticket}/items.
query Parameters
searchFull-text search across the subject and text of the item. Every word has to be found. The text of a reply includes the mails it quotes.
emailsOnly return items with these e-mail addresses as sender or recipient (exact address, case-insensitive). Accepts a comma-separated list.
typesOnly return these types: mail, remark or phone-call. Accepts a comma-separated list. Defaults to all three.
directionOnly return inbound or outbound mails and calls.
ticket_idsOnly return items of these tickets. Accepts a comma-separated list of UUIDs.
pagePage number of the paginated result set.
per_pageNumber of items per page. Defaults to the endpoint's own page size; capped at 500.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Search ticket items › Responses
Array of TicketItemListResource
Add an internal remark
Adds an internal remark (note) to the ticket as a new ticket item, optionally with file attachments. Mentioned employees are notified and the ticket is unsnoozed.
path Parameters
ticketThe ticket UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Add an internal remark › Request Body
remarkThe remark as HTML, formatted like a mail body: a <p> per paragraph and an empty <p><br></p> between paragraphs. Mention an employee with <span class="quill-mention" data-employee-id="{uuid}" data-name="{name}">@{name}</span>: they are notified and, when the author has ticket.edit, assigned to the ticket.
file_idsUUIDs of uploaded files to attach to the remark.
Add an internal remark › Responses
TicketItemResource