curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/admin/challenge-groups/{id} \
--header 'x-api-token: <api-key>'{
"id": "<string>",
"organisationId": "<string>",
"communityId": "<string>",
"details": {
"title": "<string>",
"description": "<string>",
"light": {
"primaryImageUrl": "<string>",
"secondaryImageUrl": "<string>"
},
"dark": {
"primaryImageUrl": "<string>",
"secondaryImageUrl": "<string>"
}
},
"type": "random",
"period": "daily",
"challengeIds": [
"<string>"
],
"activeAmount": 2,
"status": "archived",
"createdAt": "<string>",
"updatedAt": "<string>"
}curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/admin/challenge-groups/{id} \
--header 'x-api-token: <api-key>'{
"id": "<string>",
"organisationId": "<string>",
"communityId": "<string>",
"details": {
"title": "<string>",
"description": "<string>",
"light": {
"primaryImageUrl": "<string>",
"secondaryImageUrl": "<string>"
},
"dark": {
"primaryImageUrl": "<string>",
"secondaryImageUrl": "<string>"
}
},
"type": "random",
"period": "daily",
"challengeIds": [
"<string>"
],
"activeAmount": 2,
"status": "archived",
"createdAt": "<string>",
"updatedAt": "<string>"
}The language to return the challenge groups in. If not provided, the default language for the organisation will be used.
^[0-9a-fA-F]{24}$Successful response
A challenge group
The id of the challenge group
^[0-9a-fA-F]{24}$The id of the organisation the challenge group belongs to
^[0-9a-fA-F]{24}$The id of the community the challenge group belongs to
^[0-9a-fA-F]{24}$Used to describe an entity
Show child attributes
The challenge selection type
random, sequential The rotation period
daily, weekly, monthly, yearly, open The challenge IDs in this group
^[0-9a-fA-F]{24}$Number of active challenges to show
x >= 1The challenge group status
archived, draft, expired, live, scheduled The creation date of the challenge group
The update date of the challenge group
Was this page helpful?