Experience Invite Links

How do I retrieve the inviteCode for this share link?

var inviteCode=""
`https://www.roblox.com/share?code=${inviteCode}&type=ExperienceInvite`

or any other way to join a specific game server using a Link?

1 Like

There is a chrome plugin that can do this, you just need the jobid in the url, which can be accessed by using game.JobId
There probably is a way to do it without he plugin, but I am not exactly sure how. You could probably try to use the GameJoin api.

Incorrect, It’s not a JobId and that’s why I need help with it, It’s some sort of personal generated invite code that look’s something like this, 8e0f5e0d01e7a84d88db318dabe08789.

Oh I misunderstood the post, sorry

POST https://apis.roblox.com/sharelinks/v1/create-link with JSON body:

{ "linkType": "ExperienceInvite" }

while ingame. Get field linkId for the share link ID.

yea but how do I get the linkId/inviteCode?

This is everything I’ve tried before posting this forum:
image

1 Like

If you’re trying externally, the RBXEventTrackerV2 cookie is required. I don’t know why.

1 Like

Oh I see, and I thought it would work without me needing to be in a experience like using a jobId to get the code
image

1 Like

also where do you get all this information from about the API, cuz I cannot find any docs or anything about them.

1 Like

Oh I also Didn’t See this

But this is what I tried to use at first
image