1

Sign up

Sign up for a Doczilla account and create your organization.

2

API key

Grab your API key from your organizations settings page.

3

Start generating your PDF/screenshots

You can now use your API key to start generating your documents, see our examples below to get started.

First request

In this example, we generate a PDF providing custom html using the Create PDF endpoint.

Also checkout the synchronous and asynchronous methods to determine what fits best.

curl --request POST 'https://api.doczilla.app/v1/pdf' \
  --header 'Authorization: Bearer <your token>' \
  --header 'Content-Type: application/json' \
  --output doczilla.pdf
  --data '{
    "page": {
      "html": "PGRpdj5Zb3VyIGZpcnN0IERvY3ppbGxhIFBERjwvZGl2Pg=="
    },
    "pdf": {
      "printBackground": true
    }
  }'

Learn more

Examples

Different API endpoint types

Templating

Was this page helpful?