---
title: "Update your company's notification settings"
url: https://docs.corefinity.com/api/reference/organisation/update-company-settings
type: endpoint
last_updated: 2026-11-13
feature: team
related:
  - https://docs.corefinity.com/guides/organisation/people/users-and-invitations.md
  - https://docs.corefinity.com/mcp/tools/corestack_company_update.md
---
# Update your company's notification settings

Changes your company's alert preferences and the Slack channel each kind of notification goes to. Anything you
leave out stays as it is; send at least one setting. A channel must be one of your connected Slack workspace's
channels, with or without the leading `#`; `null` means no channel. The company's name, phone number and
address cannot be changed here.

```http
PUT /api/company
```

- Scope: `write`
- Rate limit: 60 a minute
- Try it in the console: on

## Body

- `alerts_notifications` (boolean)
- `deployment_started_notifications` (boolean)
- `slack_channels` (object): The channels to change. A key left out stays as it is.
  - `alerts` (string or null)
  - `deployment_started` (string or null)
  - `deployments` (string or null)
  - `maintenance_windows` (string or null)
  - `tickets` (string or null)

## Request

### curl

```bash
curl -X PUT https://manage.corefinity.com/api/company \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "alerts_notifications": false,
    "deployment_started_notifications": true
  }'
```

### PHP

```php
use Illuminate\Support\Facades\Http;

$response = Http::withToken(env('COREFINITY_TOKEN'))
    ->acceptJson()
    ->put('https://manage.corefinity.com/api/company', [
        'alerts_notifications' => false,
        'deployment_started_notifications' => true,
    ]);

$data = $response->json();
```

### Node

```javascript
const res = await fetch('https://manage.corefinity.com/api/company', {
  method: 'PUT',
  headers: {
    Authorization: `Bearer ${process.env.COREFINITY_TOKEN}`,
    Accept: 'application/json',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    alerts_notifications: false,
    deployment_started_notifications: true,
  }),
});

// An answer with no body (204) has nothing to parse.
const text = await res.text();
const data = text && JSON.parse(text);
```

### Python

```python
import os
import requests

res = requests.put(
    "https://manage.corefinity.com/api/company",
    headers={
        "Authorization": f"Bearer {os.environ['COREFINITY_TOKEN']}",
        "Accept": "application/json",
    },
    json={
        "alerts_notifications": False,
        "deployment_started_notifications": True,
    },
)

data = res.json() if res.content else None
```

## Responses

### 200 The company and its settings as they are now.

```json
{
  "data": {
    "address": "14 Quay Street, Anytown, AB1 2CD",
    "can_change": true,
    "country": "GB",
    "id": 1204,
    "name": "Harbour & Finch",
    "phone": "+44 20 7946 0142",
    "settings": {
      "alerts_notifications": false,
      "deployment_started_notifications": true,
      "slack_channels": {
        "alerts": "#alerts",
        "deployment_started": null,
        "deployments": "#deployments",
        "maintenance_windows": null,
        "tickets": null
      }
    },
    "slack": {
      "connected": true,
      "delivery": [],
      "workspace": "harbourandfinch"
    },
    "type": "client"
  }
}
```

### 401 No token, or a token that is not valid.

```json
{
  "message": "Unauthenticated."
}
```

### 403 The token lacks the scope this endpoint needs. `scope` names it.

```json
{
  "code": "scope_required",
  "message": "This access token does not have the destructive scope this needs. Use a token with the destructive scope.",
  "reason": "scope_required",
  "scope": "destructive"
}
```

### 404 Your account belongs to no company.

```json
{
  "message": "Not found."
}
```

### 409 A Slack channel was chosen, but your company has not connected Slack (`not_connected`).

```json
{
  "code": "not_connected",
  "message": "Your company has not connected Slack, so a Slack channel cannot be chosen. Connect Slack on the My Company page first.",
  "reason": "not_connected",
  "status": "error"
}
```

### 422 A field is wrong (`invalid`): no setting was sent (on `settings`), `slack_channels` names a key it does not have, a channel is not one of your workspace's that the Corefinity app can post to (on `slack_channels.<key>`), or Slack could not list your channels.

```json
{
  "code": "invalid",
  "errors": {
    "slack_channels.alerts": [
      "Your Slack workspace has no channel #releases that the Corefinity app can post to."
    ]
  },
  "field": "slack_channels.alerts",
  "message": "Your Slack workspace has no channel #releases that the Corefinity app can post to.",
  "reason": "invalid"
}
```

### 429 Too many requests (`rate_limited`). Wait for the number of seconds in `Retry-After`, which `retry_after_seconds` repeats.

```json
{
  "code": "rate_limited",
  "message": "Too many requests. Try again in 60 seconds.",
  "reason": "rate_limited",
  "retry_after_seconds": 60
}
```

## If it is refused

| Status | Reason | What to do |
|---|---|---|
| 401 |  | Send a valid token as `Authorization: Bearer <token>`. |
| 403 | `scope_required` | Use a token with the scope named in `scope`. |
| 404 |  | Check the id. You see only what your account can reach. |
| 409 | `not_connected` | The outside account this needs is not connected for your company. Connect it first; the message names it. |
| 422 | `invalid` | Fix the field named in `field`; `errors` says why. |
| 429 | `rate_limited` | Wait for the seconds in `Retry-After`. |

## The same task elsewhere

- Guide: [Users and invitations](https://docs.corefinity.com/guides/organisation/people/users-and-invitations.md)
- MCP tool: [`corestack_company_update`](https://docs.corefinity.com/mcp/tools/corestack_company_update.md)
