Classic APIs
ClassicGamesApi
authedUserCanUserBeInvitedToVipServer

authedUserCanUserBeInvitedToVipServer

Sees if a particular user can be invited to a vip server by the authenticated user.

Parameters

NameTypeDescription
userIdIdentifierThe ID of the user to see if they are allowed to recieve an invite to a vip server.

Example

const { data: canInviteData } = await ClassicGamesApi.authedUserCanUserBeInvitedToVipServer({ userId: 12345 }); 

Example Data

{
  canInvite: false,
  doesOwnerPrivacyRestrictJoins: false,
  inviteResponseType: 4,
} 

Endpoint

GET /v1/vip-server/can-invite/{userId}