Leaderboard
The Leaderboard object
Structure of a leaderboard response.
A ranked list of users for a given team, timeframe (in the requested timezone), and taco-total type.
Every leaderboard endpoint returns this shape.
Attributes
objectstringObject type. Always
leaderboard.typestringThe kind of totals ranked. One of
received, given, or combined.timeframestringThe window used to compute the leaderboard.
timezonestringThe time zone the window was computed in, in canonical form (e.g.
US/Pacific →
America/Los_Angeles). America/Los_Angeles when omitted.start_datestring or nullnull for alltime; echoed for custom; computed in timezone for named timeframes.end_datestring or nullnull for alltime; echoed for custom; computed in timezone for named timeframes.channel_idstring or nullEcho of the request
channel_id, or null when omitted.total_resultsintegerTotal number of entries available for the request, before
limit is applied.limitinteger or nullEcho of the request
limit, or null when omitted.dataarray of leaderboard_entryRanked entries in descending order by
total.Show child attributes
rankinteger1-indexed rank in the returned window.
user_idstringUser id in:
U... formatnamestringUser's display name.
avatar_urlstring or nullURL of the user's avatar image, or
null if unset.totalintegerThe taco total for the requested
type.total_givenintegeroptionalTotal tacos given. Only present on
combined rows.total_receivedintegeroptionalTotal tacos received. Only present on
combined rows.{
"object": "leaderboard",
"type": "received",
"timeframe": "month",
"timezone": "America/Los_Angeles",
"start_date": "2026-08-01",
"end_date": "2026-08-31",
"channel_id": null,
"total_results": 42,
"limit": null,
"data": [
{
"rank": 1,
"user_id": "U012ABCDEF",
"name": "Angus",
"avatar_url": "https://avatars.slack-edge.com/U012ABCDEF.png",
"total": 128
},
{
"rank": 2,
"user_id": "U345GHIJKL",
"name": "Fitz",
"avatar_url": "https://avatars.slack-edge.com/U345GHIJKL.png",
"total": 96
},
{
"rank": 3,
"user_id": "U678MNOPQR",
"name": "Koko",
"avatar_url": null,
"total": 84
}
]
}
