Generate embedded SSO session
The Embed feature must be enabled in your Omni organization to use this endpoint.
Generate an embedded SSO session.
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Body
Path to the Omni content to open, such as /dashboards/abc123. See the contentPath parameter reference for valid starting pages.
1"/my"
External identifier for the user, from your system. Cannot be empty. See the externalId parameter reference for more information.
1"user-123"
Display name for the user. Cannot be empty. See the name parameter reference for more information.
1"Blob Ross"
If true, enables AccessBoost for the embedded dashboard. Requires AccessBoost to be enabled for non-administrators in Settings > Content permissions.
true, false true
Accepted for compatibility. This endpoint does not apply the branch to the session.
Map of connection IDs to base or custom role names, setting the level of access embed users have to the connection's models. Invalid or disallowed roles are ignored. See the connectionRoles parameter reference for accepted role values and omission behavior.
Custom dashboard theme properties. Values must be a valid theme property. See the customTheme parameter reference for more information.
The ID of a saved dashboard theme. See the customThemeId parameter reference for more information.
Optional embed user email address. An empty string is treated as omitted; non-empty values must be email-shaped. See the email parameter reference for its effect on existing email-only users.
Alphanumeric identifier for the user group, used to associate the embed user with a shared entity folder. See the entity parameter reference for more information.
64Requires entity. The AI credit cap for the specified entity. Send a non-negative number as a string, or unlimited (case-insensitive). An empty string is treated as omitted.
See the entityAiCreditLimit parameter reference for more information.
Content role for the embed user's shared entity folder. See the entityFolderContentRole parameter reference for role definitions.
, MANAGER, EDITOR, VIEWER, NO_ACCESS Content role for the entity group's shared entity folder. Defaults to VIEWER if unspecified. See the entityFolderGroupContentRole parameter reference for more information.
, MANAGER, EDITOR, VIEWER, NO_ACCESS Requires entity. Label for the embed user's entity folder. See the entityFolderLabel parameter reference for more information.
64Requires entity. Label for the embed entity group. See the entityGroupLabel parameter reference for more information.
64Filter URL search parameter to add to the contentPath. See the filterSearchParam parameter reference for the value format.
Optional list of non-entity group names to assign to the user. Entity-group membership is managed by the entity URL parameter.
Level of link access for the embed user. See the linkAccess parameter reference for accepted values.
Access mode for the embed session:
APPLICATIONenables Create modeSINGLE_CONTENTembeds a single dashboard, workbook, or app
See the mode parameter reference for more information.
, APPLICATION, SINGLE_CONTENT Map of model IDs to base or custom role names, overriding connectionRoles. Invalid or disallowed roles are ignored. See the modelRoles parameter reference for more information.
Accepted for compatibility, but not used by this endpoint. Replay protection applies to signed-URL login instead. See the nonce parameter reference for more information.
32If true, retains the embed user's existing entity folder content role instead of applying the role from this request. See the preserveEntityFolderContentRole parameter reference for more information.
true, false Optional SDK telemetry marker used for Omni's internal tracking. Has no effect on the created session.
64Accepted for compatibility, but this endpoint authenticates with an Organization API key, not this signature.
32Accepted for compatibility, but this endpoint does not apply the timezone to the session. See the timezone parameter reference, which applies to signed-URL embed login instead.
Embed UI settings. Invalid values are ignored. See the uiSettings parameter reference for more information.
Optional user attributes for row-level security. Values are a string, a number, or an array of strings/numbers. Numbers are converted to strings on receipt, so send anything beyond the JSON safe integer range (2^53 - 1) as a string or it loses precision before Omni sees it.
See the userSettings parameter reference for more information.
Response
Session token generated
Membership ID of the embed user the session logs in as. This is the same ID used by the List and retrieve embed users endpoints.
Session ID to use for embedding Omni content
Omni user ID of the embed user the session logs in as. This ID is created on the user's first request with a given externalId, and reused on later requests.

