v8

latestOpenAPI 3.0.3raw.githubusercontent.com2026-05-2526602.8 MB
Smart Links

Get Smart Link Stats

Get dashboard-style summary plus daily and monthly metrics for a specific Smart Link on the current team

get/api/smart-links/{smart_link_id}/stats

Query parameters

date_startstring

Optional stats range start date

Example:2026-01-01T00:00:00Z

Optional stats range start date

date_endstring

Optional stats range end date

Example:2026-01-31T23:59:59Z

Optional stats range end date

Response

Success

Example response

{
  "data": {
    "summary": {
      "clicks_total": 150,
      "subs_total": 45,
      "revenue_total": 1250,
      "spenders_total": 20
    },
    "daily_metrics": [
      {
        "timestamp": "2026-01-30",
        "clicks": 9,
        "subs": 2,
        "revenue": 33,
        "spenders": 1
      },
      {
        "timestamp": "2026-01-31",
        "clicks": 16,
        "subs": 5,
        "revenue": 95,
        "spenders": 2
      }
    ],
    "monthly_metrics": [
      {
        "timestamp": "2026-01-01",
        "clicks": 150,
        "subs": 45,
        "revenue": 1250,
        "spenders": 20
      }
    ]
  },
  "_meta": {
    "_credits": {
      "used": 0,
      "balance": 999999,
      "note": "Free endpoint"
    },
    "_cache": {
      "is_cached": false,
      "note": "Cache disabled for this endpoint"
    }
  }
}