Add Open Cloud endpoint for getting color of community roles

As a Roblox developer, it is currently impossible to get the color of a group community role using Open Cloud. This means that it’s impossible to integrate these colors into anything using Open Cloud.

For reference, these are the role colors I mean:

This is really just a convenience feature: if we could get the color of community roles, we could use them for all sorts of things ranging from Discord role colors to integrating them into Roblox games. An example would be changing the color of someone’s nametag in a game based on the role they have.

Another example would be for a bot to mirror roles from a community to a Discord server: the roles could be auto-colored, which would make the entire process smoother.

If Roblox were to add a way to get the color of a role via Open Cloud, it would allow a better integration with Roblox communities in both games and 3rd party tools.

3 Likes

Afaik there isn’t an OpenCloud endpoint to get information about these roles right now. Not even role membership. Roblox has two role systems, ‘legacy roles’ (which are visible on the website / queryable via API - including OpenCloud) and just ‘Roles’ (which are configurable on the dashboard and in-which users can have multiple roles); to my knowledge only the latter of which supports this color selection tool and it also unfortunately seems to have no OpenCloud support (however do correct me if I’m wrong there).

There is an api for the new group roles, it just gives everything but role color.

Running the list endpoint against my group, it only returns back my legacy roles; is there a way to use this to retrieve info from the new group roles or are you perhaps just confusing them for each other?

All fine if you are confusing them, to be fair it is a bit confusing given that it doesn’t use “Legacy” in the name; perhaps it’s meant as a super-class to eventually include both legacy and new roles somehow (although that’d probs be very cluttered and annoying to tell apart from each other, not something I’d personally like to see)?