Add & Remove XP
Overview
Those two endpoints allow you to add/remove XP from a user. The XP added and removed will appear in the user notifications and activity.
The XP given from the API will count both for the all time and sprint leaderboard if any,
API Reference
Give XP to a specific user
POSThttps://api-v2.zealy.io/public/communities/{subdomain}/users/{userId}/xp
Path parameters
subdomain*string
userId*string (uuid)
Header parameters
Body
Body
xp*number
label*string
descriptionstring
Response
200
Body
xp*number
label*string
description*nullable string
communityId*string
receiverId*string
createdAt*nullable string
updatedAt*nullable string
id*string
deleted*boolean
Request
Response
Remove XP from a specific user
DELETEhttps://api-v2.zealy.io/public/communities/{subdomain}/users/{userId}/xp
Path parameters
subdomain*string
userId*string (uuid)
Header parameters
Body
Body
xp*number
label*string
descriptionstring
Response
200
Body
xp*number
label*string
description*nullable string
communityId*string
receiverId*string
createdAt*nullable string
updatedAt*nullable string
id*string
deleted*boolean
Request
Response
Last updated