Get the payroll workspace
NOT available to API keys — requires an interactive admin/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 admin/approver-only operations (payroll approval, company settings, API-key management).
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.