Classic APIs
ClassicGamesApi
authedUserPrivateServersForPlace

authedUserPrivateServersForPlace

Gets a list of private server for a particular universe that the authenticated user can access.

Parameters

NameTypeDescription
placeIdIdentifierThe ID of the place to get private servers for.
limit?10 | 25 | 50 | 100The number of results per request.
sortOrder?SortOrderThe order the results are sorted in.
cursor?stringThe paging cursor for the previous or next page.

Example

const { data: privateServers } = await ClassicGamesApi.authedUserPrivateServersForPlace({ placeId: 26838733 }); 

Example Data

[
  {
    maxPlayers: 10,
    playerTokens: [],
    players: [],
    name: "TAG GANG",
    vipServerId: 10262938,
    owner: {
      hasVerifiedBadge: false,
      id: 45348281,
      name: "MightyPart",
      displayName: "Mighty",
    },
  },
] 

Endpoint

GET /v1/games/{placeId}/private-servers