Get end user session for alias
GET/v2/agent_aliases/:alias_key/end_user_sessions/:session_key
Returns a session the caller owns, addressed by the alias it was created through. Returns 403 if the session belongs to a different principal.
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.
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.
Request
Responses
- 200
- 401
- 403
- 404
The requested session.
The request carries no valid credential — no Authorization, and for anonymous callers a missing, malformed, or badly signed X-Visitor-Id.
The session does not belong to the caller, or permissions do not allow access. Also returned when a presented connector id fails validation — the connector no longer admits the caller or does not front this alias.
Alias or session not found.