ac-co.ai docs
API Referencepayroll

List employees

GET
/payroll/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
Formatuuid
includeLeavers?string

Value in

  • "true"
  • "false"
limit?integer
Range1 <= value <= 200
Default50
offset?integer
Range0 <= value <= 100000
Default0

Response 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}