io.Connect APIs and Use Case examples

io.Connect offers a broad range of APIs for everything from app lifecycle management to data sharing, workflow orchestration and observability. In JavaScript, these APIs are accessible through the io object; corresponding capabilities are also available through libraries for .NET, Java and other supported languages, although API availability and functionality can differ.

Below is an overview of the major API domains and their use cases.

API / Feature Description & Use Case
Windows Management (io.windows) Open, find, inspect, and control individual io.Connect windows and window groups. Apps can manage window bounds, focus, visibility, title, size, position, state, and lifecycle. Use case: Opening a pop-out tool window on a specific monitor or activating an existing window.
Workspaces (io.workspaces) Compose multiple app windows into a unified interface inside Workspace Frames. Windows can be arranged in rows, columns, groups, and tabs, and the structure can be created, restored, and modified dynamically. Apps can also define restrictions on which applications users can add to or drag into a Workspace. Use case: Combining a watchlist, chart, news feed, and trade ticket into a single multi-app desktop experience.
Layouts (io.layouts. / io.layouts.v2)* Save, retrieve, restore, and manage application arrangements and state. Layout types include Global, App Default, and Workspace. The new asynchronous API identifies Layouts by ID and supports sharing Global and Workspace Layouts with other users and groups, including view and edit permissions when Layout sharing is enabled. Use case: Restoring a complete working environment, reopening an app with its previously saved state, or publishing a Workspace Layout so colleagues can use it.
Notifications (io.notifications) Raise and manage notifications through a unified notification system. Apps can display notifications in the platform’s notification interface instead of implementing separate notification systems. Notifications can include action buttons that execute callbacks or invoke Interop methods. Use case: Displaying trading alerts and messages from multiple apps in a common notification center, with actions such as opening the relevant client portfolio.
Search (io.search) Provide federated search through a provider-and-client model. Providers query custom data sources and return results asynchronously; clients initiate and cancel searches and receive results in batches. Use case: Searching CRM records, instruments, research, files, and internal knowledge from one interface.
FDC3 (fdc3) Provide standards-based interoperability for financial applications, including contexts, Channels, Intents, and App Directory integration. Use case: Allowing an io.Connect app to participate in FDC3 workflows with applications from other vendors.
App Management (io.apps) Discover and manage registered app definitions, dynamically defined apps, running instances, and the current app instance. The new Apps API is intended to replace the legacy io.appManager API. Use case: Implementing a launcher, starting apps with context, monitoring instance lifecycles, or orchestrating a multi-app workflow. Note: io.apps is still experimental and must be explicitly enabled.
App Preferences (io.prefs) Store persistent, user-specific settings associated with an app. Use case: Remembering filters, selected views, display options, feature settings, or user-defined defaults.
Modals (io.modals) Display platform-consistent alerts and interactive dialogs using the separate Modals API library. Use case: Requesting confirmation, collecting a structured response, or presenting a warning without implementing a separate dialog system in every app.
Hotkeys (io.hotkeys) Register global keyboard shortcuts that trigger functions in your app, even when the app isn’t focused. Hotkeys can be controlled through platform configuration, including app restrictions and reserved key combinations. Use case: Defining a shortcut such as Ctrl+Alt+N to open a new note in a note-taking app.
Interception (io.interception) Intercept supported io.Connect API operations before or after their default execution. Handlers can inspect or modify arguments, prevent an operation from proceeding, or modify its result. Use case: Applying custom validation, routing, or governance logic when an app raises an Intent.
Logging (io.logger) Write application logs into the io.Connect logging system and create named sub-loggers for individual modules or services. Use case: Troubleshooting an integration workflow or correlating application behavior with platform logs.
Platform Lifecycle (io.platform) Control and observe the lifecycle of io.Connect Desktop. Apps can initiate restart or shutdown operations and register handlers to perform cleanup or prevent shutdown. Use case: Saving state, completing cleanup, or preventing shutdown while critical work is unfinished.
Shared Contexts (io.contexts) Share stateful data between apps through named context objects. Apps can create, update, retrieve, and subscribe to shared context data. Use case: Synchronizing a selected customer, security, portfolio, or form state across multiple apps.
Channels (io.channels) Link applications through shared Channel data, often represented by colors. Apps can join and leave Channels, publish data, subscribe to changes, and dynamically add or remove Channels. The API also supports FDC3 contexts and associated metadata. Use case: A user links two charts through the Blue Channel so that changing the selected instrument in one chart updates the other.
Intents (io.intents) Enable action-based integration by letting apps request actions from other apps without knowing their implementation. Apps can discover handlers, raise Intents with context and metadata, and use an Intent Resolver when multiple handlers are available. Use case: Raising an OpenClientProfile Intent from a CRM list to open the full client profile in another application.
Interop Methods (io.interop) Provide cross-app Remote Procedure Calls (RPC) and streaming. Apps can register, discover, and invoke methods, receive results, and subscribe to continuous data streams. Registered method metadata can also be updated dynamically. Use case: One app exposes a getRates(currencyPair) or calculateRisk(portfolio) method that other apps invoke, while market data services stream live updates to subscribers.
Pub/Sub Messaging (io.bus) Provide transient, topic-based messaging, including routing keys and publisher/subscriber targeting. Unlike Shared Contexts, Pub/Sub delivers messages rather than maintaining shared state. Use case: Publishing market-data events or application messages to interested subscribers without requiring them to maintain a shared context.
Themes (io.themes) Discover available platform themes, select a theme, retrieve the current theme, and subscribe to theme changes. Use case: Keeping an app’s custom UI components synchronized with the active light, dark, or organization-specific theme.
Observability (io.insights) Create and publish OpenTelemetry metrics, traces, and logs from applications, alongside telemetry collected automatically by the platform. Use case: Tracking the performance of a multi-app workflow, measuring operation durations, or correlating custom application events with platform traces.
Displays (io.displays) Discover available monitors and their properties, including position, bounds, and resolution. Apps can also capture display screenshots when permitted by configuration. Use case: Building multi-monitor tools, responding to display configuration changes, or capturing screenshots for troubleshooting.
Cookies (io.cookies) Retrieve, set, remove, and filter browser cookies where permitted. Since Desktop 10.5, apps can also copy cookies for specified domains between default and isolated browser sessions. Use case: Transferring an updated authentication cookie from an isolated app session to the default browser session.

* Layouts API change in io.Connect Desktop 10.5
Desktop 10.5 introduced a new, fully asynchronous Layouts API, accessible through io.layouts.v2 in @interopio/desktop 6.23 and later. It replaces the legacy io.layouts API, identifies Layouts by ID, and supports the new Layout sharing functionality.
The new API works with all supported Layout stores, even when Layout sharing isn’t enabled. However, when Layout sharing is enabled, the legacy API becomes unreliable: retrieving Layouts returns empty arrays, operations such as saving and restoring throw errors, and Layout events aren’t raised.
The legacy API is still supported when Layout sharing is disabled, but expect to have it removed in a future release. Developers are strongly encouraged to migrate to the new API.
For more details, see the new Layouts API documentation and the io.Connect Desktop 10.5 changelog.

** About io.Insights: io.Insights is a separate observability product integrated with io.Connect Desktop and Browser. It automatically collects platform telemetry to help monitor application performance, troubleshoot issues, and understand user behavior. The io.insights API allows developers to extend this with custom telemetry from their own applications. The API is available in JavaScript for io.Connect Desktop 10.1 and later. Telemetry export requires io.Insights to be enabled and configured.

To dive deeper into topics like Shared Contexts, Interop Methods, and Intents, read:

If you’re just getting started and want a better overview of the bigger picture, check: