Skip to main content
The Ticketing API provides access to tickets and the resources that support ticket handling across Text. Use this page to find the relevant resource and understand behavior shared across the reference.

Before you start

For access requirements, see Authorization.

Ticketing resources

For a broader comparison, see Messaging APIs.

Ticket silos

Tickets are stored in silos according to their state. Only the tickets silo allows writes. List tickets returns the tickets silo by default. Set the silo parameter to list tickets from another silo. To change where a ticket is stored, use Move ticket to silo.

Ticket attachments

Attachments are uploaded through a transaction before you create or update a ticket, agent signature, template logo, or canned response.
1

Create a transaction

Use Create transaction for the target resource. Provide its ID when it already exists. When creating a ticket, template, or canned response, omit the entity ID; the generated transaction ID determines the ID of the new resource.
2

Upload the files

Use Upload attachment with the transaction ID. You can upload multiple files in one request.
3

Use the transaction

Pass the transaction ID when you create or update the target resource. The transaction is consumed by that request.
Unused transactions and their uploaded attachments are removed after 24 hours. Attachments copied from another resource are not removed with an unused transaction.

Date and time ranges

Date and time ranges in the Ticketing API are half-open: [from, to). The range includes its from value and excludes its to value. Filters that accept dates can use absolute timestamps or relative values. Relative values use a sign (+ or -), a number, and a unit: n for minutes, h for hours, d for days, and m for months. Lowercase units are relative to the current time. Uppercase units refer to the start of the corresponding current period.

User-Agent header

Include the User-Agent header in API requests. Requests without it might be blocked by intermediary services.