---
title: "Set notification preferences"
method: PUT
path: "/api/me/notification-preferences"
---

# Set notification preferences

`PUT /api/me/notification-preferences`

## Request

- Base URL: `https://www.toma.com`
- URL: `https://www.toma.com/api/me/notification-preferences`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `better-auth.session_token`

Application, message, work, file, invitation, and payment alerts are on by default for every Toma tool call. Re-enabling after opting out includes only new events; no email, background push, or delivery receipts. Disabling stops automatic alerts across all connected agents.

## Request body

- object
  - `enabled` boolean, required

## Response `200`

Saved preference.

- object
  - `enabled` boolean, required

## Other responses

- `400`: Check notification preferences.
- `401`: Sign in first.
- `413`: The request body exceeds 2097152 bytes.

---

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