Course Assistant Voice Ticket
Issue a short-lived, single-use WebSocket credential for an existing voice-capable assistant session (creator plane only in this wave; the learn-plane exam ticket is Phase 3 / Wave 6).
Browsers cannot set custom headers on new WebSocket(), so a normal
Bearer key cannot authenticate the socket. This ticket is the bridge:
24 random bytes, returned ONCE, stored only as its SHA-256 hash, valid
for expires_in seconds and consumable exactly once. Redeem it as
GET /api/v1/voice?ticket=<value>.
404 if the session does not exist, is not owned by this account, or
does not belong to this course. 400 voice_language_unavailable if the
session’s language is not (yet) voice-capable
(see enabled_languages in the error body); the text assistant is
unaffected, only the voice modality is refused.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Successful Response
The response is of type Response Course Assistant Voice Ticket Api V1 Courses Course Id Assistant Session Id Voice Ticket Post · object.