Render with fetch
Render PDFs without the npm package, straight against the REST API with an API key.
If the npm package isn't available, render directly against the REST API. The
endpoint takes JSON and an API key in the x-api-key header.
Endpoint
Example
Response
url is the endpoint the PDF is served from, not a public link. Request it with
the same x-api-key header you rendered with, plus Accept: application/pdf,
see Download a PDF.
An API key grants full access to the API. Do not call this endpoint straight from the browser with your key, proxy it through your own backend, see Call it from another service.
All fields and status codes are listed in the Request reference.