Skip to main content
GET
/
sessionmanager
Retrieve session information
curl --request GET \
  --url https://app.npcbuilder.com/api/sessionmanager \
  --header 'Authorization: Bearer <token>'
{
  "message": "Session for key: campaign_nightfall with id: ABC123",
  "session_id": "<string>",
  "session_key": "<string>",
  "player_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

session_key
string
required

The session key identifying the session.

Maximum length: 50
game_id
string
required

The unique identifier for the game.

Maximum length: 50
player_id
string<uuidv4>
required

The unique identifier for the player.

Response

Session retrieved successfully.

message
string

Confirmation message with session details.

Example:

"Session for key: campaign_nightfall with id: ABC123"

session_id
string
session_key
string
player_id
string<uuidv4>
I