Skip to main content
POST
/
challenges
/
{challengeId}
/
complete
Complete challenge for user
curl --request POST \
  --url https://{subdomain}.nudj.cx/api/v2/integration/challenges/{challengeId}/complete \
  --header 'x-api-token: <api-key>'
{
  "completed": true,
  "message": "<string>",
  "distributionEventId": "<string>"
}

Authorizations

x-api-token
string
header
required

Headers

x-language
string

The language to use for response messages. If not provided, the default language for the organisation will be used.

Path Parameters

challengeId
string
required

The ID of the challenge to complete

Response

Successful response

completed
boolean
required

Whether the challenge was completed

message
string

Additional information about the result

distributionEventId
string

ID of the distribution event queued for rewards

I