Guilds
Get the role rewards changes for a specific level
GET
/guilds/{guildId}/role-rewards/levelX-Api-Key<token>
The user's API key to authenticate requests
In: header
Path Parameters
guildIdstring
A Discord snowflake identifier
Match
^[1-9]\d+$Length
17 <= length <= 19Query Parameters
levelinteger
The new level of the user
Range
0 <= value <= 6554userIdstring
A Discord snowflake identifier. Currently, this is not used but may be in the future
Match
^[1-9]\d+$Length
17 <= length <= 19Response Body
application/json
application/json
curl -X GET "https://api.lurkr.gg/v2/guilds/stringstringstrin/role-rewards/level?level=6554&userId=stringstringstrin"{
"addRoles": [
"stringstringstrin"
],
"removeRoles": [
"stringstringstrin"
]
}{
"message": "string"
}