Quickstart
Render your first PDF in five minutes — authenticate, render, poll, download.
Server-to-server integration
The complete playbook for a backend, no-human-at-render-time integration.
Concepts
Templates, versions, variables, manifests, and the render pipelines.
API reference
Every endpoint, request shape, and response field.
How it works
Author a template
Design a template in the dashboard and insert typed variables (
{{customer.name}},
loops over arrays, images). Publishing snapshots an immutable version with an
auto-extracted variable manifest.Render with the API
POST /v1/templates/:slug/render with a data object. Craftkit validates the data
against the template’s manifest and enqueues a render job, returning 202 with a poll URL.Surfaces
| Surface | What it is |
|---|---|
| REST API | Server-to-server rendering with a project API key (ck_live_…). This site focuses here. |
| Builder embed | Drop the template designer into your own SaaS so your customers author templates. |
| Form embed | A drop-in form for end-users to fill a template’s variables and produce a document. |
Every API request authenticates with a project API key as
Authorization: Bearer ck_live_….
Keys are environment-specific — a key minted on localhost will not work against
https://api.craftkit.dev. See Authentication.