---
title: "Update Retell Config"
method: PATCH
path: "/api/v1/internal/workspaces/{workspace_id}/retell-config"
tags: ["internal", "workspaces"]
---

# Update Retell Config

`PATCH /api/v1/internal/workspaces/{workspace_id}/retell-config`

Update Retell config and/or flip the auto-dial gate. Admin-only,
audit-logged. Pass an explicit `null` to clear an override; omit a
field to leave it untouched.

## Path parameters

- `workspace_id` string, uuid, required

## Request body

- RetellConfigUpdateRequest — Partial update for per-workspace Retell config (internal admin only). Pass an explicit `null` to clear an override (the dispatch path then falls back to env defaults). Omit a field to leave it untouched. `auto_dial_enabled` is the single gate that turns auto-dial on for the workspace — there is no PostHog flag layered on top, so flipping this to true makes the feature visible to workspace users immediately.
  - `retell_agent_id` string, nullable
  - `retell_qualify_agent_id` string, nullable
  - `retell_from_number` string, nullable
  - `retell_api_key` string, nullable
  - `retell_signing_secret` string, nullable
  - `auto_dial_enabled` boolean, nullable
  - `monthly_dial_minute_cap` integer, nullable

## Response `200`

Successful Response

- RetellConfigResponse — Per-workspace Retell account config. Secrets returned as last-4 masked hints only — never the decrypted value.
  - `retell_agent_id` string, nullable
  - `retell_qualify_agent_id` string, nullable
  - `retell_from_number` string, nullable
  - `retell_api_key_masked` string, nullable
  - `retell_signing_secret_masked` string, nullable
  - `auto_dial_enabled` boolean
  - `monthly_dial_minute_cap` integer, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/maia-analytics/apis/maia-api.md) · [All operations](https://skmtc.dev/maia-analytics/apis/maia-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/maia-analytics/maia-api/revisions/0c94a4b5a00e/schema)
