Navigation

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
}