Skip to main content

Type Alias: IssueParticipantTokenResponse

type IssueParticipantTokenResponse: components["schemas"]["IssueParticipantTokenResponse"];

Properties​

PropertyTypeRequiredDescription
tokenstringYesThe participant token: a compact EdDSA (Ed25519) JWT. Send it as Authorization: Bearer <token> to /client/v1/*. (example: "eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCIsImtpZCI6Ii4uLiJ9.eyJpc3MiOiJvZGluLWNvcnRleCIsInN1YiI6Ii4uLiJ9.…")
expiresAtstringYesWhen the token stops being accepted (ISO 8601). (example: "2026-09-22T12:15:00.000Z")
participantIdstringYesCortex participant UUID the token speaks for (the sub claim). (example: "0f4a7c1e-6a5b-4f28-9f7e-2b1d6b3c9a10")
scopesstring[]YesCapabilities of the token (the scp claim). (example: ["me","messages.read"])
odinTokenstringNoODIN voice token for roomId, issued with the project's configured token provider. Only present when roomId was given and generation succeeded.
odinTokenRestrictionsunknownNoWhat the join gate put into odinToken (lifetime, cortex:muted for a muted player) and whether the token provider could sign it. Present whenever roomId was given.
activeSanctionsSanctionResponse[]NoActive sanctions of the player at issue time. A ban never gets here — it refuses the request with 403; a voice mute tags the ODIN token (see odinTokenRestrictions).

Defined in​

odin-transcription-service/packages/cortex-typescript-sdk/src/resources/participants.ts:25