Skip to main content
Our request has changed! Please use https://api.unrealapi.com for the base url
POST /get-user-roles Get the role IDs of every role a user has.

Headers

NameValue
apikey28-Character API Key

Body

NameTypeDescription
userIdstringID of the user you want to get roles for
discordBotTokenstringYour Discord bot token
guildIdstringServer ID

Response

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