Guild Users
Get guild's user leveling data
GET
https://api.stefdp.com/gattinhosBot/guilds/{guild_id}/users/{user_id}
Path Parameters
Name
Type
Description
guild_id*
String
The ID of the guild
user_id
String
The ID of the user
Headers
Name
Type
Description
Authorization*
String
Bearer <API_KEY>
Returns an array with the objects of each user who sent atleast one message after the leveling system was enabled
[
{
"rankCard": {
"backgroundImageURL": "/home/container/data/default_background.jpg",
"progressBarColor": "#ffaabb"
},
"userId": "694986201739952229",
"guildId": "940249530962706492",
"username": "stef_dp",
"level": 1,
"xp": 0,
"lastXpIncrease": "2023-09-24T11:00:58.370Z"
}
]
Examples
curl 'https://api.stefdp.com/gattinhosBot/guilds/940249530962706492/users'
-H 'Authorization: Bearer <API_KEY>'
Last updated
Was this helpful?