Get the count of leads for each filter category (all, accepted, requires attention). Useful for dashboard badges.
cURL
curl --request GET \ --url https://www.renovationfind.com/rest-api-v1/general-leads/filter-counts \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "allLeadsCount": 123, "acceptedLeadsCount": 123, "requiresAttentionLeadsCount": 123 } }
JWT token issued from the RenovationFind Manager Portal
Filter counts
true
Badge counts for each filter category
Show child attributes