Payroll
Get the payroll cache status
When payrolls were last synced from Gusto, when the last sync fully completed, and how many payrolls are cached. Read-only; never calls Gusto. Scoped to the authorized organization.
get/payroll/sync
Request
- Base URL: https://ledgerhq.pro/api/v1
- URL: https://ledgerhq.pro/api/v1/payroll/sync
- Auth: one of:
- HTTP bearer and API key in header x-organization-id
- HTTP bearer and API key in header x-organization-id
Response
{source: gusto|sample, lastSyncedAt, payrollCount, lastCompletedAt, fresh}
Changes
No recorded changes to this operation across all 3 revisions of this API.