PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

GetBadgeInfoAsync

GetBadgeInfoAsync will fetch information about a badge given its ID. It takes a brief moment to load the information from the Roblox website; repeated calls will cache for a short duration. It returns a dictionary with the following fields:

Key Type Description
Name string The name of the badge.
Description string The description of the badge.
IconImageId int64 The asset ID of the image for this badge.
IsEnabled bool Indicates whether this badge is available to be awarded.

Parameters

Name Type Default Description

The badgeId of the badge whose information shall be fetched.

Returns

Return Type Summary

A dictionary of information about the specified badge.


Code Samples


GetBadgeInfoAsync Example

This code sample prints information about a badge fetched using BadgeService/GetBadgeInfoAsync.