---
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`

## Request

- Base URL: `https://api.outcallerai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outcallerai.com/api/workspaces/{workspace_id}/echo-config`
- Auth: none declared

## 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
  - `mcpActionsEnabled` boolean, nullable
  - `echoMcpPolicyJson` object, 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
  - `mcpActionsEnabled` boolean
  - `echoMcpPolicyJson` object, nullable
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-10** `29d015ec5474`: 4 info
  - added the new optional request property `echoMcpPolicyJson`
  - added the new optional request property `mcpActionsEnabled`
  - added the optional property `echoMcpPolicyJson` to the response with the `200` status
  - added the optional property `mcpActionsEnabled` to the response with the `200` status
- **2026-07-31** `7c9aff2501f3`: 2 warning, 2 info
  - removed the request property `selectedCampaignId`
  - removed the optional property `selectedCampaignId` from the response with the `200` status
  - added the new optional request property `selectedUseCaseId`
  - added the optional property `selectedUseCaseId` to the response with the `200` status

[Operation history](https://skmtc.dev/outcallerai/apis/outcallerai-api/changes/api/workspaces/:workspace_id/echo-config/put.md)

---

[API](https://skmtc.dev/outcallerai/apis/outcallerai-api.md) - [All operations](https://skmtc.dev/outcallerai/apis/outcallerai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/outcallerai/apis/outcallerai-api/revisions/40736cf433b4?raw)
