Endpoint: POST /v1/sessions/

This endpoint creates a new session for a user. You need to provide the user_id and optional metadata in the request body.

Parameters

user_id
string
required

The unique ID of the user for whom the session is created.

metadata
object

Additional metadata related to the session.

Response Parameters

session_id
string

The unique identifier for the newly created session.