Skip to content
gist.link ↗

payItems

Query Payroll API — POST https://payroll.api.gist.link/graphql

Tracked pay items (bonuses, overtime, vacation, regular…), optionally per employee.

payroll:query:payItems

The calling IAM key must hold this permission (or a wildcard that covers it: payroll:query:* or payroll:*) and the access token must have been minted with audience=payroll. See Permissions.

type Query {
payItems(employeeUuid: String): [PayItem!]!
}
Argument Type Required Description
employeeUuid String No —

[PayItem!]! — see the Payroll types reference.

Terminal window
curl https://payroll.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query PayItems($employeeUuid: String) { payItems(employeeUuid: $employeeUuid) { id uuid currency status created_at } }",
"variables": {
"employeeUuid": "example"
}
}
JSON