List sales-agent leads (metadata only)
GET/api/v1/chatbots/:chatbotId/sales-agent/leads
Lists a chatbot's captured sales-agent leads over the requested window. Returns METADATA ONLY — disposition, handoff status, country code, timestamps, coarse attribution, and disposition/country aggregates. NO decrypted PII (name/email/phone/custom capture fields, city, region, IP) is exposed by this list. Owner/admin gated (mirrors the dashboard leads view — CRM-sensitive disposition labels are not readable by domain-grant viewers). Required scope: analytics:read.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
Lead metadata list + disposition/country aggregates for the chatbot.
Bad Request — invalid input
Unauthorized — missing or invalid API key
Forbidden — key lacks required scope
Not Found
Too Many Requests — rate limit exceeded