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

Update the lead capture prompt

PATCH 

/v1/agents/:agentId/lead-capture

x-scope: "leads:write"

Replaces the prompt. The AI follows the new prompt on its next replies, usually within a minute; sending the prompt the agent already has changes nothing. Only prompt is taken: the tool's other settings can't be sent, and other fields are ignored. The prompt can be changed while the tool is switched off, but the AI saves no leads until someone switches it back on in the dashboard. An agent without the tool is 404 lead_capture_not_found.

Request​

Responses​

The prompt as it now is.

Response Headers
    X-Correlation-ID

    Correlation id for this request — paste into support tickets.