---
title: "Update Workspace Echo Config"
method: PUT
path: "/api/workspaces/{workspace_id}/echo-config"
---

# Update Workspace Echo Config

`PUT /api/workspaces/{workspace_id}/echo-config`

## Path parameters

- `workspace_id` string, required

## Request body

- EchoConfigUpdateRequest
  - `position` string, nullable
  - `theme` string, nullable
  - `agentName` string, nullable
  - `welcomeMessage` string, nullable
  - `logoUrl` string, nullable
  - `primaryColor` string, nullable
  - `userBubbleColor` string, nullable
  - `userBubbleTextColor` string, nullable
  - `botBubbleColor` string, nullable
  - `botBubbleTextColor` string, nullable
  - `headerGradientFrom` string, nullable
  - `headerGradientTo` string, nullable
  - `launcherSize` string, nullable
  - `borderRadius` string, nullable
  - `shadowSize` string, nullable
  - `inputPlaceholder` string, nullable
  - `suggestions` string[], nullable
  - `hideSuggestionsOnInteract` boolean, nullable
  - `previewMessages` string[], nullable
  - `autoShowPreviewDelay` integer, nullable
  - `showBranding` boolean, nullable
  - `privacyPolicyUrl` string, nullable
  - `enableLeadCapture` boolean, nullable
  - `leadCaptureKeywords` string[], nullable
  - `leadCaptureMinutesThreshold` integer, nullable
  - `leadCaptureMessageThreshold` integer, nullable
  - `targetAgentIdForLeads` string, nullable
  - `enableBrochure` boolean, nullable
  - `brochureSuggestionText` string, nullable
  - `allowedDomains` string[], nullable
  - `enableVoiceCall` boolean, nullable
  - `selectedUseCaseId` string, nullable

## Response `200`

Successful Response

- EchoConfigResponse
  - `id` string, required
  - `workspaceId` string, required
  - `position` string, required
  - `theme` string, required
  - `agentName` string, required
  - `welcomeMessage` string, required
  - `logoUrl` string, nullable
  - `primaryColor` string, required
  - `userBubbleColor` string, required
  - `userBubbleTextColor` string, required
  - `botBubbleColor` string, required
  - `botBubbleTextColor` string, required
  - `headerGradientFrom` string, required
  - `headerGradientTo` string, required
  - `launcherSize` string, required
  - `borderRadius` string, required
  - `shadowSize` string, required
  - `inputPlaceholder` string, required
  - `suggestions` string[]
  - `hideSuggestionsOnInteract` boolean
  - `previewMessages` string[]
  - `autoShowPreviewDelay` integer
  - `showBranding` boolean
  - `privacyPolicyUrl` string, required
  - `enableLeadCapture` boolean
  - `leadCaptureKeywords` string[]
  - `leadCaptureMinutesThreshold` integer
  - `leadCaptureMessageThreshold` integer
  - `targetAgentIdForLeads` string, nullable
  - `enableBrochure` boolean
  - `brochureSuggestionText` string, required
  - `allowedDomains` string[]
  - `enableVoiceCall` boolean
  - `selectedUseCaseId` string, nullable
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/outcallerai/apis/fastapi.md) · [All operations](https://skmtc.net/outcallerai/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/outcallerai/fastapi/revisions/a57f684e7966/schema)
