Lootbox

Grant XP to User

Add XP to a user and return their previous and new totals.

post/api/v3/lootbox/users/{user_id}/xp

Request

  • Base URL
    https://api.genji.pk
  • URL
    https://api.genji.pk/api/v3/lootbox/users/{user_id}/xp
  • Auth
    none declared

Path parameters

user_idinteger required

Request body

amountinteger required
type'Map Submission' | 'Playtest' | 'Guide' | 'Completion' | 'Record' | 'World Record' | 'Quest' | 'Other' | 'Tournament' required
reasonstring nullable

Response

Request fulfilled, document follows

previous_amountinteger required
new_amountinteger required

Changes

No recorded changes to this operation across all 5 revisions of this API.