Generate PDF from a URL (ephemeral browser)
API reference
Generate PDF from a URL (ephemeral browser)
POST
Generate PDF from a URL (ephemeral browser)
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Target URL to navigate to
Proxy URL (protocol://user:pass@host:port)
CSS selector to wait for before action
Action timeout in milliseconds (1-60000)
Browser navigation policy for this action
Paper size
Available options:
A4, Letter, A3, Tabloid, Ledger, Legal Landscape orientation
Print background graphics
Response
PDF result (base64 in JSON)