admin-leads

Get Lead Stats

Accurate headline counts for the Leads page, computed at the DB level (not capped by the paginated /leads/all list).

  • total: all leads
  • by_stage: count of leads per stage (includes Active, Lost, etc.)
  • won: distinct leads that have a bound policy (the true "Won")
get/api/admin/leads/stats

Response

Successful Response

{"stackTrail":"paths:/api/admin/leads/stats:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes