Get the payroll workspace
NOT available to API keys — requires an interactive admin or existing approver session. Returns the payroll workspace for a period (YYYY-MM, default current): employees, employer settings, draft/approved runs. Amounts are integer cents; rates are basis points.
Authorizations
Firebase ID token from an interactive portal session. Required for interactive operations (payroll, company settings, API-key management) and invoice decisions allowed by the member's review permissions.
Query Parameters
Target company. Optional — API keys are pinned to one company, and single-company sessions default to it.
Payroll period, YYYY-MM.
Response
Payroll workspace.
The payroll workspace for a period: employees, employer settings, and runs. Amounts are integer cents; rates are basis points. Interior shapes beyond the top level vary and are returned as-is.