Skip to main content
POST
Opt-in with WIDGET_SESSION_ENABLED=true and WIDGET_LIVE_CHAT_ENABLED=true. Requires an exact Origin from WIDGET_SESSION_ALLOWED_ORIGINS. Organization, agent and optional site claims come from server configuration; request fields cannot choose them. This identifies the public widget deployment, not the shopper. Thread capability tokens still protect individual conversations. The embed loader can renew this token using data-rw-session-endpoint.

Headers

string (uri)
required

Request body

No request body.

Response

object
string
required
string (date-time)
required
integer
required
Minimum: 48000. Maximum: 720000.

Status codes

Using this contract

Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.
Last modified on November 13, 2026