---
title: "List a campaign's posts"
description: "A campaign's checked posts, newest first, a page at a time: link, platform, account, date, views, likes, comments and group."
url: https://docs.sonderlabs.co.uk/campaigns/posts
---

# List a campaign's posts

A campaign's checked posts, newest first, a page at a time: link, platform, account, date, views, likes, comments and group.

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

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

Only accepted posts: the ones Sonder checked and found to be about the campaign. Newest first (`postedAt`, then `id`). Pass `next` back as `cursor` for the following page; `next` is `null` on the last page. Pages stay in order while new posts arrive.

`views` is `null` when the platform publishes no count for the post: add it up as unknown, never as 0.

## 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. |
| `platform` | query | string | no | One platform: `tiktok`, `instagram`, `youtube`, `facebook`, `x`, `threads`, `reddit` or `snapchat`. |
| `group` | query | string | no | `owned`, `talent`, `clipper` or `ugc`. |
| `limit` | query | integer | no | Results per page, 1 to 100. Default 25. |
| `cursor` | query | string | no | The `next` value from the previous page. |

## Response fields

| Field | Type | Description |
| --- | --- | --- |
| `account.followers` | number \| null | `null` when the platform doesn't show it. |
| `postedAt` | string \| null | When it was posted (ISO 8601, UTC); `null` when unknown. |
| `views` | number \| null | `null` when the platform publishes no count for this post. Never read it as 0. |
| `group` | string | Who posted it: `owned`, `talent`, `clipper` or `ugc`. |
| `ownership` | string | `owned` (one of your accounts) or `earned` (anyone else). |
| `total` | number | Posts matching the filters, across all pages. |

## Example

cURL:

```bash
curl -G https://yourteam.sonderlabs.co.uk/v1/campaigns/red-bull-rampage-2026/posts \
  -H "Authorization: Bearer $SONDER_API_KEY" \
  -d platform=instagram \
  -d limit=1
```

JavaScript:

```js
const params = new URLSearchParams({
  platform: "instagram",
  limit: "1",
});
const res = await fetch(`https://yourteam.sonderlabs.co.uk/v1/campaigns/red-bull-rampage-2026/posts?${params}`, {
  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/posts",
    headers={"Authorization": f"Bearer {os.environ['SONDER_API_KEY']}"},
    params={
        "platform": "instagram",
        "limit": 1
    },
)
data = res.json()
```

Response:

```json
{
  "posts": [
    {
      "id": "47dd2af11e2fe0f075d88ad970eb737c",
      "url": "https://www.instagram.com/reel/DewxhTugF2T/",
      "platform": "instagram",
      "account": {
        "handle": "instagram",
        "name": "Instagram",
        "followers": 686358280
      },
      "postedAt": "2026-10-21T17:02:11Z",
      "caption": "Riding the line at Red Bull Rampage.",
      "views": 53652872,
      "viewsEstimated": false,
      "likes": 2140551,
      "comments": 9112,
      "shares": 48210,
      "group": "ugc",
      "ownership": "earned"
    }
  ],
  "next": "eyJ0IjoiMjAyNi0xMC0yMVQxNzowMjoxMVoiLCJpIjoiNDdkZDJhZjExZTJmZTBmMDc1ZDg4YWQ5NzBlYjczN2MifQ",
  "total": 132
}
```
