انتقل إلى المحتوى الرئيسي

Update the ticket capture prompt or setting

PATCH 

/v1/agents/:agentId/ticket-capture

x-scope: "tickets:write"

Replaces the prompt, the disable_ai_on_ticket setting, or both; a field you leave out keeps its value, and sending neither is 422 no_settings. The AI follows a new prompt on its next replies, usually within a minute; a new setting applies to the next ticket the AI opens. Sending what the agent already has changes nothing. With disable_ai_on_ticket on, each new ticket the AI opens switches that conversation's AI off before the AI's reply goes out; the reply then tells the customer a teammate will continue, and the conversation's AI log records the switch with the ticket number as the reason. A ticket that was already open, or one your team opens, leaves the AI as it is. Only prompt and disable_ai_on_ticket are taken: the tool's switch can't be sent, and other fields are ignored. Both can be changed while the tool is switched off, but the AI opens no tickets until someone switches it back on in the dashboard. An agent without the tool is 404 ticket_capture_not_found.

Request​

Responses​

The prompt and the setting as they now are.

Response Headers
    X-Correlation-ID

    Correlation id for this request — paste into support tickets.