Skip to main content

Get the lead capture prompt

GET 

/v1/agents/:agentId/lead-capture

x-scope: "leads:read"

The instruction the agent's built-in Capture Lead tool follows: when a conversation holds a lead, and what the AI writes in the lead's summary. It is the same text your team edits under Clients → ⋮ → AI Instructions in the dashboard. Only the prompt: the tool's other settings stay in the dashboard. It is returned whether the tool is switched on or off. An agent without the tool is 404 lead_capture_not_found.

Request​

Responses​

The prompt.

Response Headers
    X-Correlation-ID

    Correlation id for this request — paste into support tickets.