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
| Name | Value |
|---|---|
| apikey | 28-Character API Key |
Body
| Name | Type | Description |
|---|---|---|
| userId | string | ID of the user you want to get roles for |
| discordBotToken | string | Your Discord bot token |
| guildId | string | Server ID |
Response
- 200: OK
- 400: Bad Request
- 429: Too Many Requests
