POST/pdf-export/render

Fetch page content for PDF rendering

Provides page content to the headless renderer for a PDF export. The renderer supplies the page's UUID in pageId and a short-lived token rather than using an API key. The response includes page content with tokenised attachment URLs.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

2 body fields

Page identifier and short-lived authorization token for the headless PDF renderer.

pageIdstringrequired
The UUID of the page to render.
tokenstringrequired
Short-lived render token.

3 status codes
200Returns page content with tokenised attachment URLs.
dataobjectoptional
statusintegeroptional
successbooleanoptional
400Returned when the render token is missing, invalid, or expired.
errorstringoptional
Reason phrase, for example `Bad Request`.
messagestringoptional
statusCodeintegeroptional
404Returned when the page cannot be found.
errorstringoptional
Reason phrase, for example `Bad Request`.
messagestringoptional
statusCodeintegeroptional

Error handling

A 400 is returned when the render token is missing, invalid, or expired. A 404 is returned when the page cannot be found. pageId must be a UUID, and both pageId and the short-lived token are required.