---
title: "Set room colors"
method: PUT
path: "/rooms/{roomName}/theme/tokens"
---

# Set room colors

`PUT /rooms/{roomName}/theme/tokens`

Set primary, secondary and focus room colors.

## Path parameters

- `roomName` string, required

## Request body

- object
  - `tokens` object — Room colors defined in an object.
    - `colors` object
      - `primary` string — The HEX color code of the primary color.
      - `secondary` string — The HEX color code of the secondary color.
      - `focus` string — The HEX color code of the focus color.
  - `tokensPreset` 'custom' | 'default' — Use the given primary or secondary colors when `custom`. Use organization defaults when `default` or not defined.

## Response `204`

The tokens were saved successfully.

## Other responses

- `401` — Access token is missing or invalid
- `429` — You are rate limited

---

[API](https://skmtc.net/whereby/apis/whereby-rest-api.md) · [All operations](https://skmtc.net/whereby/apis/whereby-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/whereby/whereby-rest-api/revisions/3d9aec0774ff/schema)
