---
title: "Refresh a campaign"
description: "Look for new posts and re-read every post's stats now, instead of waiting for the schedule."
url: https://docs.sonderlabs.co.uk/campaigns/refresh
---

# Refresh a campaign

Look for new posts and re-read every post's stats now, instead of waiting for the schedule.

`POST /v1/campaigns/{id}/refresh` (coming soon)

> **Coming soon:** this endpoint is not served yet; the shape below is what it will look like. [Ask for it](https://docs.sonderlabs.co.uk/access) if you need it.

Starts a refresh job and returns it. Refreshes are limited to a few a day per campaign.

## 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. |

## Example

cURL:

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

JavaScript:

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

Python:

```python
import os, requests

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

Response:

```json
{
  "job": {
    "id": "job_7d10e4",
    "kind": "refresh",
    "status": "queued",
    "campaignId": "red-bull-rampage-2026"
  }
}
```
