# Server API: branding

Source: https://docs.neode.sk/development/api-reference/server-branding/
Last updated: 2026-12-03

> 3 operations. The branding NeoDesk Desktop and RustDesk clients get from the server.

These routes are on the server API, port 21114 (21121 in Docker). They take an API key in `X-API-Key` or a sign-in token; see [The HTTP API](https://docs.neode.sk/development/api.md#signing-in).

The branding NeoDesk Desktop and RustDesk clients get from the server.

## GET /api/branding

Show the branding desktop clients apply.

Answers anyone, limited per address. In NeoDesk mode it answers NeoDesk's own branding with revision "0", whatever is stored. Answers with an ETag and Cache-Control: private, max-age=60; a request whose If-None-Match is that ETag gets 304.

On the server API, port 21114.

**200**: Done (`application/json`)

[ClientBranding](https://docs.neode.sk/development/api-reference/schemas.md#clientbranding).

**304**: The branding is the one the client has

| Error | When |
|---|---|
| 429 | Too many requests from this address |

## POST /api/branding

Change the client branding.

The body may be up to 2 MB. Every save sets a new revision, the time in Unix milliseconds, and goes to the audit log. The answer is the branding as it is stored now.

On the server API, port 21114. Only for the role `admin`.

Request body, `application/json`:

[ClientBrandingChange](https://docs.neode.sk/development/api-reference/schemas.md#clientbrandingchange).

**200**: Done (`application/json`)

[ClientBrandingSaved](https://docs.neode.sk/development/api-reference/schemas.md#clientbrandingsaved).

| Error | When |
|---|---|
| 400 | A value is not valid. The answer to an accent color, a logo or a body that is no JSON is plain text, to an email or website {"error": "..."} |
| 401 | No credential, or one that is not valid |
| 403 | The credential's role lacks the permission |

## GET /api/branding/stored

Show the client branding as it is stored.

Whatever the branding mode: what the console's Client Branding page edits.

On the server API, port 21114. Only for the role `admin`.

**200**: Done (`application/json`)

[ClientBranding](https://docs.neode.sk/development/api-reference/schemas.md#clientbranding).

| Error | When |
|---|---|
| 401 | No credential, or one that is not valid |
| 403 | The credential's role lacks the permission |
