Classic APIs
ClassicBadgesApi
badgesAwardedDatesForUser

badgesAwardedDatesForUser

Gets timestamp for when multiple badges were awarded to a user.

Parameters

NameTypeDescription
badgeIdsArrayNonEmptyIfConstThe IDs of the badges to get award dates from.
userIdIdentifierThe ID of thw user to get award date for.

Example

const { data: awardDates } = await ClassicBadgesApi.badgesAwardedDatesForUser({
  badgeIds: [2124533401],
  userId: 45348281,
}); 

Example Data

{ "2124533401": 2020-11-15T18:51:30.604Z } 

Endpoint

GET /v1/users/{userId}/badges/awarded-dates