Quickstart
Render your first PDF in the next ten minutes.
Four steps, no SDK install required — plain HTTP the whole way.
Step 1
Create an API key
Sign up and grab a test key from the dashboard — it renders real PDFs but never counts against a plan.
Step 2
Pick a template
Start from Invoice, Contract, Report or Ticket — or post your own HTML. Every template exposes the same merge-field contract.
Step 3
Make the render call
Your data merges into the template server-side. The response is a signed URL to the finished file.
curl -X POST https://api.pagemint.dev/v1/render \
-H "Authorization: Bearer $PAGEMINT_KEY" \
-d '{"template":"invoice","data":{"client":"Acme Corporation","number":"INV-0142"}}'Step 4
Handle the response
The signed URL expires on the TTL you set — download it, forward it, or hand it straight to a customer.
{
"id": "rnd_8fk21",
"pages": 2,
"url": "https://…/inv.pdf",
"expires_in": 3600
}That's the whole API.
Batching, webhooks and stored templates work the same way — see the full reference when you need them.