Admin MCP — Marketing
Purchase cohorts joined with period ad spend (CAC / ROAS / renewal retention)
get/admin/mcp/marketing/cohorts
Query parameters
presetstring
Example:last_7d
Named window, ends yesterday. One of: yesterday, last_7d, last_14d, last_28d, last_30d, last_90d, this_month, last_month, lifetime
fromstring
UTC yyyy-MM-dd
tostring
UTC yyyy-MM-dd
samplestring required
daily | weekly | monthly | fixed
breakdownstring required
CSV of funnel, product, country, experiment
funnelTypesstring
productIdentsstring
countriesstring
experimentsstring
CSV of experimentKey:variantId pairs
maxIterationsnumber
Renewal iterations rendered (1..24)
Headers
x-mcp-api-keystring required
Scoped read-only marketing key (env MCP_MARKETING_API_KEY; the master MCP_API_KEY also works)
Changes
No recorded changes to this endpoint across all 1 revision of this API.