badgeAwardedDateForUser
Gets timestamp for when a single badge was awarded to a user.
Parameters
Name | Type | Description |
---|---|---|
badgeId | BadgeId | The ID of the badge to get award date from. |
userId | Identifier | The 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