API reference
Challenges
Challenge attempts and verification
Create attempt
Start a new attempt for a challenge. The user must have a connected social account.
Authorization
AuthorizationRequiredBearer <token>API token. Send it as Authorization: Bearer <API_TOKEN>.
In: header
Path Parameters
challengeIdRequiredintegerAttempt created
Progress attempt state
Advance the attempt through the state machine. Actions: target_opened (user viewed the post), claim_completion (user claims they commented).
Authorization
AuthorizationRequiredBearer <token>API token. Send it as Authorization: Bearer <API_TOKEN>.
In: header
Request Body
application/jsonRequiredactionRequiredstringValue in:
"target_opened" | "claim_completion"Path Parameters
challengeIdRequiredintegerattemptIdRequiredintegerAttempt updated