---
title: "Create Stream Ticket"
method: POST
path: "/auth/stream-ticket"
tags: ["Auth - session handoff"]
---

# Create Stream Ticket

`POST /auth/stream-ticket`

## Request

- Base URL: `https://api.excellence-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.excellence-ai.com/auth/stream-ticket`
- Auth: OAuth 2 (password, token URL `api/login`)

A ticket opening one stream of `route` for the caller, within 30
seconds. The stream route checks the account again when it is used.

## Request body

- StreamTicketCreate
  - `route` 'chat' | 'course_conversation' | 'custom_course_conversation' | 'exercise_practice_chat' | 'my_course_chat' | 'holiday_chat', required

## Response `200`

Successful Response

- StreamTicketResponse
  - `ticket` string, required
  - `expires_in` integer, required

## Other responses

- `403`: EMAIL_NOT_VERIFIED: the account has not confirmed its email yet
- `422`: Validation Error

## Changes

> 55 revisions in range; 1 not diffed.

- **2026-10-14** `1160feeb2038`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/auth/stream-ticket/post.md)

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) - [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) - [OpenAPI document](https://skmtc.dev/excellence-ai/apis/excellence-learning/revisions/379e4a57dee8?raw)
