Skip to main content

Badge Detail

Provides detailed information for a specific badge by its unique identifier, including all associated deliverables.

Endpoint

GET /v1/admin/badges/{badgeID}

Path Parameters

ParameterTypeRequiredDescription
badgeIDstringYesUnique identifier for the badge

Response

{
"code": 200,
"data": [
{
"uid": "e172ed2a007141868971a42e824fe124",
"label": "100th Bet",
"points": 100,
"description": null,
"startDate": "2010-01-10T00:00:00",
"endDate": "2040-12-31T00:00:00",
"requiredBadgeUId": null,
"imageName": "https://rapidmulestorage.blob.core.windows.net/images/85ee95de-33a5-42dc-b858-b7fa27003fd8_anniversary.png",
"isActive": true,
"type": "OneTimeOnly",
"deliverables": [

Response Fields

FieldTypeDescription
uidstringUnique identifier for the badge
labelstringDisplay name of the badge
pointsnumberPoints awarded when badge is earned
descriptionstringDescription of the badge
startDatestringISO 8601 timestamp of when the badge becomes active
endDatestringISO 8601 timestamp of when the badge expires
requiredBadgeUIdstringUID of badge required before this can be earned
imageNamestringURL to the badge's icon/image
isActivebooleanWhether this badge is currently active
typestringBadge type: OneTimeOnly, Repeatable, or Ranked
deliverablesarrayList of deliverables issued when badge is earned

Request Example

curl -X GET https://api.rapidmule.com/v1/admin/badges/{{badgeID}} \
-H "Authorization: Bearer YOUR_API_KEY"

Use Cases

  • Badge Rewards Display: Show players what rewards they'll earn
  • Badge Prerequisites: Check if badge requires other badges to unlock
  • Badge Type Analysis: Categorize badges by type (OneTimeOnly, Repeatable, Ranked)

Badge Types

TypeDescription
OneTimeOnlyCan be earned only once per player
RepeatableCan be earned multiple times
RankedHas multiple levels/ranks

Error Codes

CodeDescriptionResolution
1001Payload is nullCheck path parameters
4001Invalid AuthKeyVerify API key
9004Badge does not existUse valid badgeId
Learn More

For a deeper understanding of Badges, see Core Concepts - Badges & Triggers.