Insights
List coverage gap employees
GET
/v1/insights/coverage-gaps/employeesReturns the people behind uncoveredCount in Get coverage gaps: employees who have the date, but whom no program reaches on that occasion.
Needs a key with the reward:read scope.
Query parameters
occasionstringWhich coverage to list.
limitinteger1 to 100 · Default 50How many to return, up to 100.
cursorstringThe
nextCursorfrom the previous page. Leave it out to start from the beginning.
Response
200: One page of employees.
dataarray of objectsEmployees with this date that no program reaches, ordered by ID.
nextCursorstring or nullPass this as
cursorto get the next page.nullon the last page. Treat it as opaque.
Errors
400API_QUERY_INVALID: A query parameter, or an ID in the path, is unknown or not in the right form.401API_KEY_INVALID: The key is missing, wrong, expired or revoked.403API_KEY_SCOPE_MISSING: The key is valid but wasn't given the scope this endpoint needs.PLAN_UPGRADE_REQUIRED: Your plan doesn't include the API.COMPANY_CLOSED: Your company has closed its Teambrite account.429API_KEY_RATE_LIMITED: The key is over 600 requests a minute.COMPANY_RATE_LIMITED: Your company is over its limit of 120 read requests a minute.