Get download URL

GET /api/v1/month-end-packages/{package_id}/download

Generate a short-lived presigned S3 URL for the package zip.

Operation ID: get_download_url_api_v1_month_end_packages__package_id__download_get · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

package_id string required

Responses

200 Successful Response

package_id string required

Month-end package UUID

filename string required

Suggested attachment filename

download_url string required

Presigned S3 URL

expires_at string · date-time required

When the URL expires

file_size_bytes integer

Final zip size in bytes

400 Bad Request - Invalid input

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

404 Not Found - Resource does not exist

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object