curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/integration/me/streaks \
--header 'x-api-token: <api-key>'[
{
"id": "<string>",
"organisationId": "<string>",
"isEnabled": true,
"triggerEvents": {
"platform": [
"achievement-completion"
],
"custom": [
"<string>"
]
},
"userState": {
"currentStreak": 123,
"isCurrentDayComplete": true
},
"communityId": "<string>"
}
]curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/integration/me/streaks \
--header 'x-api-token: <api-key>'[
{
"id": "<string>",
"organisationId": "<string>",
"isEnabled": true,
"triggerEvents": {
"platform": [
"achievement-completion"
],
"custom": [
"<string>"
]
},
"userState": {
"currentStreak": 123,
"isCurrentDayComplete": true
},
"communityId": "<string>"
}
]Successful response
The id of the streak config
^[0-9a-fA-F]{24}$The id of the organisation this streak config belongs to
^[0-9a-fA-F]{24}$Whether the streak is enabled and users can start and extend streaks.
Show child attributes
Show child attributes
The id of the community this streak config belongs to. No community means this is an organisation level streak config.
^[0-9a-fA-F]{24}$Was this page helpful?