Skip to main content
POST
Award XP Reward

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
account
string
required

Account identifier of the user

platform
string
required

Platform where the account exists (e.g., 'web3', 'claimr')

pid
string
required

Campaign ID

id
string
required

Unique reward identifier (prevents duplicate rewards)

xp
number
required

Amount of XP to award to the user

Required range: x >= 0
kind
string

Reward kind

Response

Reward successfully awarded and XP processed.

success
boolean
required
Example:

true