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
| Parameter | Type | Required | Description |
|---|---|---|---|
type | string | No | Filter by font type: "google" or "custom". Omit to return both. |
Response
Returns an array of font objects.
| Field | Type | Description |
|---|---|---|
id | string (uuid) | Unique identifier of the font. Use this value for the font property in generation requests. |
name | string | Display name of the font, e.g. "Ubuntu Mono". |
type | string | Font source: "google" for Google Fonts, "custom" for fonts uploaded to your workspace. |
available_weights | array | List of supported weights. Numeric values (100–900) 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]
}
]