---
title: "Whether a brand's colours can be read for the theme"
type: reference
method: GET
path: /rest-api/white-label/brand-palette.do
tag: "White Label"
---

# Whether a brand's colours can be read for the theme

`GET https://YOUR-NETWORK-DOMAIN/rest-api/white-label/brand-palette.do`

available is false when no Anthropic key is set up (reason no_key) or this month's AI budget is spent (reason limit); the theme editor offers reading a brand only while it is true, and goes on building a palette out of pasted colour values either way. Also answers the size limits a document is held to. Requires the WHITE_LABEL admin permission, and an Anthropic key for the readings that need the model: the user's own, the network's, or Epom's while the network's plan includes it.

## Responses

- `200` — {available, reason, maxPdfMb, maxImageMb, maxPageMb, maxTextLength}
- `400` — Bad request — invalid or missing parameters
- `401` — Authentication error
- `403` — Insufficient permissions, naming the missing one

## Example request

```bash
curl --request GET \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/white-label/brand-palette.do' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

Source: https://epom.com/ad-server/docs/api/white-label/get-white-label-brand-palette