stats

Get Stats Overview

Return hits + clicks for the authenticated user, scoped to the requested time range and (optionally) a single channel.

Top-of-funnel half of the stats page. Conversion-side metrics (dms_sent, follows, contacts) live on /extended_overview.

When channel_id is omitted the totals span all of the user's channels. When set, it's parsed by parse_channel_id to extract exactly one of instagram_user_id / instagram_business_account_id / facebook_account_id, which is then applied as an equality filter on every branch.

get/v1/stats/overview

Request

  • Base URL
    https://api.linktodm.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Query parameters

range'all' | '24h' | '7d' | '30d'

Time-range window applied to every metric on the stats page.

Mirrors the frontend tabs (All time / 24 hours / 7 days / 30 days).

channel_idstring nullable

Response

Successful Response

hitsinteger required
clicksinteger required
dms_sentinteger required
ctrnumber required

Changes

No recorded changes to this operation across all 1 revision of this API.