Fonts

Learn how to upload custom fonts to your workspace

post/brand-assets/fonts/add

Request

  • Base URL
    https://api.orshot.com/v1
  • URL
    https://api.orshot.com/v1/brand-assets/fonts/add
  • Auth
    HTTP bearer

Query parameters

embedIdstring

Embed instance ID. Pair with embedUserId to scope this call to one embed user

embedUserIdstring

The same userId your app passes to the embed URL. Requires embedId

Request body multipart/form-data

filestring required

URL, base64-encoded string, or binary upload of the font file

namestring

Custom name for the font. It becomes the font_family without its extension. Defaults to the uploaded file's name for multipart uploads. URL and base64 uploads get an auto-generated name, so pass name to choose the font family

tagsstring[]

Array of tags to associate with the font (e.g., ["heading", "brand"])

Response

Successful response

object required

Changes

    • info

      added the non-success response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status