Skip to content

Fonts

Returns all fonts available in your Abyssale workspace. Includes both Google Fonts pre-loaded by Abyssale and any custom fonts you have uploaded via the dashboard.

Use the id from the response to force a specific font on a Text or Button element using the font property.

GET/fontsAPI Reference

Query Parameters

ParameterTypeRequiredDescription
typestringNoFilter by font type: "google" or "custom". Omit to return both.

Response

Returns an array of font objects.

FieldTypeDescription
idstring (uuid)Unique identifier of the font. Use this value for the font property in generation requests.
namestringDisplay name of the font, e.g. "Ubuntu Mono".
typestringFont source: "google" for Google Fonts, "custom" for fonts uploaded to your workspace.
available_weightsarrayList of supported weights. Numeric values (100900) for regular weights; string values like "400-italic" for italic variants.

Response Example

json
[
  {
    "id": "61568e7c-33c5-11ea-9877-92672c1b8195",
    "name": "Ubuntu Mono",
    "type": "google",
    "available_weights": [400, 700, "400-italic", "700-italic"]
  },
  {
    "id": "a3f92c10-44d1-22fb-8988-03783d2c9306",
    "name": "Brand Sans",
    "type": "custom",
    "available_weights": [400, 600, 700]
  }
]