curl --request POST \
--url https://{subdomain}.nudj.cx/api/v2/integration/challenges/{id}/unlock \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '{
"amount": 1
}'{
"amountDebited": 123,
"challengeStatus": "<string>"
}Spend keys to unlock a challenge. Returns the amount of keys spent and the new challenge status.
curl --request POST \
--url https://{subdomain}.nudj.cx/api/v2/integration/challenges/{id}/unlock \
--header 'Content-Type: application/json' \
--header 'x-api-token: <api-key>' \
--data '{
"amount": 1
}'{
"amountDebited": 123,
"challengeStatus": "<string>"
}The ID of the challenge to unlock
The number of keys to spend
x > 0Was this page helpful?