curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/admin/challenge-groups \
--header 'x-api-token: <api-key>'{
"totalCount": 123,
"edges": [
{
"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>"
}
]
}Retrieve a paginated list of challenge groups.
curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/admin/challenge-groups \
--header 'x-api-token: <api-key>'{
"totalCount": 123,
"edges": [
{
"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.
1 <= x <= 100x >= 0Was this page helpful?