Settings - Web API

Prev Next

The Web API feature in Composer enables external application control using HTTP or WebSockets. This allows third-party applications, automation scripts, and custom integrations to interact with and control Composer remotely.

Image


Web API Settings

These settings control the primary HTTP API functionality.

SettingDescription
Enable Web APIEnables or disables the HTTP API. When enabled, Composer listens for incoming HTTP requests on the configured port.
Web API listening portThe TCP port number on which the Web API listens for incoming HTTP requests.
Web API Https FQDNThe Fully Qualified Domain Name (FQDN) used for HTTPS connections. Configure this when you need secure HTTPS access to the API.
Disable Web API when project not runningWhen enabled, the Web API will only respond to requests while a project is actively running. This prevents API access when Composer is idle.

Connectors

Connectors allow you to define automated actions that can be triggered via the API. This section controls how connector invocations are handled.

Connector Behaviour

Controls how Composer handles multiple connector invocations.

OptionDescription
Default (always allow connectors to be invoked)No restrictions. Multiple connectors can be invoked simultaneously without any warnings or limitations.
Warn on invoke while a connector is runningDisplays a warning when attempting to invoke a connector while another connector is already running, but still allows the invocation.
Warn and prohibit invoke while a connector is runningDisplays a warning and prevents invoking a new connector while another connector is currently running.
On invoke, stop already running connectorsWhen a new connector is invoked, any currently running connectors are automatically stopped before the new one begins.

WebSockets

WebSockets provide real-time, bidirectional communication between Composer and external applications. This is ideal for scenarios requiring live updates or continuous data streams. 

Read more about the WebSocketAPI and explore our examples and other configuration snippets to help you get started.


SettingDescription
Enable WebSocketsEnables or disables WebSocket communication. When enabled, Composer accepts WebSocket connections on the configured hostname and port.
HostnameThe hostname or IP address on which the WebSocket server listens for connections.
PortThe TCP port number for WebSocket connections.
Throttled properties update frequencyControls how often property updates are sent to connected WebSocket clients. See frequency options below.
Max message queue length (1-500)The maximum number of incoming messages that can be queued for processing. Valid range: 1 to 500. Higher values allow for more buffering but consume more memory.

Throttled Properties Update Frequency Options

This setting controls the rate at which property updates are broadcast to WebSocket clients. Lower frequencies reduce network traffic and CPU usage but result in less frequent updates.

OptionDescription
Default (Composer decides)Composer automatically determines the optimal update frequency based on system performance.
Every frameUpdates are sent every frame (highest frequency, most network traffic).
Every second frameUpdates are sent every 2nd frame.
Every third frameUpdates are sent every 3rd frame.
Every 4th frameUpdates are sent every 4th frame.
Every 5th frameUpdates are sent every 5th frame.
Every 10th frameUpdates are sent every 10th frame.
Every 20th frameUpdates are sent every 20th frame.
Every 30th frameUpdates are sent every 30th frame (lowest frequency, least network traffic).



Quick Start

  1. Open Settings from the Composer menu

  2. Navigate to the Web API tab

  3. Check Enable Web API to activate HTTP API access

  4. Configure the listening port (default port may vary)

  5. Optionally enable WebSockets for real-time communication

  6. Click OK to save settings

  7. Restart Composer for changes to take effect


Use Cases

  • Remote Control: Trigger scene changes, adjust parameters, or control playback from external applications

  • Automation: Integrate Composer into automated workflows and scheduling systems

  • Custom Interfaces: Build custom control panels or dashboards that interact with Composer

  • Live Production: Enable real-time control during live broadcasts or events

  • Monitoring: Use WebSockets to receive real-time status updates and property changes

Note!
The application must be run with elevated permissions (Administrator) for the HTTP(S) API:s to operate. Changing the configuration requires an application restart.