Passer au contenu principal
POST
Request Multiplayer Server

Autorisations

X-EntityToken
string
header
requis

This API requires an Entity Session Token, available from the Entity GetEntityToken method.

Corps

application/json

Requests a multiplayer server session from a particular build in any of the given preferred regions.

Requests a multiplayer server session from a particular build in any of the given preferred regions.

PreferredRegions
enum<string>[]
requis

The preferred regions to request a multiplayer server from. The Multiplayer Service will iterate through the regions in the specified order and allocate a server from the first one that has servers available.

Options disponibles:
AustraliaEast,
AustraliaSoutheast,
BrazilSouth,
CentralUs,
EastAsia,
EastUs,
EastUs2,
JapanEast,
JapanWest,
NorthCentralUs,
NorthEurope,
SouthCentralUs,
SoutheastAsia,
WestEurope,
WestUs,
SouthAfricaNorth,
WestCentralUs,
KoreaCentral,
FranceCentral,
WestUs2,
CentralIndia,
UaeNorth,
UkSouth,
SwedenCentral,
CanadaCentral,
MexicoCentral,
WestUs3,
CanadaEast,
UkWest,
FranceSouth,
SouthIndia,
SpainCentral,
GermanyWestCentral,
ItalyNorth,
IndonesiaCentral,
ChileCentral,
PolandCentral,
NewZealandNorth,
BrazilSoutheast,
NorwayEast,
SwitzerlandNorth,
MalaysiaWest,
IsraelCentral,
QatarCentral,
UaeCentral,
GermanyNorth,
AustriaEast,
BelgiumCentral,
DenmarkEast,
SwitzerlandWest,
SwedenSouth,
NorwayWest,
SouthAfricaWest,
MalaysiaSouth
SessionId
string
requis

A guid string session ID created track the multiplayer server session over its life.

BuildAliasParams
object

The identifiers of the build alias to use for the request.

BuildId
string

The guid string build ID of the multiplayer server to request.

CustomTags
object

The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

InitialPlayers
string[]

Initial list of players (potentially matchmade) allowed to connect to the game. This list is passed to the game server when requested (via GSDK) and can be used to validate players connecting to it.

Data encoded as a string that is passed to the game server when requested. This can be used to communicate information such as game mode or map through the request flow. Maximum size is 8KB

Réponse

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object
Exemple:
Dernière modification le 6 octobre 2026