Navigation
Legacy
You're viewing the previous version. For the current product, see the v3 API reference.
Complete challenge
Complete an existing challenge. Supply the unique challenge ID from the Rupt SDK onChallenge callback. Supply the unique device ID from the list of devices for the challenge.
Parameters
No parameters
Returns
Returns a success message.
POST/v2/challenges/:id/complete
await Rupt.completeChallenge("CHALLENGE_ID");
Response
{
"success": true
}