Skip to main content
Version: 2.0

Create end user session for alias

POST 

/v2/agent_aliases/:alias_key/end_user_sessions

Creates a session owned by the calling end user, routed through this alias's policy. The session's owning principal is the caller's authenticated identity. An administrator calling this operation is bound to the sessions it owns like every other caller; the operator endpoints are the administrative view of an alias's sessions. Ownership binds to the alias key, not the resolved agent, so it is unaffected by a later change to the alias's routing weights. Anonymous widget visitors authenticate by presenting X-Visitor-Id instead of an Authorization credential; the platform mints an identity holding agent_end_user on the addressed alias, which satisfies this operation's role requirement. The session takes its idle lifetime from its widget connector's session_tti_minutes, reported on the returned session. Returns 429 when the caller reaches the live-session or hourly session-creation cap, or when the customer-wide anonymous session-creation ceiling is reached.

Request

Responses

The newly created session.