v1

latestOpenAPI 3.0.02026-07-13142.4 KB

Returns PDF document.

post/perfectpdf/api

Request body

api_keystring required

api key

htmlstring required

html/css markup

Example request

{
  "api_key": "abc123",
  "html": "<!doctype html><html><head><meta charset=\"UTF-8\"><title>my title</title><script src=\"script.js\"></script></head><body><div>My PDF</div></body></html>"
}

Response

Either a PDF document or an error message

All 1 operations