Type Alias: IssueParticipantTokenResponse
Properties
| Property | Type | Required | Description |
|---|---|---|---|
token | string | Yes | The participant token: a compact EdDSA (Ed25519) JWT. Send it as Authorization: Bearer <token> to /client/v1/*. (example: "eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCIsImtpZCI6Ii4uLiJ9.eyJpc3MiOiJvZGluLWNvcnRleCIsInN1YiI6Ii4uLiJ9.…") |
expiresAt | string | Yes | When the token stops being accepted (ISO 8601). (example: "2026-09-22T12:15:00.000Z") |
participantId | string | Yes | Cortex participant UUID the token speaks for (the sub claim). (example: "0f4a7c1e-6a5b-4f28-9f7e-2b1d6b3c9a10") |
scopes | string[] | Yes | Capabilities of the token (the scp claim). (example: ["me","messages.read"]) |
odinToken | string | No | ODIN voice token for roomId, issued with the project's configured token provider. Only present when roomId was given and generation succeeded. |
odinTokenRestrictions | unknown | No | What 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. |
activeSanctions | SanctionResponse[] | No | Active 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