> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sendrealm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve And Update Campaign

> Read campaign readiness and update an email campaign draft.

## Endpoints

* `GET /campaigns/:id`
* `PATCH /campaigns/:id`

Only drafts can be updated. Assigning `from.address` requires a verified domain in the current project; assigning audiences and a template version also requires them to belong to that project.

## Update request

```json theme={null}
{
  "subject": "A closer look at July",
  "from": {
    "name": "Sendrealm",
    "address": "hello@example.com"
  },
  "audience_ids": ["018f4a28-29f0-7a2e-86c3-6a8f1b6dd294"],
  "tracking": {
    "open_tracking": true,
    "click_tracking": true
  },
  "content": {
    "type": "doc",
    "content": []
  }
}
```

The response includes readiness reasons, selected-audience subscriber counts, and delivery analytics. A draft can be reviewed and scheduled from the SendRealm dashboard after it is ready.
