Skip to main content

List the agent's ticket fields

GET 

/v1/agents/:agentId/ticket-fields

x-scope: "tickets:read"

The agent's ticket form in display order. The field keyed status lists the agent's ticket statuses as its options: one with final: true is a closing status, which resolves a ticket (sets resolved_at), and new, where every ticket starts, can't be removed. If the list has no status field, or that field has no options, the agent uses new, in_progress, waiting_customer, resolved and cancelled. priority lists normal and urgent. Fields with built_in: false are the ones your team added; their keys are what custom_fields is for, and createTicketField, updateTicketField and deleteTicketField change them. Of the built-in fields, which the API can't change, description, category, priority and status are the ticket's writable properties, assigned_to is set with assignTicket, number, created_at and resolved_at are read-only, and notes is the contact's timeline (listContactNotes). A value written to a number, currency, boolean, date, datetime or timestamp field must fit that type (422 invalid_request); keys, options and required are not checked, so validate those before you write.

Request​

Responses​

Every ticket field.

Response Headers
    X-Correlation-ID

    Correlation id for this request — paste into support tickets.