Levels
Get User Level
GET
/levels/{guildId}/users/{userId}Get a user's level data in a guild
Authorization
apiKey X-Api-Key<token>
The user's API key to authenticate requests
In: header
Path Parameters
guildId*Snowflake
A Discord snowflake identifier
Match
^[1-9]\d+$Length
17 <= length <= 19userId*Snowflake
A Discord snowflake identifier
Match
^[1-9]\d+$Length
17 <= length <= 19Response Body
application/json
curl -X GET "https://example.com/levels/stringstringstrin/users/stringstringstrin"{ "level": { "lastUpdated": "2019-08-24T14:15:22Z", "level": 0, "messageCount": 0, "rank": 1, "xp": 0 }, "user": { "avatar": "stringstringstringstringstringst", "discriminator": "strin", "globalName": "string", "username": "string" }}