curl --request POST \
--url https://{subdomain}.nudj.cx/api/v2/admin/rewards/manual-distribution \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '
{
"rewards": [
{
"rewardId": "<string>",
"allocationType": "assets",
"quantity": 123
}
],
"xpToDistribute": 1,
"pointsToDistribute": 1,
"distributionMechanism": "all",
"amountToDistribute": 123,
"userIds": [
"<string>"
],
"communityId": "<string>"
}
'{
"success": true,
"usersProcessed": 123,
"failedUserIds": [
"<string>"
],
"message": "<string>"
}Process a manual distirbution for a set of rewards to specific users.
curl --request POST \
--url https://{subdomain}.nudj.cx/api/v2/admin/rewards/manual-distribution \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '
{
"rewards": [
{
"rewardId": "<string>",
"allocationType": "assets",
"quantity": 123
}
],
"xpToDistribute": 1,
"pointsToDistribute": 1,
"distributionMechanism": "all",
"amountToDistribute": 123,
"userIds": [
"<string>"
],
"communityId": "<string>"
}
'{
"success": true,
"usersProcessed": 123,
"failedUserIds": [
"<string>"
],
"message": "<string>"
}x >= 0x >= 0all, priority, random, select 1Was this page helpful?