Skip to main content
GET
Home > Overview channel-economics card (per-channel revenue + $/visitor + delta)

Authorizations

Authorization
string
header
required

Bearer token authentication. Requires a company-admin token whose role holds reports.view. Additionally, the caller's company must have ANALYTICS_DASHBOARD enabled — otherwise every endpoint returns 404.

Query Parameters

country
string

ISO alpha-2 code of one of the requesting company's configured countries (see GET /countries). When present, every service on this endpoint filters its data to that country and reports money in the country's own currency. Omit (or send "all") for the aggregate-across-countries view, which is the default and matches pre-Phase-004 behavior. Unknown ISO codes or ones the company is not configured for return 400.

Example:

"US"

Response

Channel-economics card payload

Per-channel revenue, visitors, and delta for the trailing 30 days. Seven canonical channels in fixed order — reps, email, paid, social, organic, referral, direct — even when a channel had no traffic (rows are zero-filled, never omitted).

rows
object[]
required
Required array length: 7 elements
unattributed_revenue
string
required

Recognized-order revenue in the window that has no attribution row (mobile / backoffice / SDK / raw checkouts). Exposed at the envelope level so no per-channel revenue_per_visitor mixes an untracked-cohort numerator with a tracked-cohort denominator. Consumers can present it as a "not attributed" supplemental line alongside the seven channel rows.

Example:

"180.25"

currency
string
required

ISO 4217 three-letter code (uppercase).

Required string length: 3
Example:

"USD"

meta
object