# Celerbeam API and MCP reference

The public REST API. Everything the Celerbeam app can do, except stream video.

The app, integrations and the MCP server all use this API. Each operation's `operationId` is also its MCP tool name. See CONVENTIONS.md in `packages/api-spec` for naming, errors and pagination.

HTML version: https://celerbeam.com/docs/api/

## Base URL

- `https://api.celerbeam.com` (Production)

## Authentication

- **Bearer token** (`bearerAuth`): A Cognito access token for people, or an API key for integrations and agents. Locally, a token from the dev sign-in.

## MCP

Every operation is also a tool on the Celerbeam MCP server, which uses Streamable HTTP. The tool has the same name as the operation, and takes the path, query and body fields as one object.
Read-only tools are marked read-only. Tools that change or remove something are marked destructive, so MCP clients ask before running them.

## Errors

Every error is an RFC 9457 problem details object, sent as `application/problem+json`. Branch on its `code`, never on its `title`.

| 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. |

## Sections

- [Me](https://celerbeam.com/docs/api/me/index.md): The signed-in User.
  - `get_me`: `GET /v1/me`
  - `sign_out`: `POST /v1/me/sign-out`
  - `sign_out_other_sessions`: `POST /v1/me/sign-out-others`
- [Organisations](https://celerbeam.com/docs/api/organisations/index.md): Celerbeam's customers. Each owns its Channels, its Viewers and its team.
  - `list_organisations`: `GET /v1/organisations`
  - `create_organisation`: `POST /v1/organisations`
  - `get_organisation`: `GET /v1/organisations/{organisation_id}`
  - `get_watermark_opacity`: `GET /v1/organisations/{organisation_id}/watermark-opacity`
  - `set_watermark_opacity`: `PUT /v1/organisations/{organisation_id}/watermark-opacity`
- [Channels](https://celerbeam.com/docs/api/channels/index.md): An Organisation's long-lived, named feeds, e.g. "Drone 1". Each is Offline, Ready or Live.
  - `list_channels`: `GET /v1/organisations/{organisation_id}/channels`
  - `create_channel`: `POST /v1/organisations/{organisation_id}/channels`
  - `get_channel`: `GET /v1/organisations/{organisation_id}/channels/{channel_id}`
  - `set_channel_note`: `PUT /v1/organisations/{organisation_id}/channels/{channel_id}/note`
  - `clear_channel_note`: `DELETE /v1/organisations/{organisation_id}/channels/{channel_id}/note`
  - `rename_channel`: `POST /v1/organisations/{organisation_id}/channels/{channel_id}/rename`
- [Team](https://celerbeam.com/docs/api/team/index.md): An Organisation's Members and Admins.
  - `list_team`: `GET /v1/organisations/{organisation_id}/team-members`
  - `add_team_member`: `POST /v1/organisations/{organisation_id}/team-members`
  - `change_team_member_role`: `POST /v1/organisations/{organisation_id}/team-members/{membership_id}/role`
- [Viewers](https://celerbeam.com/docs/api/viewers/index.md): The people who watch an Organisation's Broadcasts, each with a Watermark code. Deactivate cuts one off, and Reactivate lets them back.
  - `list_viewers`: `GET /v1/organisations/{organisation_id}/viewers`
  - `add_viewer`: `POST /v1/organisations/{organisation_id}/viewers`
  - `get_viewer`: `GET /v1/organisations/{organisation_id}/viewers/{viewer_id}`
  - `deactivate_viewer`: `POST /v1/organisations/{organisation_id}/viewers/{viewer_id}/deactivate`
  - `reactivate_viewer`: `POST /v1/organisations/{organisation_id}/viewers/{viewer_id}/reactivate`
  - `find_viewer_by_watermark`: `GET /v1/organisations/{organisation_id}/watermark-codes/{watermark_code}`
- [Audit log](https://celerbeam.com/docs/api/audit-log/index.md): An append-only record of every change. See ADR 0006.
  - `list_platform_audit_events`: `GET /v1/audit-events`
  - `list_audit_events`: `GET /v1/organisations/{organisation_id}/audit-events`
- [Email log](https://celerbeam.com/docs/api/email-log/index.md): Every email the system queued or sent, with its bodies and delivery status, for the Platform admin. See ADR 0021.
  - `list_emails`: `GET /v1/emails`
  - `get_email`: `GET /v1/emails/{email_id}`
  - `resend_email`: `POST /v1/emails/{email_id}/resend`
- [Platform admins](https://celerbeam.com/docs/api/platform-admins/index.md): Celerbeam staff, who act as an Admin in every Organisation. Only Platform admins grant and revoke it.
  - `list_platform_admins`: `GET /v1/platform-admins`
  - `grant_platform_admin`: `POST /v1/platform-admins`
  - `revoke_platform_admin`: `DELETE /v1/platform-admins/{email}`
- [Broadcasts](https://celerbeam.com/docs/api/broadcasts/index.md): Streaming to a Channel: an Uplink session makes it Ready, Go live starts a Broadcast, and Stop ends it.
  - `list_broadcasts`: `GET /v1/organisations/{organisation_id}/broadcasts`
  - `get_broadcast`: `GET /v1/organisations/{organisation_id}/broadcasts/{broadcast_id}`
  - `rename_broadcast`: `POST /v1/organisations/{organisation_id}/broadcasts/{broadcast_id}/rename`
  - `stop_broadcast`: `POST /v1/organisations/{organisation_id}/broadcasts/{broadcast_id}/stop`
  - `go_live`: `POST /v1/organisations/{organisation_id}/channels/{channel_id}/go-live`
  - `get_run_sheet`: `GET /v1/organisations/{organisation_id}/channels/{channel_id}/run-sheet`
  - `set_run_sheet`: `PUT /v1/organisations/{organisation_id}/channels/{channel_id}/run-sheet`
  - `start_uplink_session`: `POST /v1/organisations/{organisation_id}/channels/{channel_id}/uplink-sessions`
  - `get_uplink_session`: `GET /v1/organisations/{organisation_id}/uplink-sessions/{uplink_session_id}`
  - `end_uplink_session`: `POST /v1/organisations/{organisation_id}/uplink-sessions/{uplink_session_id}/end`
  - `issue_sender_ticket`: `POST /v1/organisations/{organisation_id}/uplink-sessions/{uplink_session_id}/sender-tickets`
  - `set_up_next_title`: `PUT /v1/organisations/{organisation_id}/uplink-sessions/{uplink_session_id}/up-next-title`
  - `clear_up_next_title`: `DELETE /v1/organisations/{organisation_id}/uplink-sessions/{uplink_session_id}/up-next-title`
- [Devices](https://celerbeam.com/docs/api/devices/index.md): The app installs a User signs in on. Tickets go to a User on their own device.
  - `register_device`: `POST /v1/devices`
- [Diagnostics](https://celerbeam.com/docs/api/diagnostics/index.md): Error events and recent logs the app sends, before and after sign-in, for the Platform admin to support Users. See ADR 0020.
  - `list_diagnostics`: `GET /v1/diagnostics`
  - `submit_diagnostics`: `POST /v1/diagnostics`
  - `list_crash_reports`: `GET /v1/diagnostics/crash-reports`
  - `create_crash_report`: `POST /v1/diagnostics/crash-reports`
  - `get_crash_report`: `GET /v1/diagnostics/crash-reports/{crash_report_id}`
  - `list_crash_signatures`: `GET /v1/diagnostics/crash-signatures`
  - `get_error_event`: `GET /v1/diagnostics/errors/{error_event_id}`
  - `get_log_upload`: `GET /v1/diagnostics/logs/{log_upload_id}`
- [Operations](https://celerbeam.com/docs/api/operations/index.md): The relays’ health, from their heartbeats, and the versions running beside the versions available, for the Platform admin.
  - `list_relays`: `GET /v1/relays`
  - `get_versions`: `GET /v1/versions`
- [Support](https://celerbeam.com/docs/api/support/index.md): The support timeline, merging the app's records with the relays' events, and release health per app version, for the Platform admin. See ADR 0020.
  - `get_release_health`: `GET /v1/support/release-health`
  - `list_support_timeline`: `GET /v1/support/timeline`
- [Watching](https://celerbeam.com/docs/api/watching/index.md): Tickets that admit a device to a stream on a relay, and the media keys that decrypt it.
  - `get_broadcast_media_key`: `GET /v1/organisations/{organisation_id}/broadcasts/{broadcast_id}/media-key`
  - `issue_viewer_ticket`: `POST /v1/organisations/{organisation_id}/broadcasts/{broadcast_id}/viewer-tickets`
  - `get_uplink_media_key`: `GET /v1/organisations/{organisation_id}/uplink-sessions/{uplink_session_id}/media-key`
  - `issue_preview_ticket`: `POST /v1/organisations/{organisation_id}/uplink-sessions/{uplink_session_id}/preview-tickets`
  - `get_ticket_keys`: `GET /v1/ticket-keys`
