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/addRequest#
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
tags: ["heading", "brand"], // optional
}),
});Request Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
file | String | Yes | URL, base64-encoded string, or binary upload of the font file |
name | String | No | Custom name for the font (defaults to original filename or auto-generated) |
tags | String[] | No | Array of tags to associate with the font (e.g., ["heading", "brand"]) |
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
Ready to automate?
Start rendering images, PDFs and videos from your templates in under 2 minutes. Free plan, no credit card.
Get your API key- Image, PDF and video generation via API
- Visual editor with AI and smart layouts
- Zapier, Make, MCP and 50+ integrations
- White-label embed for your own app
- 60 free renders — no credit card required