GET
/
components
/
v1
/
badge
/
{externalId}
cURL
curl --request GET \
  --url https://api-sandbox.appcharge.com/components/v1/badge/{externalId} \
  --header 'x-publisher-token: <api-key>'
{
  "id": "507f1f77bcf86cd799439011",
  "name": "New Year Celebration",
  "publisherBadgeId": "new_year_celebration",
  "type": "emblem",
  "badgeImageUrl": "https://cdn.appcharge.com/507f1f77bcf86cd799439011_emblem.png",
  "badgeExternalImageUrl": "https://example.com/images/new-year-emblem.png"
}

Authorizations

x-publisher-token
string
header
required

Publisher token, as displayed in the Publisher Dashboard.

Path Parameters

externalId
string
required

External ID that you defined.

Example:

"new_year_ribbon"

Response

200
application/json

Badge details retrieved successfully.

Response schema for an emblem badge.