Automette docs

Generate a document

POST
/api/v1/renders

Authorization

ApiKeyAuth
AuthorizationBearer <token>

API key from Settings → API Keys.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/renders" \  -H "Content-Type: application/json" \  -d '{    "template_id": "cm4tpl8e20001js04xq2v9k3m",    "data": {      "invoice_number": "INV-0042",      "client_name": "Acme Corp",      "amount": "$4,200"    },    "visibility": "public"  }'
{  "id": "cm4rnd7qh0001jx04w8e2t5va",  "self": "https://automette.com/api/v1/renders/cm4rnd7qh0001jx04w8e2t5va",  "status": "completed",  "url": "https://cdn.automette.com/p/cm4rnd7qh0001jx04w8e2t5va/document.pdf",  "format": "pdf",  "template_id": "cm4tpl8e20001js04xq2v9k3m",  "template_name": "Invoice",  "data": {    "invoice_number": "INV-0042",    "client_name": "Acme Corp"  },  "created_at": "2026-04-22T12:00:00.000Z"}