Pipeline totals and win rate
GET
https://server.heyrik.com/api/v1/leads/summaryHeaders
AuthorizationstringRequiredUse Bearer $HEYRIK_API_KEY with an account-scoped API key. Keep the key on your server.
GET/leads/summary
curl https://server.heyrik.com/api/v1/leads/summary \
-H "Authorization: Bearer $HEYRIK_API_KEY"Response example
{
"data": {
"total": 428,
"by_stage": { "new": 120, "qualified": 88, "won": 41 },
"won": 41,
"win_rate": 0.096,
"total_value_cents": 4820000,
"open_value_cents": 3110000
}
}Illustrative examples · No live request is sent