Skip to main content

Type Alias: CreateSessionRequest

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

Properties

PropertyTypeRequiredDescription
titlestringYesTitle of the session (example: "Daily Standup")
externalRoomIdstringYesExternal Room ID (example: "room_abc123")
gatewaystringNoODIN Gateway URL (example: "gateway.odin.4players.io")
idleTimeoutnumberNoIdle timeout in seconds. If > 0, session auto-stops after this duration with no participants. 0 or omitted means no auto-stop. (example: 300)
autoStartbooleanNoWhether to automatically start the bot after session creation. Defaults to true when omitted; set to false to disable. (example: true)

Defined in

4Players/cortex-typescript-sdk/src/resources/sessions.ts:18