Cloud API reference
The Cloud API lets an integration control a running RCP production over the internet. It supports camera controls, presets, controller selection, routing and live state. Start with Cloud API to create credentials.
All HTTP paths below use https://api.cloud.multicam.systems. Requests and responses use JSON unless stated otherwise. Example credentials and IDs are fictional. Responses marked as excerpts omit unrelated fields.
Credentials
There are two credentials in the setup:
| Credential | Used for |
|---|---|
| Organization access token | List Cloud projects and create, list or revoke their integration clients |
| Project control token | Discover connected instances and control the one project assigned to the client |
Get a project control token
/control/v1/oauth/token- Request
- Response
POST /control/v1/oauth/token HTTP/1.1
Host: api.cloud.multicam.systems
Content-Type: application/json
{
"grant_type": "client_credentials",
"client_id": "example-project-client",
"client_secret": "example-project-secret"
}
{
"access_token": "example-control-token",
"token_type": "Bearer",
"expires_in": 300,
"scope": "monitor control"
}
Send the returned token in Authorization: Bearer example-control-token. Request a new token before expires_in seconds elapse. There is no refresh-token exchange.
The endpoint also accepts HTTP Basic authentication with the project client's ID and secret, plus form data grant_type=client_credentials.
Manage project clients
These routes require an organization administrator's access token.
| Method and path | Request | Response |
|---|---|---|
POST /control/v1/clients | JSON: name, orgId, productionId, scopes | 201: {client, clientSecret} |
GET /control/v1/clients?orgId=ORG&productionId=PROJECT | Organization and project IDs | 200: {clients: [...]} |
DELETE /control/v1/clients/CLIENT?orgId=ORG | Client and organization IDs | 204, no body |
productionId is the Cloud project's id. name is 1–100 characters. scopes is an array containing monitor, control and/or routing, and defaults to monitor when omitted.
Client records include clientId, name, orgId, productionId, scopes, status and timestamps. Only creation returns the secret. To change permissions or replace the secret, create a replacement client and revoke the old one.
Revocation invalidates the client's control tokens and closes its state subscriptions on their next access check. Commands already accepted by RCP can finish.
Connect to an instance
With a project control token, discover the assigned project and its connected instances:
/control/v1/productions- Request
- Response
GET /control/v1/productions HTTP/1.1
Host: api.cloud.multicam.systems
Authorization: Bearer example-control-token
{
"apiVersion": "1.0-preview",
"productions": [{
"id": "project-id",
"orgId": "org-id",
"instances": [{"id": "core-id", "name": "Studio Core"}]
}],
"generatedAtMs": 1791676800000
}
Choose the RCP Core running the project. Use its instance ID in this connection base:
https://api.cloud.multicam.systems/control/v1/productions/project-id/instances/core-id
The connection stays attached to that instance. It does not switch to another computer if Core becomes unavailable.
| Path after the connection base | Method | Scope | Returns |
|---|---|---|---|
/api/v1/info | GET | monitor | Project identity, capabilities, scopes, limits and server clock |
/api/v1/state | GET | monitor | Live cameras, controls, seats, controller switchers and routing |
/api/v1/openapi.json | GET | monitor | API schema |
/api/v1/commands | POST | control, or routing for routeSet | Command receipt |
/api/v1/events | WebSocket | monitor | Snapshot followed by state changes |
The public OpenAPI document describes the instance API without requiring a token. The API is currently a preview. Use info to discover the connected Core's capabilities.
Read state
This example shows one camera and one control from the response:
/control/v1/productions/project-id/instances/core-id/api/v1/state- Request
- Response
GET /control/v1/productions/project-id/instances/core-id/api/v1/state HTTP/1.1
Host: api.cloud.multicam.systems
Authorization: Bearer example-control-token
{
"apiVersion": "1.0-preview",
"instanceId": "core-id",
"generatedAtMs": 1791676800000,
"live": true,
"state": {
"cameras": [{
"uuid": "camera-id",
"name": "Stage left",
"controls": [{
"id": "iris_absolute",
"value": 0.5,
"min": 0,
"max": 1,
"writable": true,
"resolvedCameraId": "camera-id"
}]
}]
}
}
This state comes from the running RCP instance. The full response also includes seats, routing and controller switchers.
Use each camera's uuid as its API identifier. Each control includes its id, writable flag, resolvedCameraId, value and supported range or choices. actual contains hardware readback when available, while desired contains the requested value.
Send commands
Send a JSON command to POST /api/v1/commands at the connection base.
| Field | Value |
|---|---|
requestId | Unique string, 1–128 characters |
sentAtMs | Current Unix time in milliseconds |
ttlMs | Command lifetime, 1–2000 milliseconds |
operation | One of the operations below |
Check the serverTimeMs returned by info when synchronizing the client clock. RCP rejects expired commands and timestamps more than one second ahead of its clock.
| Operation | Fields inside operation |
|---|---|
controlSet | cameraId, controlId, expectedCameraId, value |
controlAdjust | cameraId, controlId, expectedCameraId, direction (-1 or 1), step (small, normal or big) |
controllerSelect | switcherId, expectedGeneration, choiceId |
presetRecall, presetStore, presetClear | cameraId, kind (ptz or scene), number (zero-based, 0–999), expectedGeneration |
routeSet | busId, input, output from routing discovery |
For camera controls, set expectedCameraId to the control's discovered resolvedCameraId. For controller selection and presets, use state.controllerSwitchers.generation as expectedGeneration. This lets RCP reject a command if the assignment has changed.
For controller selection, the running Core also accepts slotId or action instead of choiceId. Set action to nextCamera or previousCamera.
Using the camera discovered above, this request sets its iris to 0.6. Use a new request ID and the current timestamp when sending it:
/control/v1/productions/project-id/instances/core-id/api/v1/commands- Request
- Response
POST /control/v1/productions/project-id/instances/core-id/api/v1/commands HTTP/1.1
Host: api.cloud.multicam.systems
Authorization: Bearer example-control-token
Content-Type: application/json
{
"requestId": "iris-001",
"sentAtMs": 1791676800000,
"ttlMs": 2000,
"operation": {
"type": "controlSet",
"cameraId": "camera-id",
"controlId": "iris_absolute",
"expectedCameraId": "camera-id",
"value": 0.6
}
}
{
"requestId": "iris-001",
"status": "accepted",
"dispatchStatus": "applied",
"errorCode": null,
"revision": 42
}
Read status and dispatchStatus to check the outcome. A receipt can report a rejected command even with HTTP 200. Acceptance means RCP admitted the command. Observe actual readback to confirm a hardware change where the device supports it.
If the request times out, retry the same command body and request ID. RCP keeps receipts for 60 seconds. After that, read the current state before sending a new command.
Continuous pan, tilt, zoom and focus movement are unavailable in this API. PTZ preset recall is supported. Cloud image delivery is also unavailable.
Subscribe to state
WebSocket supplies the initial state and subsequent changes. Continue to send commands over REST.
Send authentication as the first message within three seconds, or include the bearer token in the WebSocket handshake. The server messages below are excerpts showing a camera being renamed.
/control/v1/productions/project-id/instances/core-id/api/v1/events- Authenticate
- Snapshot
- Update
{"token": "example-control-token"}
{
"apiVersion": "1.0-preview",
"type": "snapshot",
"revision": 1,
"baseRevision": null,
"replace": {
"cameras": [{"uuid": "camera-id", "name": "Camera 1"}]
},
"instanceId": "core-id",
"generatedAtMs": 1791676800000
}
{
"apiVersion": "1.0-preview",
"type": "update",
"revision": 2,
"baseRevision": 1,
"replace": {
"cameras": [{"uuid": "camera-id", "name": "Stage left"}]
},
"instanceId": "core-id",
"generatedAtMs": 1791676801000
}
Replace every collection included in replace in full. An empty array removes its previous contents. If baseRevision differs from the last revision received, send {"type":"resync"} and replace the model with the next snapshot.
When the token expires, obtain a new token and reconnect. Reconnection starts a new snapshot and revision sequence.
Errors
Control requests return an error object containing a code and, when available, a message.
| Response | Meaning |
|---|---|
400 / 422 | Invalid fields or values. Check the error code and discovery data. |
401 | Invalid, expired or revoked token |
403 project_mismatch | The token belongs to another project |
403 insufficient_scope | The client lacks the required permission |
403 ORG_ADMIN_REQUIRED | Client management requires organization admin access |
404 | The requested project, client or target does not exist or is inaccessible |
409 assignment_changed | Refresh state before selecting the target again |
409 expired | The timestamp is too old or more than one second ahead. Synchronize the client clock and send a fresh command. |
Other 409 | Check request ID reuse or the active project on the target |
429 | Reduce requests or subscriptions. Token requests may include Retry-After. |
503 | Core is unavailable, the target is a Satellite, or connection capacity is reached |
Token-exchange errors use OAuth fields instead: error: "invalid_client", "unsupported_grant_type" or "slow_down".
Discovery and schema endpoints use INSUFFICIENT_SCOPE and PRODUCTION_SCOPE_MISMATCH for the corresponding permission and project errors.
WebSocket close codes include 4400 for an invalid message, 4401 for authentication timeout, expired access or an unavailable target, and 4403 for an unavailable target or denied access.