Quickstart
From npm install to your first PDF in five minutes.
Install the SDK
Get an API key
Sign up at paperbase.dev — 100 renders/month free, no credit card required.
Set your key as an environment variable:
Generate your first PDF
What you get back
| Field | Type | Description |
|---|---|---|
url | string | Signed URL to the rendered PDF |
preview_url | string | Signed URL to a PNG preview of page 1 |
page_count | number | Number of pages |
warnings | Warning[] | Structured rendering warnings — see Warning catalog |
job_id | string | Unique job ID for later retrieval |
Next steps
- API reference — full request/response schema
- Report template — what the
reporttemplate renders - Warning catalog — all 12 warning codes and their fixes