v3
latestOpenAPI 3.0.02026-08-081996601.2 MBCreate end user session for alias
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. Ownership binds to the alias key, not the resolved agent, so it is unaffected by a later change to the alias's routing weights. Returns 429 when the caller reaches the live-session or hourly session-creation cap.
Path parameters
The unique key that identifies an alias. Alias keys are independent of agent keys. The same string can exist as both an alias key and an agent key in the same customer account. Calls to /v2/agent_aliases/{key}/... target the alias. Calls to /v2/agents/{key}/... target the agent.
The unique key of the alias to create a session for.
Headers
The platform makes a best effort to complete the request in the specified seconds, or it times out.
The platform makes a best effort to complete the request in the specified milliseconds, or it times out.
Request body
Example request
{
"name": "Customer Support Session",
"description": "Helping customer troubleshoot widget installation issues"
}Response
The newly created session.
Example response
{
"key": "customer_support_chat",
"name": "Customer Support Session",
"description": "Helping customer troubleshoot widget installation issues",
"enabled": true,
"status": "stopped",
"tti_minutes": 60,
"created_at": "2024-01-15T10:30:00Z"
}