Insights
Get program review
GET
/v1/insights/program-reviewChecks your programs for redundancy: pairs that would pay the same person twice for one occasion, and programs that will never pay anyone.
Needs a key with the reward:read scope.
Response
200: The review.
currencystringLowercase three-letter currency code, such as
usd.programCountintegerDate-based programs reviewed. Metric goal programs are not part of this review.
overlapsarray of objectsPairs of programs that would pay the same employee twice for one occasion.
idlearray of objectsPrograms that will not pay anyone.
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.