# Resume Campaign

> Resume a paused campaign, transitioning it back to active.

> Documentation index: https://www.foxreach.io/docs/llms.txt lists every page of these docs. Each page is also served as Markdown: add `.md` to its URL.

`POST` https://api.foxreach.io/api/v1/campaigns/{campaign_id}/resume

## Path Parameters

- `campaign_id` string path required

  The unique identifier of the campaign.

## Response

Returns the updated campaign object with `status: "active"`.

**Request example**

```bash cURL
curl -X POST "https://api.foxreach.io/api/v1/campaigns/cmp_abc123/resume" \
  -H "X-API-Key: otr_your_key"
```

```python Python SDK
from foxreach import FoxReach

client = FoxReach(api_key="otr_your_key")
campaign = client.campaigns.start("cmp_xyz789")
```

```typescript TypeScript SDK
import { FoxReach } from "foxreach";

const client = new FoxReach({ apiKey: "otr_your_key" });
const campaign = await client.campaigns.start("cmp_xyz789");
```

**Response example**

```json
{
  "data": {
    "id": "cmp_abc123",
    "name": "Q1 Outreach",
    "status": "active",
    "startedAt": "2025-01-15T09:00:00",
    "..."
  }
}
```

## Errors

| Status | Description |
|--------|-------------|
| `400` | Campaign is not paused |
| `400` | No leads left to send: every lead in the campaign is deleted from the lead list, or every lead has finished its sequence. The `detail` says which and how many. Leads that were deleted and imported again are picked up first, at the step where they stopped, so they never cause this |
| `404` | Campaign not found |

## Rate Limit

- **120 requests per minute, shared by every `write` call in your workspace.** Fixed 60-second window.
- Every response includes `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset` (unix epoch seconds) and `X-RateLimit-Bucket` (`write`).
- A `429` response includes a `Retry-After` header (seconds until the bucket resets).

For client-side patterns (`Retry-After`, exponential backoff, monitoring `X-RateLimit-Remaining`), see [Rate Limiting](https://www.foxreach.io/docs/rate-limiting).
