Automette docs

Delete a font

DELETE
/api/v1/brand_kit/fonts/{fontId}

Authorization

ApiKeyAuth
AuthorizationBearer <token>

API key from Settings → API Keys.

In: header

Path Parameters

fontId*string

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/v1/brand_kit/fonts/string"
{  "id": "cm4bka8e20001js04xq2v9k3m",  "deleted": true}

Upload a font POST

Adds a font your templates can use. Send `multipart/form-data` with a `file` part, or JSON with `filename` and `content_base64`. Fonts are **team-level**: once uploaded, every template in the team can name it. Re-uploading the same filename replaces it. The response carries `family` — the name read out of the file itself, and **that exact string is what goes in `fontFamily` on a text component**. It is usually not the filename: `Anton-Regular.ttf` declares the family `Anton`. `.ttf` and `.otf` only, 10MB maximum. A variable font will not register — instance it to a static weight first. A file with no readable family name is rejected, because the renderer would never apply it. So is one whose family is a family we already ship: the built-in face wins the name, so the uploaded cut would never be drawn.

Browse the template library GET

Lists the ready-made templates you can copy into your team. This is the discovery half of copy-then-edit, the path most callers take: find the closest design here, copy it with `POST /api/v1/templates` and `from_library`, then edit the copy like any other template. `fields` is included so you can tell whether a template carries the data you have before copying anything. A template previews as an image (`preview_url`) or as a PDF (`preview_pdf_url`), never both — canvas designs produce the former, Typst and Word ones the latter. Check which is present rather than branching on `engine`. All preview and thumbnail links are permanent and public. To see a design filled with **your** data instead of the library's sample values, call `POST /api/v1/library_templates/{slug}/preview`. Read-only. Library templates are curated and promoted by hand; there is no authoring API behind this.