cURL
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.
The ID of the challenge to unlock
The number of keys to spend
x > 0
Successful response
The number of keys actually spent
The new status of the challenge
Was this page helpful?