Gallery Platform API
Reference

Get the frozen PDF

Returns a short-lived signed download URL for the document's frozen PDF (generated once; integrity-pinned by `pdf_sha256`). 409 until the document has been generated.

POST
/gallery/legal-documents/{id}/pdf

Returns a short-lived signed download URL for the document's frozen PDF (generated once; integrity-pinned by pdf_sha256). 409 until the document has been generated.

Authorization

bearerAuth legal_documents:read
AuthorizationBearer <token>

A gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).

In: header

Scope: legal_documents:read

Path Parameters

id*string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "download_url": "string"}