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>"
}
]Retrieve the current user’s streak progress.
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
The id of the organisation this streak config belongs to
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.
Was this page helpful?