Get Team Coverage
GET/api/crm/team/coverage
Get the team's customers counted by grade and visit coverage status, plus the graded customers never visited.
customers:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Authentication: Requires Bearer token with the customers scope and the crm_activities.view_team permission (the reps of the sales rep groups you manage) or crm_activities.view_all (every active rep). A group you may not see returns 404.
Query parameters: group_id, rep_ids[] (optional).
A customer is on the team when its default sales rep is. Statuses: on_track (next visit due more than 7 days from today), due_soon (due within 7 days), overdue (due date passed), planned (a planned visit lands on or before the due date; replaces due soon / overdue) and not_scheduled (no grade or visit frequency, or excluded from visit planning). matrix has one row per grade (A, B, C, unclassified). never_visited lists up to 200 graded customers with no completed visit; never_visited_count is the full count.
Request
Responses
- 200
- 401
- 403
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.