---
title: "Update Bot Preference"
method: PATCH
path: "/developer/bot-preference"
tags: ["Developer", "Developer - Bot Config"]
---

# Update Bot Preference

`PATCH /developer/bot-preference`

Update the bot preference for the current customer.

This endpoint is restricted to developer users only.
Toggles between custom bot and Pipecat Cloud (dev environment only).

- **use_custom_bot**: Whether to use custom bot instead of Pipecat Cloud

## Request body

- UpdateBotPreferenceRequest — Request to update customer's bot preference
  - `use_custom_bot` boolean, required — Whether to use custom bot instead of Pipecat Cloud (dev environment only)

## Response `200`

Successful Response

- BotPreferenceResponse — Response with customer's bot preference
  - `customer_id` string, uuid, required — The customer ID
  - `use_custom_bot` boolean, required — Whether custom bot is enabled
  - `custom_bot_available` boolean, required — Whether custom bot is configured and available

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/openintake/apis/fastapi.md) · [All operations](https://skmtc.dev/openintake/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openintake/fastapi/revisions/4a81645b59f6/schema)
