API Referencepayroll
List employees
RESTRICTED: requires a payroll:, cis: or p11d:read scope, granted after manual approval. Reads come from records held in ac-co.ai; nothing here calls HMRC. Preparing a filing never sends or approves it: a person approves in the payroll app.
Requires payroll:read. National Insurance numbers are masked; bank details, contact details and dates of birth are never returned.
AuthorizationBearer <token>
In: header
Query Parameters
legalEntityId?string
Format
uuidincludeLeavers?string
Value in
- "true"
- "false"
limit?integer
Range
1 <= value <= 200Default
50offset?integer
Range
0 <= value <= 100000Default
0Response Body
application/json
curl -X GET "https://example.com/payroll/employees"{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "legalEntityId": "41192155-f2be-4dd0-9ea4-e32ad94824f7", "payrollId": "string", "name": "string", "status": "string", "payFrequency": "string", "jobTitle": "string", "department": "string", "startDate": "string", "leavingDate": "string", "annualSalary": 0, "taxCode": "string", "niCategory": "string", "ninoMasked": "string" } ], "nextOffset": -9007199254740991}