ConsistlyAPI
Fonts

Upload a font

Stores a TTF or OTF font file under the caller’s organisation. The plaintext file is uploaded once and served via storage thereafter.

POST
/fonts
AuthorizationBearer <token>

Bearer API key. Brand Governance endpoints require brand:read or brand:write (plus narrower writes for specific resources).

In: header

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/fonts"
{  "id": "string",  "object": "font",  "organization": "string",  "name": "string",  "filename": "string",  "content_type": "string",  "size_bytes": 0,  "uploaded_by": "string",  "created": "2019-08-24T14:15:22Z",  "updated": "2019-08-24T14:15:22Z"}
{  "error": {}}
{  "error": {}}
{  "error": {}}