Skip to main content
GET
List counter and tag definitions
Returns your organization’s counter and tag definitions in scope, kind, and key order. Each carries its label and display fields (description, icon_url, and category), and a counter also carries its unit and any window. Filter by scope, kind, and category; ?kind=tag&category=badges lists the badges your app can show. A definition applies across your organization for its scope, kind, and key, in every program. Counter definitions come from rule-configuration changes. A tag gets one from a rule-configuration change or when you set its display fields.
For labels, icons, and badges, see Display fields.

Authorizations

Authorization
string
header
default:sk_...
required

Send your API key as Authorization: Bearer <key>.

Query Parameters

scope
enum<string>

Return only definitions for this entity class.

Available options:
participant,
program,
group
kind
enum<string>

Return only counters or only tags.

Available options:
counter,
tag
category
string

Return only definitions with this category.

limit
integer
default:50

Return at most this many records, from 1 to 200, default 50.

Required range: 1 <= x <= 200
cursor
string

The next_cursor from the previous response, valid only with the same endpoint and filters.

Response

Definitions

One page of counter and tag definitions, with the pagination details for the next page.

data
object[]

The counter and tag definitions on this page.

pagination
object

Whether another page follows, and the cursor that fetches it.