---
title: "Get a campaign summary"
description: "A campaign's totals: views, posts, creators and engagement, earned against owned, by platform and by group of accounts."
url: https://docs.sonderlabs.co.uk/campaigns/report
---

# Get a campaign summary

A campaign's totals: views, posts, creators and engagement, earned against owned, by platform and by group of accounts.

`GET /v1/campaigns/{id}` (live)

> **Live:** served today at `https://{workspace}.sonderlabs.co.uk/v1/campaigns/{id}` with an API key from your workspace. See [Authentication](https://docs.sonderlabs.co.uk/authentication).

The numbers behind the dashboard. Only accepted posts count. `earnedViews` and `ownedViews` add up to `views`. `viewsEstimated` is `true` when part of `views` is estimated, for posts on platforms that don't publish a count.

`byGroup` splits the posts by who posted them: your accounts, talent and affiliates, clip channels and everyone else. It is `[]` unless the campaign has talent or clip-channel accounts set.

`labels` are the names to show for each group. When the campaign has a share link set to neutral wording, they follow it: `owned` is the name the link gives your accounts and `earned` reads "Other accounts".

## Platform support

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

## Parameters

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The campaign id. |

## Response fields

| Field | Type | Description |
| --- | --- | --- |
| `totals.avgViews` | number \| null | Views per post; `null` with no posts. |
| `totals.engagementRate` | number \| null | Likes, comments and shares over views, 0 to 1; `null` with no views. |
| `byGroup[].key` | string | `owned`, `talent`, `clipper` or `ugc`. |

## Example

cURL:

```bash
curl https://yourteam.sonderlabs.co.uk/v1/campaigns/red-bull-rampage-2026 \
  -H "Authorization: Bearer $SONDER_API_KEY"
```

JavaScript:

```js
const res = await fetch("https://yourteam.sonderlabs.co.uk/v1/campaigns/red-bull-rampage-2026", {
  headers: {
    Authorization: `Bearer ${process.env.SONDER_API_KEY}`,
  },
});
const data = await res.json();
```

Python:

```python
import os, requests

res = requests.get(
    "https://yourteam.sonderlabs.co.uk/v1/campaigns/red-bull-rampage-2026",
    headers={"Authorization": f"Bearer {os.environ['SONDER_API_KEY']}"},
)
data = res.json()
```

Response:

```json
{
  "campaign": {
    "id": "red-bull-rampage-2026",
    "name": "Red Bull Rampage 2026",
    "status": "active",
    "startDate": "2026-10-01",
    "lastRefreshedAt": "2026-11-03T00:06:37Z",
    "platforms": [
      "tiktok",
      "instagram",
      "youtube",
      "facebook",
      "x",
      "threads",
      "reddit",
      "snapchat"
    ],
    "totals": {
      "views": 170259629,
      "earnedViews": 115301871,
      "ownedViews": 54957758,
      "posts": 598,
      "creators": 324
    }
  },
  "labels": {
    "owned": "Owned",
    "earned": "Earned",
    "talent": "Talent & affiliates",
    "clipper": "Clip channels",
    "ugc": "Everyone else"
  },
  "totals": {
    "views": 170259629,
    "viewsEstimated": false,
    "posts": 598,
    "creators": 324,
    "likes": 9184220,
    "comments": 61342,
    "shares": 120554,
    "avgViews": 284715.1,
    "engagementRate": 0.055
  },
  "byOwnership": [
    {
      "key": "owned",
      "label": "Owned",
      "views": 54957758,
      "posts": 41
    },
    {
      "key": "earned",
      "label": "Earned",
      "views": 115301871,
      "posts": 557
    }
  ],
  "byPlatform": [
    {
      "platform": "youtube",
      "views": 98120455,
      "posts": 380
    },
    {
      "platform": "instagram",
      "views": 64019302,
      "posts": 132
    },
    {
      "platform": "tiktok",
      "views": 6210448,
      "posts": 25
    }
  ],
  "byGroup": []
}
```
