Skip to main content
POST
Generate a PDF

PDF Generation

Generate PDFs from templates with support for multiple pages, standard paper sizes, and custom dimensions.

Endpoints

Paper Size Presets

Key Options

The userStorageUrl response field is only included if you have configured custom storage.

Best Practices

  1. Design for print — use CMYK-friendly colors and sufficient margins
  2. Test at scale — preview PDFs at 100% zoom before production
  3. Optimize images — use appropriate resolution (150-300 DPI for print)
  4. Consider page breaks — design templates with natural page breaks for multi-page docs
  5. Use web-safe fonts — or embed custom fonts in your template

Authorizations

Authorization
string
header
required

API key obtained from the Pictify dashboard

Body

application/json
templateUid
string
required

Template UID

variables
object
options
object

Response

200 - application/json

PDF generated

success
boolean
url
string<uri>
userStorageUrl
string<uri>
pageCount
integer
preset
string
pageSize
object