Overview /
People & HR /
List payrolls
List payrolls
get
https://api.flactrum.com/v1/payrolls
| Required scope | payroll.read |
| Panel screen | Staff & HR → Payroll |
| Success status | 200 |
| Returns | A paginated list of Payroll objects |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| employee_id | query | string | — |
| salary_id | query | string | — |
| status | query | string | — |
| from | query | string | — |
| to | query | string | — |
| page | query | integer | Page number. |
| per_page | query | integer | Page size. Values above the maximum are rejected rather than silently clamped. |
| updated_since | query | string | Only records changed at or after this instant. Use it for incremental sync. |
| sort | query | string | Column to sort by. Each endpoint lists what it accepts. |
| direction | query | string | Sort direction. |
Response fields
| Field | Type | Description |
|---|---|---|
| id | string | — |
| salary_id | string | — |
| employee_id | string | — |
| period_start | string | — |
| period_end | string | — |
| gross_amount | number | — |
| deductions | number | — |
| net_amount | number | Always gross minus deductions; it cannot be written directly. |
| status | string | — |
| paid_at | string|null | — |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X GET 'https://api.flactrum.com/v1/payrolls' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 200 · application/json
{
"data": [
{
"id": "01m43mzfcfgee6n2cbyb9sw4xw",
"salary_id": "01m43mzfc8mnmj6ts0d1gsnd35",
"user_id": null,
"period_start": "2026-10-01",
"period_end": "2026-10-31",
"gross_amount": 36000,
"deductions": 6000,
"net_amount": 30000,
"status": "draft",
"paid_at": null,
"created_at": "2026-10-04T14:27:08+00:00",
"updated_at": "2026-10-04T14:27:08+00:00"
}
],
"meta": {
"total": 1,
"page": 1,
"per_page": 25,
"last_page": 1
}
}