Skip to main content

Add a ticket field

POST 

/v1/agents/:agentId/ticket-fields

x-scope: "tickets:write"

Adds a custom field to the agent's ticket form, after its other custom fields, shown in the dashboard's table and form. The AI's Create Ticket tool starts collecting it in the background, usually within a minute: the label tells the AI what to ask for, and required makes it treat the field as needed before it opens a ticket. A reserved key is 422 invalid_request (see key); any other key the agent already has, built-in fields included, is 409 field_key_taken; an agent that already has 50 custom ticket fields is 422 ticket_field_limit_reached.

Request​

Responses​

The ticket field.

Response Headers
    X-Correlation-ID

    Correlation id for this request — paste into support tickets.