---
title: "Set the workspace master switch for AI DM auto-send"
method: PATCH
path: "/api/settings/auto-send"
tags: ["Settings"]
---

# Set the workspace master switch for AI DM auto-send

`PATCH /api/settings/auto-send`

## Request

- Base URL: `https://api.setluca.com`
- URL: `https://api.setluca.com/api/settings/auto-send`
- Auth: API key in cookie `luca.session_token`

The master switch for Luca-drafted DM replies. Off, nothing auto-sends and every draft waits in review. On, each Telegram, Instagram, and Messenger account follows its own switch under /api/channels/{id}/auto-send, which this setting never changes. WhatsApp AI replies always stay in review. Safety holds and rejected drafts stay in review.

**Session-only.** This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.

## Headers

- `Luca-API-Version` '1'

## Request body

- AutoSendPatch
  - `enabled` boolean, required

## Response `200`

ok

- AutoSendResponse
  - `ok` true, required
  - `enabled` boolean, required

## Other responses

- `400`: bad request
- `401`: unauthorized
- `429`: rate limited
- `500`: internal error
- `503`: service unavailable

---

[API](https://skmtc.dev/setluca/apis/luca-api.md) · [All operations](https://skmtc.dev/setluca/apis/luca-api/llms.txt) · [OpenAPI document](https://skmtc.dev/setluca/apis/luca-api/revisions/90a200e4100b?raw)
