Help with getting specific group roles permissions information through API

Hi, I’m researching Roblox API calls for getting group information such as role permissions, and it works but only the permissions of the default role is provided. Which obviously has no permissions.
Is this because I don’t have permission to view permissions of roles above the default one? If so, is there an alternative?

(The goal is getting users with “manageGroupUniverses” to verify if they are a developer of the groups games)

image

Code:

local gs = game:GetService("GroupService") 
local http = game:GetService("HttpService") 

for i,group in pairs(gs:GetGroupsAsync(345670985)) do 
	local id = group["Id"] 
	local request = http:JSONDecode(
		http:RequestAsync(
			{
				Url = `https://apis.roproxy.com/cloud/v2/groups/{id}/roles?maxPageSize=1000000000&pageToken=`, 
				Method = "GET", 
				Headers = {
					["x-api-key"] = "" -- your api key
				}
			}
		)["Body"]
	)
	for i=1, #request["groupRoles"] do
		print(request["groupRoles"][i]["permissions"])
	end
end

Umm I think your X API key is kinda meant to be private. It’s similar to your Roblox cookie and can be used to fake API calls I’m pretty sure…

As for you issue idk sorry

No worries the permissions is only set to read
though that was an oversight on my behalf, I rushed this post because I had stuff to do