Render page as PDF
Browser
Render page as PDF
Renders a page and returns a PDF as binary bytes. Requires scope: browser:render
POST
Render page as PDF
Authorizations
Voyant Cloud API token, passed as Authorization: Bearer <token>. Each token carries a fixed set of scopes; an operation rejects tokens missing its required scope.
Body
application/json
Common fields accepted by every browser render endpoint. Forwarded to Cloudflare Browser Rendering, so additional CF-supported fields are also accepted. Provide exactly one of url or html.
Example:
"https://example.com"
Available options:
screen, print Response
200 - application/pdf
PDF bytes
The response is of type file.