Skip to content
Esc

Popular

  • QuickstartFrom an API key to your campaigns, a campaign's summary, its posts, its audience and its sentiment.Get started
  • Search posts by keywordGET /v1/search/keywordSearch
  • List a post's commentsGET /v1/posts/{id}/commentsPosts & Comments
  • Formats taking offGET /v1/trendsTrends
  • Get a campaign summaryGET /v1/campaigns/{id}Campaigns
  • MCP for Claude and ChatGPTConnect Claude, ChatGPT or any MCP client to your Sonder workspace at https://sonderlabs.co.uk/mcp. Live today.MCP
CampaignsAsk a question

Ask a question about a campaign

POST/v1/campaigns/{id}/askComing soon

A plain-English answer about a campaign's posts and comments, with the posts it rests on.

Ask what you'd ask an analyst: why did views spike on the 21st, which creators drove earned views, what did people complain about. Every answer cites the posts behind it, so it can be checked.

Platform support

  • TikTok: Live
  • Instagram: Live
  • YouTube: Live
  • Facebook: Live
  • X: Live
  • Threads: Live
  • Reddit: Live
  • Snapchat: Live

Parameters

Path parameters

idstringRequired
The campaign id.

Body

questionstringRequired
The question.
Request
curl -X POST https://yourteam.sonderlabs.co.uk/v1/campaigns/red-bull-rampage-2026/ask \
  -H "Authorization: Bearer $SONDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "question": "Which post drove the most earned views?"
  }'
Response
{
  "answer": "Instagram's own Reel riding Kade Edwards' line, posted 21 Oct: 53.7M views, almost half of the campaign's 115.3M earned views.",
  "citations": [
    {
      "postId": "47dd2af11e2fe0f075d88ad970eb737c",
      "url": "https://www.instagram.com/reel/DewxhTugF2T/",
      "views": 53652872
    }
  ]
}
Ask a question about a campaign · Sonder APIs