Hey,
How would I add a user to a VIP server whitelist using ROBLOX’s web api?
I already tried https://games.roblox.com/v1/vip-servers/[VIP ID] PATCH but it always responds with error 500… Any ideas?
Hey,
How would I add a user to a VIP server whitelist using ROBLOX’s web api?
I already tried https://games.roblox.com/v1/vip-servers/[VIP ID] PATCH but it always responds with error 500… Any ideas?
The endpoint for adding users to a vip server is /v1/vip-servers/{id}/permissions
If that still doesn’t work, what does your code look like?
same, it results in 500.
My code is in javascript and looks like:
await fetch("https://games.roblox.com/v1/vip-servers/{server id}/permissions",{
method:"PATCH",
body:{
"usersToAdd":['some working user id']
},
headers:{
'content-type':'application/json',
'cookie':rbxsecurity,
'Referer':'https://www.roblox.com',
'X-CSRF-TOKEN':CSRF <- token comes from https://auth.roblox.com/v2/logout
}
})
Figure it out, i forgot JSON.stringify.