---
title: "Set Company Notification Preference"
method: PUT
path: "/company-notifications/preferences"
tags: ["company-notifications"]
---

# Set Company Notification Preference

`PUT /company-notifications/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/company-notifications/preferences`
- Auth: none declared

Upsert the current company's configuration for a single notification type.

## Request body

- CompanyNotificationPreferenceUpsert: Request body for upserting the company's preference for one notification type.
  - `notification_type` string, required
  - `enabled` boolean, required

## Response `200`

Successful Response

- CompanyNotificationPreference: A company-wide notification type and the company's effective configuration.
  - `notification_type` string, required
  - `label` string, required
  - `description` string, required
  - `enabled` boolean, required

## 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)
