Let your agent read the same reports
Connect a read-only workspace key through REST or the Streamable HTTP MCP server.
Create a workspace key
- Sign in as a workspace owner and open Settings → API keys.
- Create a key for your agent and copy it when shown. Keys are displayed once and stored hashed.
- Revoke it in Settings when access is no longer needed. A key reads only its workspace’s products; it cannot change data.
REST endpoints
Send Authorization: Bearer rr_live_… with your own workspace key. Money is USD cents. days defaults to 30 and accepts 7, 30 or 90.
| GET endpoint | Returns |
|---|---|
| /api/v1/products | Products and when each last received events/payments |
| /api/v1/portfolio?days=30 | Each product’s visitors, sign-ups, payers, revenue, downloads versus the previous window, plus channels and campaigns/posts with payers and revenue |
| /api/v1/products/{slug}?days=30 | KPIs, daily series, channels, campaigns/posts with payers and revenue, goals, top pages, countries, devices, platforms and attributed payments |
Connect Claude Code
This command registers the Streamable HTTP MCP endpoint. It contains a placeholder, not a working credential. Replace it locally with your workspace key; never publish the key.
claude mcp add --transport http routerev https://routerev.com/api/mcp --header "Authorization: Bearer rr_live_…"Available tools
- list_products — products visible to this key, with event/payment freshness.
- get_portfolio — every product and its channels for a 7, 30 or 90 day window.
- get_product_report — one product’s report, including payers and revenue per campaign and post, for a valid slug and window.