Skip to main content

Get the ticket capture prompt and setting

GET 

/v1/agents/:agentId/ticket-capture

x-scope: "tickets:read"

The instruction the agent's built-in Create Ticket tool follows: when a conversation needs a ticket (a complaint, an issue or a refund request), and what the AI gathers first; and disable_ai_on_ticket, whether a new ticket switches the conversation's AI off so your team continues. Both are what your team edits under Tickets → ⋮ → AI Instructions in the dashboard. The tool's own switch stays in the dashboard. They are returned whether the tool is switched on or off. An agent without the tool is 404 ticket_capture_not_found.

Request​

Responses​

The prompt and the setting.

Response Headers
    X-Correlation-ID

    Correlation id for this request — paste into support tickets.