Automette docs

Get a template

GET
/api/v1/templates/{id}

Authorization

ApiKeyAuth
AuthorizationBearer <token>

API key from Settings → API Keys.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/templates/string"
{  "id": "cm4tpl8e20001js04xq2v9k3m",  "name": "Invoice",  "engine": "typst",  "available_fields": [    {      "key": "name",      "type": "text",      "example": "Alice"    },    {      "key": "amount",      "type": "text",      "example": "1,200"    }  ],  "url_base": "Yx4kPz8qWm2nRv6t",  "created_at": "2026-04-01T09:00:00.000Z",  "updated_at": "2026-04-22T11:00:00.000Z"}