Skip to content
LogoLogo

Authorize a published Document attachment download

Authorize a published Document attachment download

POST/api/v1/public/documents/{public_id}/attachments/{attachment_id}/download

Public access requires the owning Workspace's public-publishing billing entitlement; absence returns the same privacy-safe 404 as an unavailable identifier. Mints a short-lived download URL only when the attachment is owned by the published Document and is referenced by its current public body. Historical ownership alone never exposes a removed attachment.

Path Parameters

public_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001
attachment_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Responses