This endpoint returns the invite link for a realm.
| Host | Authentication |
|---|---|
| pocket.realms.minecraft.net | XBL 3.0 |
GET /links/v1?worldId={id}
{id} is the specific id of the realm.
Headers
Authorization: {token} - {token} is your xbox live tokenClient-Version: {version} - {version} is the version of the clientUser-Agent: {agent} - {agent} is one of theseExample Response
[
{
"linkId": "lpomEvbo88E",
"profileUuid": "2535459632708673",
"type": "INFINITE",
"ts": 1523271890155,
"url": "https://realms.gg/lpomEvbo88E",
"deepLinkUrl": "minecraft://acceptRealmInvite?inviteID=lpomEvbo88E"
}
]
linkId is the invite link you were looking fortype is the world type of the realmurl is the web link to join your realmdeepLinkUrl is the direct link which opens Minecraft and accepts the invite