Create a new session
Sessions
Create a new session
Create a new player session for a specific game. A session ties a player to a game context and is used for tracking interactions & specific context.
POST
Create a new session
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The session details required to create a new session.
Schema for creating a new session. Contains session key, game identifier, and player identifier.
A unique key for the session.
Maximum string length:
50Pattern:
^[a-zA-Z0-9_-]+$Example:
"campaign_nightfall"
The unique identifier for the game.
Maximum string length:
50Example:
"game_12345"
The unique identifier for the player.
Example:
"550e8400-e29b-41d4-a716-446655440000"