Get a user's streak status
Get a user’s streak data.
Authorizations
Headers
The tenant identifier for multi-tenant organisations. Required when the organisation has multi-tenancy enabled. The value should be your internal ID for the tenant. Ignored for single-tenant organisations.
Path Parameters
ID of the user.
Query Parameters
The number of past streak periods to include in the streakHistory field of the response.
Response
Successful operation
An object representing the user's streak.
The length of the user's current streak.
The frequency of the streak.
daily, weekly, monthly The date the streak started.
The start date of the current streak period.
The end date of the current streak period.
The date the streak will expire if the user does not increment a metric.
The timestamp the streak was most recently extended. Null if the streak is not active.
A list of the user's past streak periods up through the current period. Each period includes the start and end dates and the length of the streak.
The number of available streak freezes. Only present if the organization has enabled streak freezes.
The maximum number of streak freezes a user can have. Only present if the organization has enabled streak freezes.
The interval at which the user will earn streak freezes, in days. Only present if the organization has enabled streak freeze auto-earn.
The amount of streak freezes the user will earn per interval. Only present if the organization has enabled streak freeze auto-earn.