Skip to content
LogoLogo

Authorize a published Document attachment preview

Authorize a published Document attachment preview

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

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 cookie-less inline URL for a previewable attachment that is both owned by and referenced from the current public body.

Path Parameters

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

Responses