/roles
Retrieves information of a given role or role list
Endpoint Headers:
bot-token - Token of the Bot [String] (Required)
apikey - Your Api Auth Key [String] (Required)
guild-id - ID of the guild to be fetched [Snowflake] (Required)
role - ID of the role to be fetched [Snowflake] (Optional)
Endpoint URL Parameters
simple - Retrieves a simpler set of data [Boolean] (Optional)
If no role
was specified, it will grab all data and retrieve an Array, otherwise it will grab the one specified and retrieve an Object.
This will affect how to grab your data!
Examples:
Data API version required. Must replace <version>
with either release or beta.
Possible Responses (Codes)
Last updated