Skip to main content
POST
Add a font

Authorizations

Authorization
string
header
required

A secret key from Print.App admin → Domains → Secret keys, sent as Authorization: Bearer sk_…. Server-side only.

Headers

Idempotency-Key
string

Makes a retry safe: a second request with the same key and the same body gets the first response back (for 24 hours) instead of creating the resource again. Use a new key, such as a UUID, for every new request.

Required string length: 1 - 255

Body

application/json

A Google font family to import, or a font file to upload. Send one of family or url.

family
string
required

A Google Fonts family name, for example Playfair Display. Every weight and style is imported.

Required string length: 1 - 100
url
string<uri>

A public URL of a TTF, OTF, WOFF or WOFF2 file, up to 20 MB. Its family, weight and style are read from the file.

Maximum string length: 2048

Response

Created.

A font family.

object
string
required
Allowed value: "font"
family
string
required

The name to use in design operations (lower case).

source
enum<string>
required
Available options:
builtin,
google,
upload
variants
object[]
required