LurkrLurkr Docs
Guilds

Get the role rewards changes for a specific level

GET/guilds/{guildId}/role-rewards/level
X-Api-Key<token>

The user's API key to authenticate requests

In: header

Path Parameters

guildIdstring

A Discord snowflake identifier

Match^[1-9]\d+$
Length17 <= length <= 19

Query Parameters

levelinteger

The new level of the user

Range0 <= value <= 6554
userIdstring

A Discord snowflake identifier. Currently, this is not used but may be in the future

Match^[1-9]\d+$
Length17 <= length <= 19

Response 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"
}