Skip to main content
GET
Get Payslip Links

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-MultiTenantKey
string

Required when using a Platform API token. The tenant key identifying which business to operate on.

Path Parameters

payrollId
string<uuid>
required

The unique identifier for the payroll

Query Parameters

format
enum<string>

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.

Available options:
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.

payrollId
string<uuid>
Example:

"8ef9a712-cdae-4110-b1ea-9ba95abbee6e"

Per-person presigned download URLs. Returned when format is omitted. All links share the same expiresAt.

zipUrl
string<uri>

Presigned URL pointing to a single archive containing all ready payslips. Returned only when format=zip was passed.

Example:

"https://example-bucket.s3.amazonaws.com/payslips/zips/7c4f1d36.zip?X-Amz-Signature=..."

expiresAt
string<date-time>

ISO-8601 expiry of zipUrl. Returned only when format=zip was passed.

Example:

"2026-05-11T17:00:00Z"

notReady
object[]

Payslips that could not be linked. not_found means the payslip does not exist yet (the payroll has not completed); generating means the PDF has not finished rendering yet; error means generation or link creation failed. Retry the request after the payroll completes and generation finishes.