# Organisations

Celerbeam's customers. Each owns its Channels, its Viewers and its team.

Part of the [Celerbeam API and MCP reference](https://celerbeam.com/docs/api/index.md). HTML version: https://celerbeam.com/docs/api/organisations/

## List Organisations

`GET /v1/organisations`

Every Organisation for the Platform admin; otherwise the Organisations the caller has a Membership in. Oldest first, by `created_at`. The Platform admin also gets each Organisation's `counts`, and everyone else `null`.

- MCP tool: `list_organisations` (read-only)
- Auth: Bearer token (`bearerAuth`)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `cursor` | query | `string` | no | The `next_cursor` from the previous page. Omit it for the first page. At least 1 character. |
| `limit` | query | `integer` | no | The most items to return. 1 to 100. Default `50`. |

### Responses

| Status | Description | Body |
| --- | --- | --- |
| 200 | One page of Organisations. | `OrganisationPage` (`application/json`) |
| 400 | The request is malformed or fails validation (`invalid_request`), or an ID has the wrong prefix for its field (`invalid_id`). `errors` names each invalid field. | `Problem` (`application/problem+json`) |
| 401 | No valid bearer token (`unauthenticated`). Header `WWW-Authenticate`: The bearer challenge, per RFC 6750. | `Problem` (`application/problem+json`) |
| 403 | The caller can see the resource, but their Role doesn't allow this operation (`forbidden`). The attempt is audited with `result=denied`. | `Problem` (`application/problem+json`) |

## Create an Organisation

`POST /v1/organisations`

Creates an Organisation and its first Admin. Platform admin only. Records one `organisation.created` audit event.

- MCP tool: `create_organisation` (not destructive)
- Auth: Bearer token (`bearerAuth`)

### Request body

`CreateOrganisationRequest`, as `application/json`. Required.

### Responses

| Status | Description | Body |
| --- | --- | --- |
| 201 | The new Organisation. | `Organisation` (`application/json`) |
| 400 | The request is malformed or fails validation (`invalid_request`), or an ID has the wrong prefix for its field (`invalid_id`). `errors` names each invalid field. | `Problem` (`application/problem+json`) |
| 401 | No valid bearer token (`unauthenticated`). Header `WWW-Authenticate`: The bearer challenge, per RFC 6750. | `Problem` (`application/problem+json`) |
| 403 | The caller can see the resource, but their Role doesn't allow this operation (`forbidden`). The attempt is audited with `result=denied`. | `Problem` (`application/problem+json`) |
| 409 | The change breaks a uniqueness rule or the resource's current state (`conflict`). | `Problem` (`application/problem+json`) |

## Get an Organisation

`GET /v1/organisations/{organisation_id}`

- MCP tool: `get_organisation` (read-only)
- Auth: Bearer token (`bearerAuth`)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `organisation_id` | path | `OrganisationId` | yes | Organisation ID. |

### Responses

| Status | Description | Body |
| --- | --- | --- |
| 200 | The Organisation. | `Organisation` (`application/json`) |
| 400 | The request is malformed or fails validation (`invalid_request`), or an ID has the wrong prefix for its field (`invalid_id`). `errors` names each invalid field. | `Problem` (`application/problem+json`) |
| 401 | No valid bearer token (`unauthenticated`). Header `WWW-Authenticate`: The bearer challenge, per RFC 6750. | `Problem` (`application/problem+json`) |
| 403 | The caller can see the resource, but their Role doesn't allow this operation (`forbidden`). The attempt is audited with `result=denied`. | `Problem` (`application/problem+json`) |
| 404 | The resource doesn't exist, or the caller can't see it (`not_found`). The two are never told apart. | `Problem` (`application/problem+json`) |

## Get the Organisation's Watermark opacity

`GET /v1/organisations/{organisation_id}/watermark-opacity`

How opaque every Viewer's Watermark code is drawn. Anyone with an active Membership, and the Platform admin: every Viewer's ticket carries the same value.

- MCP tool: `get_watermark_opacity` (read-only)
- Auth: Bearer token (`bearerAuth`)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `organisation_id` | path | `OrganisationId` | yes | Organisation ID. |

### Responses

| Status | Description | Body |
| --- | --- | --- |
| 200 | The Organisation's Watermark opacity. | `WatermarkOpacity` (`application/json`) |
| 400 | The request is malformed or fails validation (`invalid_request`), or an ID has the wrong prefix for its field (`invalid_id`). `errors` names each invalid field. | `Problem` (`application/problem+json`) |
| 401 | No valid bearer token (`unauthenticated`). Header `WWW-Authenticate`: The bearer challenge, per RFC 6750. | `Problem` (`application/problem+json`) |
| 403 | The caller can see the resource, but their Role doesn't allow this operation (`forbidden`). The attempt is audited with `result=denied`. | `Problem` (`application/problem+json`) |
| 404 | The resource doesn't exist, or the caller can't see it (`not_found`). The two are never told apart. | `Problem` (`application/problem+json`) |

## Set the Organisation's Watermark opacity

`PUT /v1/organisations/{organisation_id}/watermark-opacity`

Sets how opaque every Viewer's Watermark code is drawn, from 0.3 (the floor) to 1. Admins and the Platform admin. Viewers' apps pick it up with their next ticket, within about a minute, without leaving the Broadcast. Records one `organisation.watermark_opacity_set` audit event; setting the same value changes nothing and records nothing.

- MCP tool: `set_watermark_opacity` (destructive: clients ask before running it)
- Auth: Bearer token (`bearerAuth`)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `organisation_id` | path | `OrganisationId` | yes | Organisation ID. |

### Request body

`SetWatermarkOpacityRequest`, as `application/json`. Required.

### Responses

| Status | Description | Body |
| --- | --- | --- |
| 200 | The Organisation's Watermark opacity, as stored. | `WatermarkOpacity` (`application/json`) |
| 400 | The request is malformed or fails validation (`invalid_request`), or an ID has the wrong prefix for its field (`invalid_id`). `errors` names each invalid field. | `Problem` (`application/problem+json`) |
| 401 | No valid bearer token (`unauthenticated`). Header `WWW-Authenticate`: The bearer challenge, per RFC 6750. | `Problem` (`application/problem+json`) |
| 403 | The caller can see the resource, but their Role doesn't allow this operation (`forbidden`). The attempt is audited with `result=denied`. | `Problem` (`application/problem+json`) |
| 404 | The resource doesn't exist, or the caller can't see it (`not_found`). The two are never told apart. | `Problem` (`application/problem+json`) |
| 409 | The change breaks a uniqueness rule or the resource's current state (`conflict`). | `Problem` (`application/problem+json`) |

## Schemas

### OrganisationPage

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `items` | `array of ListedOrganisation` | yes |  |
| `next_cursor` | `string \| null` | yes | An opaque cursor for the next page, or `null` on the last page. |

### CursorPage

One page of a list. A list response combines this with its own `items` through `allOf`. Pass `next_cursor` back as `cursor` to get the next page; it is `null` on the last page.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `items` | `array of any` | yes |  |
| `next_cursor` | `string \| null` | yes | An opaque cursor for the next page, or `null` on the last page. |

### ListedOrganisation

An Organisation as `list_organisations` gives it, with its counts.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `OrganisationId` | yes | Organisation ID. |
| `name` | `OrganisationName` | yes |  |
| `created_at` | `Timestamp` | yes | UTC, with milliseconds and a `Z` suffix. |
| `counts` | `OrganisationCounts \| null` | yes | How many Channels, team members and Viewers the Organisation has, as of this read. `null` unless the caller is the Platform admin. |

### OrganisationId

Organisation ID.

Type: `string`. Exactly 18 characters. Pattern `^ORG[a-z0-9]{15}$`. Example: `ORG8hfaw8hfpwhjf94`.

### OrganisationName

Type: `string`. 1 to 100 characters. Example: `Northgate Racing Media`.

### Timestamp

UTC, with milliseconds and a `Z` suffix.

Type: `string (date-time)`. Pattern `^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$`. Example: `2026-11-28T14:27:03.412Z`.

### OrganisationCounts

An Organisation's size at a glance, for the Platform admin. Each figure counts what the matching list operation would return, read in full.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `channels` | `integer` | yes | Every Channel, whatever its state (`list_channels`). At least 0. |
| `live_channels` | `integer` | yes | Channels that are `live` now. At least 0. |
| `admins` | `integer` | yes | Team members with the Admin Role (`list_team`). At least 0. |
| `members` | `integer` | yes | Team members with the Member Role. At least 0. |
| `viewers` | `integer` | yes | Every Viewer, deactivated ones included (`list_viewers`). At least 0. |
| `deactivated_viewers` | `integer` | yes | Viewers who are deactivated now. At least 0. |

### Problem

An RFC 9457 problem details object, sent as `application/problem+json`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `type` | `string (uri-reference)` | yes | A URI identifying the problem type. `about:blank` when `code` says enough. Example: `about:blank`. |
| `title` | `string` | yes | A short, human-readable summary of the problem type. Example: `Not found`. |
| `status` | `integer` | yes | The HTTP status code. 400 to 599. Example: `404`. |
| `code` | `string` | yes | A stable, snake_case machine code. Clients branch on this, never on `title`. Pattern `^[a-z][a-z0-9]*(_[a-z0-9]+)*$`. Examples: `not_found`, `invalid_id`. |
| `detail` | `string` | no | A human-readable explanation of this occurrence. |
| `instance` | `string (uri-reference)` | no | The request path that produced the problem. |
| `request_id` | `string` | yes | Links the problem to the request logs and any audit event. |
| `started_by` | `UplinkSessionStarter` | no | `channel_in_use` only: who started the Channel's active Uplink session. |
| `reason` | `string` | no | `session_ended` only: `idle` (unused past its window) or `signed_out` (by another session, e.g. after a password change). One of `idle`, `signed_out`. |
| `errors` | `array of ProblemFieldError` | no | One entry per invalid field, for `invalid_request` and `invalid_id`. |
| `retry_after_seconds` | `integer` | no | `rate_limited` only: how long to wait before trying again, in seconds. At least 0. |

### UplinkSessionStarter

Who pressed Start.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `user_id` | `UserId` | yes | User ID. |
| `name` | `string` | yes | How to show them. Their email, until Users have names. Example: `mike@northgate.example`. |

### UserId

User ID.

Type: `string`. Exactly 18 characters. Pattern `^USR[a-z0-9]{15}$`. Example: `USR8hfaw8hfpwhjf94`.

### ProblemFieldError

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `pointer` | `string` | no | A JSON Pointer into the request body, e.g. `/first_admin_email`. |
| `parameter` | `string` | no | The name of the path, query or header parameter, e.g. `organisation_id`. |
| `detail` | `string` | yes | What is wrong with the field. |

### CreateOrganisationRequest

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | `OrganisationName` | yes |  |
| `first_admin_email` | `Email` | yes | The Organisation's first Admin. Their User is created if this email has none yet. |

### Email

An email address. Compared case-insensitively, and returned in lower case.

Type: `string (email)`. At most 254 characters. Example: `jason@northgate.example`.

### Organisation

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `OrganisationId` | yes | Organisation ID. |
| `name` | `OrganisationName` | yes |  |
| `created_at` | `Timestamp` | yes | UTC, with milliseconds and a `Z` suffix. |

### WatermarkOpacity

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `organisation_id` | `OrganisationId` | yes | Organisation ID. |
| `watermark_opacity` | `WatermarkOpacityValue` | yes | The opacity every Viewer's Watermark code is drawn at. An Organisation that never set one has the floor. |
| `min_watermark_opacity` | `number` | yes | The floor, 0.3. The app never draws the Watermark fainter, whatever is set. One of `0.3`. |
| `updated_at` | `Timestamp \| null` | yes | When an Admin last set it; `null` if no one has. |

### WatermarkOpacityValue

How opaque the Watermark code is drawn, from 0.3 (the floor, C11's 30%) to 1 (opaque).

Type: `number`. 0.3 to 1. Example: `0.45`.

### SetWatermarkOpacityRequest

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `watermark_opacity` | `WatermarkOpacityValue` | yes | How opaque the Watermark code is drawn, from 0.3 (the floor, C11's 30%) to 1 (opaque). |
