The Badge Assignments API creates and manages badge assignments to site members. When you assign a badge to a member, they receive any permissions or recognition associated with that badge.
With the Badge Assignments API you can:
To create a badge, use the Badges V2 API.
It’s important to note the following points before starting to code:
Assign badges for member achievements