Skip to main content
POST /get-user-roles Get the role IDs of every role a user has.

Headers

NameValue
apikey28-Character API Key

Body

NameTypeDescription
userIdstring*ID of the user you want to get roles for
discordBotTokenstring*Your Discord bot token
guildIdstring*Server ID

Response

{
  "success": true,
  "roles": ["123456789", "987654321"]
}