For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
  • Overview
    • Introduction
    • Response Codes
  • API Reference
      • GETGet stats (flexible)
      • GETGet last 24h (minutes)
LogoLogo
API ReferenceStats

Get stats (flexible)

||View as Markdown|
GET
https://hublinks.io/rest/accounts/:account_id/stats
GET
/rest/accounts/:account_id/stats
$curl -G https://hublinks.io/rest/accounts/account_id/stats \
> -H "X-API-KEY: <apiKey>" \
> -d period=HOUR
200Retrieved
1{}

Get aggregated stats by period (DAY|HOUR|MIN). Provide exactly one of seat_id or campaign_id. You may also set start_date, end_date, metrics (comma-separated), and last_key (URL-encoded JSON).

Was this page helpful?
Previous

List seats

Next

Get last 24h (minutes)

Built with

Authentication

X-API-KEYstring
API Key authentication via header

Path parameters

account_idstringRequired

Query parameters

periodstringOptional

Response

Successful response