Skip to main content

Setting up

Before you can use the API, you need to create an account and get an API key.

Create your account

It’s free, requires no credit card, and takes less than a minute.

Get your API key

Once you have an account, you can create an API key.

Rendering a simple PDF

The simplest way to generate a PDF is using the synchronous endpoint. This endpoint accepts your content and returns the generated PDF directly in the response.

Basic request structure

Rendering from a URL

You can also render a PDF from an existing webpage:

Customizing your PDF

You can customize various aspects of your PDF using additional parameters:

Next steps

Now that you’ve created your first PDF, explore more advanced features:
  • Combine multiple HTML snippets or URLs into a single PDF
  • Add headers and footers with dynamic content
  • Customize page size, orientation, and margins
  • Use JavaScript evaluation to manipulate content before rendering
  • Try the asynchronous endpoint for faster processing