GET /api/v1/channels — channel performance for a time window, ranked by revenue.
Scope: secret key (lk_).
Query parameters
Last N days ending now (1–365). Alternative to
from/to.Start of an explicit window
[from, to).End of the window; defaults to now.
Set
ltv=1 to merge all-time lifetime value per channel into each row (adds an ltv field).Response
The resolved
{ from, to } window.One row per channel, sorted by revenue descending. Each row:
channel, clicks, visitors,
conversions, revenue, and ltv (when ltv=1).
