Session API

API for creating, joining, and managing user sessions.

Session API provides a set of endpoints for group management

Create a session

post

Creates a new session with the specified parameters. Pass in an identity to assume a specific name and address in the session.

Authorizations
AuthorizationstringRequired

Bearer schema token issued by wallet verification.

X-API-KEYstringRequired

API key issued for beta developers for creating/joining sessions.

Body
passwordstring | nullableOptionalDeprecated
whiteListAddressesstring[] | nullableOptionalDeprecated
Responses
post
/session

Join a session

post

Allows a user to join an existing session. Requires Authorization header with bearer token generated from wallet proof.

Authorizations
AuthorizationstringRequired

Bearer schema token issued by wallet verification.

Body
sessionIdstring | nullableOptional
passwordstring | nullableOptional
Responses
post
/session/join

Get the current session

get

Retrieves the current session for the authenticated user.

Authorizations
AuthorizationstringRequired

Bearer schema token issued by session credentials

Responses
get
/session/current

Kick user from session

post

Kick a user from the current session

Authorizations
AuthorizationstringRequired

Bearer schema token issued by session credentials

Body
userIdstring | nullableOptional
Responses
post
/session/current/kick
200

Success

No content

Disconnect user from session

post

Trigger a disconnect from session

Authorizations
AuthorizationstringRequired

Bearer schema token issued by session credentials

Responses
post
/session/disconnect
200

Success

No content

Delete the current session

delete

Deletes the session of the authenticated user with host role.

Authorizations
AuthorizationstringRequired

Bearer schema token issued by session credentials

Responses
delete
/session/current
200

Session deleted successfully.

No content

Last updated