Sales Engine
API documentation
LeadsOperation leads.summary

Get lead counts

Lead counts by stage, email status and source.

GET/api/v1/leads/summary
Scope read: Read anything in the workspace.

Parameters

This call takes no parameters.

Example

curl
curl -X GET "https://crm.ashwanth.dev/api/v1/leads/summary" \
  -H "Authorization: Bearer $SALES_ENGINE_API_KEY"
CLI
sales-engine leads summary

Response

A 200 with the result under data, on creation too. Errors come back as an error object with a stable code; see Errors.

Shape
{
  "data": { ... }
}

Run it below to see the live shape for your workspace.

Try it

Runs against this server, as the workspace behind the key.
Kept in this page while you browse the docs, gone on reload, never stored. Signed in to the app? Leave it blank and the call runs as you.
Request
GET /api/v1/leads/summary

Also in Leads