---
title: "Update my email preferences"
method: POST
path: "/organizations/updateMyEmailPreferences"
tags: ["Organizations"]
---

# Update my email preferences

`POST /organizations/updateMyEmailPreferences`

## Request

- Base URL: `https://api.databuddy.cc`
- URL: `https://api.databuddy.cc/organizations/updateMyEmailPreferences`
- Auth: API key in header `x-api-key`

Turns one organization email topic on or off for the signed-in member only.

## Request body

- object
  - `enabled` boolean, required
  - `organizationId` string, required
  - `topic` 'ai-digest' | 'tracking-health' | 'usage-warnings', required

## Response `200`

OK

- object
  - `optOuts` string[], required
  - `receivesOrganizationEmails` boolean, required

## Other responses

- `400`: 400
- `401`: 401
- `402`: 402
- `403`: 403
- `404`: 404
- `409`: 409
- `429`: 429
- `500`: 500
- `503`: 503

---

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