---
title: "Update agent theme"
method: PUT
path: "/public/v1/agents/{agentId}/theme"
tags: ["Agent Builder"]
---

# Update agent theme

`PUT /public/v1/agents/{agentId}/theme`

Updates textual and color theme settings. Requires a USER API key.

## Path parameters

- `agentId` string, required

## Request body

- PublicAgentThemeUpdateInput
  - `avatar` string, nullable, required
  - `bubbleImage` string, nullable, required
  - `title` string, required
  - `initialMessage` string, required
  - `placeholder` string, required
  - `bubbleColor` string, required
  - `userMessageColor` string, required
  - `agentMessageColor` string, nullable, required
  - `bubbleAlignment` 'RIGHT' | 'LEFT', required
  - `progressIndicator` 'STATIC' | 'DYNAMIC', required
  - `verticalPositionInPixels` number, required

## Response `200`

Updated agent theme

- PublicAgentThemeUpdateOutput
  - `id` number, required
  - `assistantId` string, required
  - `avatar` string, nullable, required
  - `bubbleImage` string, nullable, required
  - `title` string, required
  - `initialMessage` string, required
  - `placeholder` string, required
  - `bubbleColor` string, required
  - `userMessageColor` string, required
  - `agentMessageColor` string, nullable, required
  - `bubbleAlignment` 'RIGHT' | 'LEFT', required
  - `progressIndicator` 'STATIC' | 'DYNAMIC', required
  - `verticalPositionInPixels` number, required
  - `updatedAt` string, required

---

[API](https://skmtc.net/getfrontline/apis/public-api.md) · [All operations](https://skmtc.net/getfrontline/apis/public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getfrontline/public-api/versions/9d33b6aad674/schema)
