Custom Reward
This endpoint retrieves CustomReward associated with the given entity.
Path parameters
entityIdstringRequired
userIdstringRequired
Header parameters
apikeystringRequiredExample:
The API key for authentication
testuseridstringRequiredExample:
The Id of the user performing the request.
dummy-useridtokenstringRequiredExample:
The token for user authentication.
dummy-tokenResponses
200
Successful response
application/json
400
Client error
application/json
401
Unauthorized error
application/json
500
Server error
application/json
get
/entities/{entityId}/users/{userId}/custom-rewardAdd a custom reward to a user in a specific entity.
Path parameters
entityIdstringRequired
userIdstringRequired
rewardIdstringRequired
Header parameters
apikeystringRequiredExample:
The API key for authentication
testuseridstringRequiredExample:
The Id of the user performing the request.
dummy-useridtokenstringRequiredExample:
The token for user authentication.
dummy-tokenResponses
200
Successful response
application/json
400
Client error
application/json
401
Unauthorized error
application/json
500
Server error
application/json
post
/entities/{entityId}/users/{userId}/{rewardId}Last updated