---
title: "Update Discord bot connection configuration"
method: PATCH
path: "/integrations/connections/{connectionId}/discord-configuration"
tags: ["Integrations"]
---

# Update Discord bot connection configuration

`PATCH /integrations/connections/{connectionId}/discord-configuration`

## Request

- Base URL: `https://api.sazabi.com/v1`
- URL: `https://api.sazabi.com/v1/integrations/connections/{connectionId}/discord-configuration`
- Auth: none declared
- TypeScript: <https://skmtc.dev/sazabi/apis/sazabi-public-api/docs/integrations/connections/:connectionId/discord-configuration/patch.ts> (a function with typed inputs; its response is checked against the schema)

Update a Discord bot connection's configuration. Omitted fields are left unchanged.

## Path parameters

- `connectionId` string, uuid, required: Discord bot integration connection ID (the `integration_connections.id`).

## Request body

- object
  - `organizationId` string: Organization the connection belongs to. Auto-filled from CLI and SDK context when omitted.
  - `defaultProjectId` string, uuid, nullable: Project conversations run in when no channel mapping matches. Must belong to the organization. Pass null to clear it (conversations then run in the organization's primary project). Omit to leave unchanged.
  - `automaticResponses` boolean: Turn automatic responses on or off. Omit to leave unchanged.

## Response `200`

OK

- object
  - `connectionId` string, uuid, required
  - `defaultProjectId` string, uuid, nullable, required: Project conversations run in when no channel mapping matches. Null means the organization's primary project.
  - `automaticResponses` boolean, required: Whether Sazabi replies in a conversation it is already part of without being @mentioned, and only when the message is relevant. Off by default. An explicit @mention or a direct message is answered either way.

## Changes

- **2026-11-08** `6ff191bb559b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sazabi/apis/sazabi-public-api/changes/integrations/connections/:connectionId/discord-configuration/patch.md)

---

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