Lead
Leads by category
POST
Lead count per status, stage, owner, source, label, type, country or created date, over the whole filtered set.
Required scopes: deals:read. Read only.
bearerAuthheader
AuthorizationBearer <token>An API key (flito_pat_…) from Settings, API & AI connections.
application/json- body
input*The capability ran.
application/json- response
result*unknownThe capability’s output.
commitId?|The config commit, for versioned records.
eventId?string|nullidempotentReplay?booleanTrue when this answer is a replay of an earlier call.
curl -X POST 'https://crm.yourcompany.com/api/cap/lead.group_by' \ -H 'Content-Type: application/json' \ -d '{ "input": { "field": "status" }}'Example Response
{ "result": null, "commitId": "string", "eventId": "string", "idempotentReplay": true}Was this page useful?