Skip to content
Docs

List payrolls

GET/v1/companies/{companyId}/payrolls

A company's payrolls: how often each pays, its status, its next pay date and how many people are on it.

Path

companyIdstringrequired

Its id, like cmp_Xq2b9Lr0aKsT.

Query

limitinteger

How many to answer, 1 to 100. 50 when left out.

cursorstring

The nextCursor of the page before.

Answer

dataarray of object
Show 7 fields
idstring

Starts "pyr_".

companyIdstring
namestring
frequencystring

One of weekly, fortnightly, semi-monthly, monthly. Read any other value as "other".

statusstring

Paused and archived payrolls don't run.

One of active, paused, archived. Read any other value as "other".

nextPayDatedate or null

The open run's pay date, or the next one the schedule gives. Null for a payroll not set up or not running.

employeesinteger

How many people are on it.

nextCursorstring or null

Send as cursor for the next page. Null on the last.

Refusals

400bad_requestThe request isn't right: the message says which part.
401unauthorizedNo key, a key Paie doesn't know, or one that was revoked.
403forbiddenThe key can't do this (its areas), or the workspace isn't in the API beta.
403plan_requiredThe workspace's plan has no API, or, for a change, none that changes things (Scale).
404not_foundNot there, or not a company this key reaches. The two read the same.
429rate_limitedOver the key's calls a minute, or the workspace's calls a day: wait the seconds Retry-After says.
500server_errorSomething went wrong at Paie. Send support the requestId.
Terminal window
curl https://api.paieday.com/v1/companies/cmp_Xq2b9Lr0aKsT/payrolls \
-H "Authorization: Bearer $PAIE_API_KEY"
Answer
{
"data": [
{
"id": "pyr_51ka7cQ0ZtLm",
"companyId": "cmp_Xq2b9Lr0aKsT",
"name": "Blue Mahoe Trading Ltd",
"frequency": "weekly",
"status": "active",
"nextPayDate": "2026-10-25",
"employees": 38
}
],
"nextCursor": null
}