# Request Copy Approval Beta

> Ask the client to approve a campaign's copy.

> 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}/approval/request

> **Note:** **Beta.** Copy approval endpoints are new and may change.

Requires an API key with the `write` scope.

When an agency turns on copy approval for a client workspace, its campaigns start or resume only once the client has approved the current copy: every step's subject and body and every A/B variant. [Start Campaign](https://www.foxreach.io/docs/api-reference/campaigns/start-campaign) and [Resume Campaign](https://www.foxreach.io/docs/api-reference/campaigns/resume-campaign) return `409 copy_approval_required` until then, and an edit after approval needs approving again. In a workspace without the setting, the state is still kept but nothing waits for it.

Sets the status to `pending`, clears any earlier decision and note, and sends an in-app notification to the workspace's viewer members (the client). Writes an `audit.copy_approval.requested` entry.

## Path Parameters

- `campaign_id` string path required

  The unique identifier of the campaign.

## Response

- `data` object

  Approval state:

  - `required` boolean: Whether this workspace needs the client to approve a campaign's copy before it sends. The agency sets it per client workspace with [Rename Agency Client](https://www.foxreach.io/docs/api-reference/agency/rename-client) (`requireCopyApproval`).
  - `status` string | null: `pending`, `approved`, `changes_requested`, or `null` when approval was never asked for.
  - `upToDate` boolean: `true` when the copy was approved and has not changed since. An edit to any step's subject or body, or to an A/B variant, after approval makes it `false`, and the campaign needs approving again.
  - `decidedBy` string | null: Name (or email) of the person who last requested or decided.
  - `decidedAt` string | null: ISO 8601 timestamp of that request or decision.
  - `note` string | null: The note left with the decision.

**Request example**

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

```python Python SDK (beta)
from foxreach import FoxReach

client = FoxReach(api_key="otr_your_key")
state = client.campaigns.request_approval("cmp_abc123")
```

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

const client = new FoxReach({ apiKey: "otr_your_key" });
const state = await client.campaigns.requestApproval("cmp_abc123");
```

**Response example**

```json
{
  "data": {
    "required": true,
    "status": "pending",
    "upToDate": false,
    "decidedBy": "Sam Agency",
    "decidedAt": "2026-12-03T09:00:00+00:00",
    "note": null
  }
}
```

## Errors

| Status | Description |
|--------|-------------|
| `401` | Missing, invalid, revoked or expired API key |
| `403` | API key does not have the required scope: `write` |
| `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, see [Rate Limiting](https://www.foxreach.io/docs/rate-limiting).
