Render a URL or HTML to PDF (query parameters; embeddable in <img src> with api_key)
get/v1/pdf
Request
- Base URL: https://shotkiln.com
- URL: https://shotkiln.com/v1/pdf
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
- none
Query parameters
urlstring uri
htmlstring
Raw HTML; use instead of url
format'A3' | 'A4' | 'A5' | 'Letter' | 'Legal' | 'Tabloid'
landscapeboolean
print_backgroundboolean
marginstring
All sides; or margin_top/right/bottom/left
margin_topstring
margin_rightstring
margin_bottomstring
margin_leftstring
delayinteger
cache_ttlinteger
Response
Rendered file
Changes
No recorded changes to this operation across all 2 revisions of this API.