# E-mail campaign

`GET https://api.tentary.com/v1/email/campaigns/{campaign_id}`

Source: https://tentary.com/de/help/api/get-email-campaign/
Area: E-Mails
MCP tool: `get_email_campaign`. Reads only. Changes nothing in the account.

---

One campaign with its subject, full text (HTML), audience and status.

For a draft, `problems_before_sending` lists what stops sending, in the Tentary app and with [`POST /v1/email/campaigns/{campaign_id}/send`](https://tentary.com/de/help/api/send-email-campaign/).

The fields have the same names as in [`PATCH /v1/email/campaigns/{campaign_id}`](https://tentary.com/de/help/api/update-email-campaign/).

## Authorization

`Authorization: Bearer <API key>`

A personal API key (tnt_...). Create it in the Tentary app on the page AI & API.

## Path parameters

- `campaign_id` (integer, required, path): The id from list_email_campaigns. Limits: min 1.

## Response

- `id` (integer): The ID.
- `name` (string): Name in the Tentary app.
- `subject` (string): The subject line.
- `body_html` (string): The text as HTML.
- `audience` (string): Always only contacts who subscribed to the newsletter. Allowed values: `all_subscribers`, `all_buyers`, `all_non_buyers`, `subscribers_who_bought`, `subscribers_who_did_not_buy`.
- `product_ids` (array of integer): For subscribers_who_bought and subscribers_who_did_not_buy.
- `status` (string): The status. Allowed values: `draft`, `scheduled`, `sending`, `sent`.
- `send_at` (string<date-time>, can be null): UTC, like 2026-01-31T14:05:00Z. null for a draft.
- `problems_before_sending` (array of string): For a draft: what stops sending. Empty = it can be sent.
- `admin_url` (string<uri>): The page in the Tentary app.

## Example request

```bash
curl "https://api.tentary.com/v1/email/campaigns/801" \
  -H "Authorization: Bearer $TENTARY_API_KEY"
```

## Example response

```json
{
  "id": 801,
  "name": "October newsletter",
  "subject": "New: Morning Yoga in 30 Days",
  "body_html": "<p>Hi %FIRST_NAME%, my new course is live.</p>",
  "audience": "all_subscribers",
  "product_ids": [],
  "status": "sent",
  "send_at": "2026-10-19T08:00:00Z",
  "problems_before_sending": [],
  "admin_url": "https://app.tentary.com/emails/campaign/view/801"
}
```
