Skip to main content
POST
/
rewards
/
{rewardId}
/
process-giveaway
Process manual reward giveaway
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>"
}

Authorizations

x-api-token
string
header
required

Path Parameters

rewardId
string
required

Body

application/json
winners
object[]
required
Minimum length: 1

Response

Successful response

success
boolean
required
message
string
I