Get Payslip Links
Retrieve presigned download links for a payroll’s payslips. Each link expires after a short window, so fetch and use them promptly.
Pass format=zip to receive a single presigned URL pointing to a bundled archive of all ready payslips instead of per-person links.
Payslips that are still being generated (or failed to generate) are returned under notReady with a status of generating or error. Retry the request after generation completes to receive their links.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Required when using a Platform API token. The tenant key identifying which business to operate on.
Path Parameters
The unique identifier for the payroll
Query Parameters
When set to zip, ready payslips are bundled into a single archive and returned as one presigned URL via zipUrl. Omit for per-person links under links.
zip Response
Presigned download links for the payroll's payslips. Returns per-person links under links by default, or a single bundled archive under zipUrl when format=zip was requested. Payslips still generating (or failed) are listed under notReady.
"8ef9a712-cdae-4110-b1ea-9ba95abbee6e"
Per-person presigned download URLs. Returned when format is omitted. All links share the same expiresAt.
Presigned URL pointing to a single archive containing all ready payslips. Returned only when format=zip was passed.
"https://example-bucket.s3.amazonaws.com/payslips/zips/7c4f1d36.zip?X-Amz-Signature=..."
ISO-8601 expiry of zipUrl. Returned only when format=zip was passed.
"2026-05-11T17:00:00Z"
Payslips that could not be linked. generating means the PDF has not finished rendering yet; error means generation or link creation failed. Retry the request after generation completes.