Count contacts matching a filter without returning the full data. Use all: true to count every contact in the team, or pass an explicit list of contact UUIDs in ids (with all: false) to count a specific subset.
Security
bearerAuth
POST
curl -i -X POST \
https://leadgen.grinfi.io/leads/api/leads/count \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"all": true
}'