Authorizations
Path Parameters
Body
application/json
Minimum length:
1
curl --request POST \
--url https://{subdomain}.nudj.cx/api/v2/admin/rewards/{rewardId}/process-giveaway \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '{
"winners": [
{
"userId": "<string>",
"quantity": 123
}
]
}'
{
"success": true,
"message": "<string>"
}
Process a manual giveaway for a reward to specific users. Requires a list of user IDs and the quantity of rewards to distribute to each user.
curl --request POST \
--url https://{subdomain}.nudj.cx/api/v2/admin/rewards/{rewardId}/process-giveaway \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '{
"winners": [
{
"userId": "<string>",
"quantity": 123
}
]
}'
{
"success": true,
"message": "<string>"
}
1
Show child attributes
Was this page helpful?