Javascript
import { TrophyApiClient } from '@trophyso/node'; const response = await trophy.streaks.list({ userIds: ['user-123', 'user-456', 'user-789'] });
[ { "userId": "user-123", "streakLength": 15, "extended": "2025-01-01T05:03:00Z" }, { "userId": "user-456", "streakLength": 12, "extended": "2025-01-01T08:43:00Z" }, { "userId": "user-789", "streakLength": 0, "extended": null } ]
Get the streak lengths of a list of users, ranked by streak length from longest to shortest.
A list of up to 100 user IDs.
Successful operation
The response is of type Bulk Streak Response · object[].
Bulk Streak Response · object[]
Was this page helpful?