Skip to main content
POST
Register a font

Authorizations

x-magnific-api-key
string
header
required

Your Magnific API key. Learn how to obtain an API key

Path Parameters

brand_kit_id
string
required

The brand kit's id.

Body

application/json
upload_path
string
required

The upload_path from POST /v2/brand-kits/{brand_kit_id}/fonts/uploads, once the upload succeeded.

Maximum string length: 255
filename
string | null

The original file name, such as Acme-Bold.woff2. Defaults to the one given when requesting the upload.

Maximum string length: 255
role
enum<string> | null

The typography role this file renders.

Available options:
display,
heading,
body,
label,
null
tier
enum<string> | null

Another tier this same file renders, when it differs from role.

Available options:
display,
heading,
body,
label,
null

Response

data
object
required