The Omneo SDK (also referred to as the Shapes SDK) is a JavaScript library for building customer-facing front-end experiences. It wraps the Omneo profile API, handles token-scoped authentication, and provides an event system so UI components can react to data changes without managing API state directly. This guide covers the most common patterns. For the full SDK reference, see Omneo SDK.Documentation Index
Fetch the complete documentation index at: https://docs.omneo.io/llms.txt
Use this file to discover all available pages before exploring further.
Initialise the SDK
token must be a profile-scoped Omneo ID token generated server-side. See Omneo ID for how to obtain one.
Load data with hydrate
Callhydrate for each data type your UI needs. The SDK fetches the data and holds it in state.
React to data with events
Subscribe to events to receive data when it becomes available or changes.*.ready event fires once when data first loads. Use *.update to also catch subsequent changes.
Read a value from state
Use.find() to read a value from the SDK’s cached state without triggering a new API request.
Make a direct API request
Use.get() when you need data outside the standard hydrated endpoints, or when you need query parameters.
Direct
.get() calls do not update the SDK’s internal state. The response is returned to your code only — other subscribers are not notified.