v2023-03-01
 over 2 years ago 
This is the changelog for v2023-03-01, which contains breaking changes.
To learn more about versions in our API, read the Versioning guide.
Sensitive Data Scope Control
v2023-03-01 adds additional scope controls for protecting sensitive data on certain endpoints, while minimizing disruptions to existing partner applications by excluding out-of-scope data rather than rejecting the request. 
The additional scopes requirements included in this version are as follows:
| Endpoint | Endpoint Scope | Additional Scope Requirements | 
|---|---|---|
| Get the current user | N/A | - emailfield requirescompany_admin:readscope- tierfield requirescompanies:readscope- Work locationsrequirescompanies:readscope- Non-work locationsrequiresemployees:readscope | 
| Get a company | companies:read | - primary_payroll_adminfield requirescompany_admin:readscope- primary_signatoryfield requiressignatories:readscope- home_addressfield  requiresemployees:readscope- Non-work locationsrequiresemployees:readscope | 
| Get all payrolls for a company | payrolls:read | - When passing benefitsin theincludeparameter, theemployee_benefits:readscope is required | 
| Get a single payroll | payrolls:read | - When passing benefitsin theincludeparameter, theemployee_benefits:readscope is required | 
| Get a company benefit | company_benefits:read | - When passing truefor thewith_employee_benefitsparameter, theemployee_benefits:readscope is required |