---
title: "Set User Notification Preference"
method: PUT
path: "/internal/notifications/users/{user_id}/preferences"
tags: ["internal"]
---

# Set User Notification Preference

`PUT /internal/notifications/users/{user_id}/preferences`

## Request

- Base URL: `https://api.kobaltlabs.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kobaltlabs.com/internal/notifications/users/{user_id}/preferences`
- Auth: none declared

Set an explicit override for a single notification type on a user.

## Path parameters

- `user_id` string, uuid, required

## Request body

- SetUserNotificationPreferenceRequest
  - `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/kobaltlabs-api.md) - [All operations](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api/revisions/8587332d5e43?raw)
