Getting all Role IDs from a group in the API

Hey, :wave:

I’m trying to get every single role ID & and the role name from a group in the Roblox API, but after searching, I’ve been unable to find anything.

I’ve seen Discord Bots do it before, but I’m not sure how to do it.

Any ideas on how to do it?

2 Likes

I believe they used this endpoint to get all the roles.
https://groups.roblox.com/v1/groups/[GROUP_ID]/roles

Result: (used the Official Roblox Admin Group for reference)

3 Likes

Wow, this is an awesome feature, I didn’t even know this existed thank you for sharing it also how exactly did you get the text to look colorful and organized cause when I opened it it didn’t look like that?

I just put the URL in Firefox. Dunno if it varies for other people.

Oh I see, I used Opera GX and it turned out like this:

That really helped, thank you!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.