Upload Font

Learn how to upload custom fonts to your workspace

Overview#

This endpoint allows you to upload custom fonts to your workspace. You can upload font files from a URL, as a base64-encoded string, or as a binary upload. Uploaded fonts become available for use in your templates.

https://api.orshot.com/v1/brand-assets/fonts/add

Request#

await fetch("https://api.orshot.com/v1/brand-assets/fonts/add", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    Authorization: "Bearer <ORSHOT_API_KEY>",
  },
  body: JSON.stringify({
    file: "https://example.com/fonts/BrandFont-Bold.ttf",
    name: "BrandFont-Bold.ttf", // optional
  }),
});

Request Parameters#

ParameterTypeRequiredDescription
fileStringYesURL, base64-encoded string, or binary upload of the font file
nameStringNoCustom name for the font (defaults to original filename or auto-generated)

Supported Font Formats#

  • TrueType (.ttf)
  • OpenType (.otf)
  • Web Open Font Format (.woff)
  • Web Open Font Format 2 (.woff2)

Notes#

  • Maximum file size: 10MB
  • Uploaded fonts are immediately available for use in templates
  • The font cache is automatically invalidated when a new font is uploaded

Rate Limits#

  • 30 requests per minute per endpoint

All Set? Let's Start Automating

Get Your API Key →
  • Image, PDF and Video Generation via API
  • Canva like editor with AI and smart features
  • No-Code Integrations (Zapier, Make, n8n etc.)
  • Embed Orshot Studio in your app
  • Start Free. No credit card required. Cancel anytime.