---
title: "Set Notification Preference"
method: POST
path: "/settings/notifications/preferences"
tags: ["settings"]
---

# Set Notification Preference

`POST /settings/notifications/preferences`

Upsert the current user's preference for a single notification type.

## Request body

- NotificationPreferenceRequest — Request body for setting a user's preference for a notification type.
  - `notification_type` string, required
  - `enabled` boolean, required
  - `scope` 'all' | 'assigned' — How widely a user wants to receive a (scope-supporting) notification. ALL means every event of this type at the company; ASSIGNED narrows it to the subset that concerns the user. What "assigned" resolves to is defined by the definition's AssignedScopeSpec.kind.

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/kobaltlabs/apis/fastapi.md) · [All operations](https://skmtc.dev/kobaltlabs/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kobaltlabs/fastapi/revisions/3ff4c0bd276b/schema)
