---
title: "Whether a sign-in background can be drawn"
type: reference
method: GET
path: /rest-api/white-label/login-background.do
tag: "White Label"
---

# Whether a sign-in background can be drawn

`GET https://YOUR-NETWORK-DOMAIN/rest-api/white-label/login-background.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 Images tab offers drawing one only while it is true, and takes an uploaded file either way. Also answers the starting points on offer and how long a note may be. Requires the WHITE_LABEL admin permission and an Anthropic key: the user's own, the network's, or Epom's while the network's plan includes it.

## Responses

- `200` — {available, reason, styles, maxNoteLength, maxColors}
- `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/login-background.do' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

Source: https://epom.com/ad-server/docs/api/white-label/get-white-label-login-background