Get a leaderboard
Returns the leaderboard for the caller's team.
Request
- Base URLhttps://api.heytaco.com
- AuthHTTP bearer
Query parameters
The kind of totals to rank by.
Leaderboard timeframe. Selecting custom also requires start_date/end_date. When type=combined, only alltime and year are supported.
Filter leaderboard to taco messages sent in a single channel. Not allowed when type=combined.
An IANA time zone name.
Required and only valid when timeframe=custom. Format YYYY-MM-DD, interpreted in timezone.
Required and only valid when timeframe=custom. Format YYYY-MM-DD, interpreted in timezone. Inclusive.
Maximum number of entries to return in data. When omitted, all entries are returned. total_results in the response reflects the total count before this limit is applied.
Response
A leaderboard report.
Example response
{
"timezone": "America/New_York"
}Changes
No recorded changes to this operation across all 1 revision of this API.