Export mentions to a download link
Exports the mentions matching the filter set (keyword ids, sources, sentiment, relevance, an inclusive YYYY-MM-DD window, a text query; up to 5,000 rows) as a CSV file uploaded to an unguessable public URL, and answers that URL. Subject to the export limits: 5 exports per hour and 2 concurrent exports per workspace (429 RATE_LIMITED). 503 EXPORT_LINK_UNAVAILABLE when the deployment has no file store — use POST /api/v2/mentions/export then.
Authorizations
Clerk API key. Create one in Settings → API Keys. Pass as Authorization: Bearer <key>. Keys carry a scope — read, write (implies read) or admin (implies write) — chosen when the key is minted. Each operation's security requirement (and its x-required-scope extension) names the minimum scope it needs; request the least-privileged key that covers the operations you call.
Body
The filter set to export as CSV. Same window semantics as the analytics tools.
Numeric ids of the monitored keywords to scope to (from list_keywords). Omit for every keyword. A mention that matched several keywords counts once per keyword in per-keyword breakdowns and once in totals.
0 < x <= 9007199254740991Platforms to include.
1Platform a mention can originate from / a keyword can be monitored on.
dev, github, hackernews, linkedin, producthunt, reddit, stackoverflow, twitter, youtube, tiktok, medium, reddit_comment, bluesky, newsletter, podcasts, news, firehose, trustpilot_reviews, google_reviews, app_store_reviews, google_play_reviews, instagram Only this sentiment.
positive, neutral, negative high, relevant (default) or all.
high, relevant, all YYYY-MM-DD; default last 30 days.
^\d{4}-\d{2}-\d{2}$YYYY-MM-DD; default today.
^\d{4}-\d{2}-\d{2}$Free-text filter.
200Row cap, 1–5000.
1 <= x <= 5000Response
200 response
