Create Or Join Session
Join the first publicly available session of given type. If there is no public session, and the session type permits player made sessions, create a new session and put the player in it
Required Permissions:
For any player (including themselves)any of: session:*
, session:create
Required Session Permissions: None
Authorizations
- HTTPBearerHeadersOrCookie
Request Body required
A request body for a player to join a session
object
String representation of semver for client
Which input type and platform the client is using
object
DEPRECATED. Use ‘platform’ instead. Id for which platform this client is on. ID will be ignored if ‘platform’ is given. At least one of the two is required
Which platform this client is on. If one is not provided, will get the platform from the ‘platform_id’. At least one of the two is required
Which input type this client is using
Client’s desired crossplay settings to determine which other clients it can play with. If not defined, assumed to be as permissive as possible
object
The platform type that the client is allowed to play with (any, xbox-like only, playstation-like only etc.)
The input type that the client is allowed to play with (keyboard and mouse, gamepad, touch input etc.)
Type of session client is creating or joining
Preferred region for the instance and match to take place in
Optional information about player in order to join the new/existing session. V2 version of CreateOrJoin will require this
object
Status that the player would like after the request is complete. Note that some join operations may promote the player from member
to leader
Semver for updated client
Which input type and platform the client is using
object
DEPRECATED. Use ‘platform’ instead. Id for which platform this client is on. ID will be ignored if ‘platform’ is given. At least one of the two is required
Which platform this client is on. If one is not provided, will get the platform from the ‘platform_id’. At least one of the two is required
Which input type this client is using
Which team the player is one
Client’s desired crossplay settings to determine which other clients it can play with. If not defined, assumed to be as permissive as possible
object
The platform type that the client is allowed to play with (any, xbox-like only, playstation-like only etc.)
The input type that the client is allowed to play with (keyboard and mouse, gamepad, touch input etc.)
Player-defined custom data
object
Responses
200
Successful Response
Response when a player successfully joins a session
object
Session ID the player is now a part of
403
Forbidden
object
422
Validation Error