> For the complete documentation index, see [llms.txt](https://docs.thebrief.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thebrief.ai/public-api/rest-api/design-fonts.md).

# Design Fonts

## List fonts which can be used with a design(template)

List all fonts  which can be used to on a design (template).

This endpoint makes an HTTP GET request to retrieve a list of fonts from the specified API endpoint.

### **Request**

* Method: GET
* Endpoint: `https://api.thebrief.ai/v1/designFonts`
* Query Parameters:
  * `templateHash` (string, required): The hash of the design(template).

### Response

Upon a successful execution with a status code of 200, the response will be in JSON format and will include a "response" object containing an array objects with "fontName" and array of "variants" properties,.

Request example:

```
{
    "response": [
        {
            "fontName": "ABeeZee",
            "variants": [
                {
                    "weight": "400",
                    "subFamily": "Regular"
                },
                {
                    "weight": "400italic",
                    "subFamily": "Regular Italic"
                }
            ]
        },
        {
            "fontName": "Abel",
            "variants": [
                {
                    "weight": "400",
                    "subFamily": "Regular"
                }
            ]
        },
        {
            "fontName": "Abril Fatface",
            "variants": [
                {
                    "weight": "400",
                    "subFamily": "Regular"
                }
            ]
        }
    ]
}
```

These fontName values should be used with export-with-changes endpoint for FONTFAMILY attribute.
