# notifications.preferences.update

Turn the signed-in member's join notices on or off, by email and in Oatmilk. Requires an idempotencyKey. It never changes another member's choice.

`POST /api/v1/accounting/notifications.preferences.update`

Permissions: `accounting:read`, `accounting:write` · Roles: admin, finance · Idempotency key required

MCP tool: `accounting_notifications_preferences_update`

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `joins` | object | Yes | No other fields. |
| `joins.email` | boolean |  | An email address. |
| `joins.inApp` | boolean |  |  |
| `idempotencyKey` | string | Yes | Any unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match. 8–200 characters. |

## Example request

```bash
curl https://app.getoatmilk.com/api/v1/accounting/notifications.preferences.update \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "joins": {
    "email": true
  }
}'
```

Reference page: https://app.getoatmilk.com/docs/api/notifications.preferences.update
