Automette docs

Sign an on-demand URL

POST
/api/v1/sign

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

curl -X POST "https://example.com/api/v1/sign" \  -H "Content-Type: application/json" \  -d '{    "template_id": "cm4tpl8e20001js04xq2v9k3m",    "data": {      "name": "Alice",      "amount": "1,200"    }  }'
{  "url": "https://automette.com/ondemand/Yx4kPz8qWm2nRv6t/image.pdf?data=...&s=...",  "template_name": "Invoice",  "format": "pdf",  "url_base": "Yx4kPz8qWm2nRv6t"}