List upload download URLs

http
POST /projects/{project_reference}/uploads/download-urls

Sign download URLs for up to 20 uploads at once and report a status for each upload that is missing or denied. Requires project.uploads.read.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.

Request body

FieldTypeRequiredDescription
upload_referencesarrayYesUp to 20 upload UUIDs or project-relative file paths, signed in input order. Each upload retains its read-access check.
ttl_secondsnumberRequested lifetime in seconds. Private uploads are capped at 1800 seconds; public uploads at 86400 seconds.
ttlnumberAnother spelling of ttl_seconds. Send one of the two.

Responses

StatusDescription
200Per-upload signing results.
400Invalid batch
401Unauthorized
403Project read access denied
404Project not found
500Unexpected storage failure; the request fails