Released docs. You are viewing the documentation published with v0.49.0. Development docs are available at Latest.
Render one document
const url = 'https://example.com/v1/render/example';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"locale":"example","issuedAt":"2026-04-15T12:00:00Z","data":{},"assets":{"additionalProperty":"example"}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/render/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "locale": "example", "issuedAt": "2026-04-15T12:00:00Z", "data": {}, "assets": { "additionalProperty": "example" } }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”Opaque correlation ID for the response and audit record. Deterministic rendering makes deduplication unnecessary.
Request Bodyrequired
Section titled “Request Bodyrequired”object
object
object
Example generated
{ "locale": "example", "issuedAt": "2026-04-15T12:00:00Z", "data": {}, "assets": { "additionalProperty": "example" }}Responses
Section titled “Responses”Rendered PDF. The default representation is application/pdf with the headers below. A nonzero warning count means the host should inspect the JSON warnings before releasing the document. With Accept: application/json, the body carries the same values and the warning text, and the headers are not sent.
object
A labelled SHA-256 digest: sha256: and 64 lowercase hex digits.
A labelled SHA-256 digest: sha256: and 64 lowercase hex digits.
Example generated
{ "pdfBase64": "example", "pdfDigest": "example", "dataDigest": "example", "documentVersion": "example", "warnings": [ "example" ]}Headers
Section titled “Headers”A labelled SHA-256 digest: sha256: and 64 lowercase hex digits.
SHA-256 over the PDF.
A labelled SHA-256 digest: sha256: and 64 lowercase hex digits.
SHA-256 over the canonical request envelope the template read.
The document type and its version, as
Number of rendering warnings, including zero. Present on PDF responses; warning text is available in the JSON representation.
Invalid request, data, or assets (problem+json with JSON pointers)
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "traceId": "example", "pointers": [ "example" ]}Missing or invalid bearer credential; Bearer challenge
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "traceId": "example", "pointers": [ "example" ]}Verified credential is not admitted (client, actor kind, or missing render:render scope)
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "traceId": "example", "pointers": [ "example" ]}Request body over the configured limit (problem+json; audited, after authentication)
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "traceId": "example", "pointers": [ "example" ]}Compile failure, strict warnings, or oversized output
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "traceId": "example", "pointers": [ "example" ]}Render panicked
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "traceId": "example", "pointers": [ "example" ]}Audit failure or credential verifier unavailable without usable cached keys
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "traceId": "example", "pointers": [ "example" ]}Render timeout
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "traceId": "example", "pointers": [ "example" ]}Cookies on Registry Stack
We use optional cookies to understand how you use the main Registry Stack website and this documentation. If you contact us, we may link this activity to your enquiry. You can change your choice at any time. Read the privacy policy.
Your browser asks sites not to track you, so optional tracking stays off.
We could not use or save that choice. Optional tracking remains off.