Skip to main content
Give a badge to a piece of content or a user, and take it away again. To get a badge’s ID, list badges. Before you start, read the API overview for how authentication, headers, pagination and errors work.

Assign a badge

Assign a badge to a piece of content or a user.
string
required
The ID of the badge to assign.
string
required
The ID of the record you’re assigning the badge to.
string
required
The type of record you’re assigning the badge to. Accepts Content or User.
string
The URL of a certificate or other third-party verification.
Assign a badge
POST https://your-community.zapnito.com/api/v1/badges/:badge_id/assign

Remove a badge assignment

Remove a badge from a piece of content or a user.
string
required
The ID of the badge to remove.
string
required
The ID of the record you’re removing the badge from.
string
required
The type of record you’re removing the badge from. Accepts Content or User.
Remove a badge assignment
DELETE https://your-community.zapnito.com/api/v1/badges/:badge_id/unassign