Fonts

List the font library, and upload or remove a workspace's own fonts for designs and subtitles.

Fonts are being rolled out with Designs and are available to accounts with access enabled. Without it, every endpoint on this page answers 403 with feature_not_enabled.

A design's text layers and a video's subtitles name their font by family. That family comes from one of two places: the font library every workspace shares, or a font uploaded to the workspace, such as your brand typeface. Every endpoint here needs the posts scope.

List fonts

GET /v1/fonts?workspace_id=7d2b8c11-4e5a-4a8f-b0d9-3c5e6f7a8b90

Answers the library, and the workspace's uploaded fonts when you pass workspace_id. Without it, uploaded is empty.

{
  "library": [
    {
      "slug": "geist",
      "family": "Geist",
      "category": "sans",
      "scripts": ["latin"],
      "weights": ["100 900"],
      "files": [
        {
          "path": "/fonts/create/geist/geist-latin-100-900.woff2",
          "subset": "latin",
          "weight": "100 900",
          "style": "normal",
          "unicode_range": "U+0000-00FF, …"
        }
      ]
    }
  ],
  "uploaded": [
    {
      "id": "a3f0c6d2-5b19-4e7a-8c40-1d9e2b7f6a35",
      "family": "Your Brand Sans",
      "style": "normal",
      "weight": 700,
      "format": "woff2",
      "file_url": "https://api.fopost.com/v1/fonts/a3f0c6d2-5b19-4e7a-8c40-1d9e2b7f6a35/file",
      "created_at": "2026-11-20T09:12:00.000Z"
    }
  ]
}

category is sans, serif, display, handwriting or monospace, and scripts lists the writing systems the family covers. A library weight is a string: one weight such as "400", or a range such as "100 900" for a variable font. To use a font, put its family in a text layer's fontFamily or a subtitles operation's fontFamily.

file_url serves the font to a signed-in member of the workspace, which is how the dashboard previews it. It does not take an API key.

Upload a font

POST /v1/fonts

Send multipart/form-data, one font per request:

curl -X POST https://api.fopost.com/v1/fonts \
  -H "X-API-Key: $FOPOST_API_KEY" \
  -F "workspace_id=7d2b8c11-4e5a-4a8f-b0d9-3c5e6f7a8b90" \
  -F "file=@YourBrandSans-Bold.woff2" \
  -F "family=Your Brand Sans" \
  -F "weight=700"
FieldTypeRequiredDescription
workspace_iduuidYesWorkspace to add the font to
filefileYesA TTF, OTF, WOFF or WOFF2 file, up to 5 MB
familystringNoThe family name layers refer to. Default the file name
weightintegerNo100 to 1000. Default 400
styleenumNonormal or italic. Default normal

Upload each weight and style of a family as its own file under the same family. The format is read from the file itself, not the extension. It answers 201 with the uploaded font in the shape above.

A workspace holds up to 200 uploaded fonts, and they count against the account's storage allowance.

Delete a font

DELETE /v1/fonts/{id}

Removes an uploaded font and answers 204 with no body. Library fonts cannot be deleted.

Errors

StatuserrorWhen
400validation_errorworkspace_id or file is missing
400unsupported_fontThe file is not a TTF, OTF, WOFF or WOFF2 font
403feature_not_enabledFonts are not enabled on this account
404not_foundThe workspace or font does not exist or is not yours
409font_limit_reachedThe workspace already holds 200 fonts. Remove one to upload another
413file_too_largeThe file is over 5 MB
413storage_limit_reachedThe account's storage allowance has no room left

In the dashboard

Uploaded fonts live under Create, in the font picker's My Fonts list, where a font can be added or removed.

Next

Related documentation
  • API Overview

    Base URL, envelopes, pagination, and errors for the FoPost REST API.

  • Authentication

    API keys, scopes, and workspace binding.

  • Publishing

    Create a post, target accounts, publish it, and read the per-account result.

  • Scheduling

    Schedule a post, repeat it, and import a batch from a spreadsheet.

  • Media

    Upload files, list the media library, and attach media to a post.

  • Validation

    Check content, text length, and media against platform rules before a post exists.

  • Designs

    Create, edit, version, export and review designs, and turn text or a post into one.

  • Video Edits

    Trim, cut, subtitle, reframe, and clip videos in the media library as background jobs.

Was this helpful?

On this page