Overview / People & HR / List salaries

List salaries

get https://api.flactrum.com/v1/salaries
Required scope payroll.read
Panel screenStaff & HR → Salaries
Success status200
Returns A paginated list of Salary objects

Parameters

NameInTypeDescription
employee_id query string —
branch_id query string —
page query integer Page number.
per_page query integer Page size. Values above the maximum are rejected rather than silently clamped.
active query boolean Filter by active flag. Omit to get both.
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

FieldTypeDescription
id string —
employee_id string —
branch_id string|null —
gross_salary number —
net_salary number|null —
currency string —
effective_date string —
is_active boolean Only one active salary per employee; a new one deactivates the previous.

Examples

Recorded from the test suite — these are real requests and their real responses.

curl -X GET 'https://api.flactrum.com/v1/salaries' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 200 · application/json

{
    "data": [
        {
            "id": "01m43mzf864sz8r25pqr766a56",
            "user_id": null,
            "branch_id": null,
            "gross_salary": 36000,
            "net_salary": null,
            "currency": "TRY",
            "effective_date": "2026-10-04",
            "is_active": true,
            "created_at": "2026-10-04T14:27:08+00:00",
            "updated_at": "2026-10-04T14:27:08+00:00"
        },
        {
            "id": "01m43mzf7zyj23zb0502k4zmhe",
            "user_id": null,
            "branch_id": null,
            "gross_salary": 30000,
            "net_salary": null,
            "currency": "TRY",
            "effective_date": "2025-10-04",
            "is_active": false,
            "created_at": "2026-10-04T14:27:08+00:00",
            "updated_at": "2026-10-04T14:27:08+00:00"
        }
    ],
    "meta": {
        "total": 2,
        "page": 1,
        "per_page": 25,
        "last_page": 1
    }
}