API
Generate PDFs by POSTing to /api/generate-pdf with your templateId, JSON data, and an Authorization header (Bearer <api-key>).
Request
POST /api/generate-pdf
Authorization: Bearer <api-key>
Content-Type: application/json
{
"templateId": "<template-id>",
"data": { /* your JSON */ },
"options": { /* optional PDF overrides */ }
}
Response
200 OK Content-Type: application/pdf (binary)
Full reference: docs/API_DOCUMENTATION.md