Skip to main content
POST
Upload workspace font

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>.

Body

multipart/form-data
file
file
required

The font file: TrueType, OpenType, WOFF or WOFF2, up to 5 MB.

Response

The uploaded font, or the existing font with the same family, weight and style.

One uploaded font: a single weight and style of a family.

id
string
required

ID of the font.

Example:

"68d4b2e1f0a9c8001b3e5f27"

family_name
string
required

Family name, read from the font file. Use it as the CSS font-family.

Example:

"Acme Sans"

display_family_name
string | null
required

The broader family the font file says it belongs to, which groups stylistic variants such as an inline cut, or null when the file doesn't say.

Example:

"Acme"

variant_name
string | null
required

Name of the stylistic variant, or null when the file doesn't name one.

Example:

"Inline"

weight
integer
required

Weight from 1 to 1000, usually a multiple of 100.

Example:

400

style
enum<string>
required

Style of the font.

Available options:
normal,
italic
Example:

"normal"

public_url
string
required

Public URL of the font as a WOFF2 file, for an @font-face src.

Example:

"https://media.base44.com/files/public/workspaces/67e0b12c4d8a3f005b21c9e4/fonts/3f9a1c2e_68d4b2e1f0a9c8001b3e5f27.woff2"

created_by
string
required

Email of the member who uploaded the font.

Example:

"dana@acme.com"

created_date
string
required

When the font was uploaded, as a UTC timestamp in ISO 8601 format.

Example:

"2026-09-02T11:24:05.311000"