Classic APIs
ClassicBadgesApi
badgeAwardedDateForUser

badgeAwardedDateForUser

Gets timestamp for when a single badge was awarded to a user.

Parameters

NameTypeDescription
badgeIdBadgeIdThe ID of the badge to get award date from.
userIdIdentifierThe ID of thw user to get award date for.

Example

const { data: awardDate } = await ClassicBadgesApi.badgeAwardedDateForUser({ badgeId: 2124533401, userId: 45348281 }); 

Endpoint

GET /v1/users/{userId}/badges/{badgeId}/awarded-date