List guild roles. Returns all roles defined in the guild including their permissions and settings.
curl --request GET \
--url https://api.fluxer.app/v1/guilds/{guild_id}/roles \
--header 'Authorization: <api-key>'[
{
"id": "<string>",
"name": "<string>",
"color": 1073741823,
"position": 1073741823,
"permissions": "<string>",
"hoist": true,
"mentionable": true,
"hoist_position": 1073741823,
"unicode_emoji": "<string>"
}
]Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
The ID of the guild
Success
The unique identifier for this role
The name of the role
The colour of the role as an integer
0 <= x <= 2147483647The position of the role in the role hierarchy
0 <= x <= 2147483647The permissions bitfield for the role
Whether this role is displayed separately in the member list
Whether this role can be mentioned by anyone
The position of the role in the hoisted member list
0 <= x <= 2147483647The unicode emoji for this role
curl --request GET \
--url https://api.fluxer.app/v1/guilds/{guild_id}/roles \
--header 'Authorization: <api-key>'[
{
"id": "<string>",
"name": "<string>",
"color": 1073741823,
"position": 1073741823,
"permissions": "<string>",
"hoist": true,
"mentionable": true,
"hoist_position": 1073741823,
"unicode_emoji": "<string>"
}
]