# E-mail automation

`GET https://api.tentary.com/v1/email/automations/{automation_id}`

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

---

One automation with its emails, in the order of the app page. Each email has:

- subject and status
- delay: days after the trigger and the send hour in UTC. 0 days means at once.
- a short text preview
- the number sent and delivery problems

The answer also lists the exit products: contacts who buy one of them leave the automation.

For the full text of an email, call [`GET /v1/email/automation-emails/{email_id}`](https://tentary.com/de/help/api/get-automation-email/).

## Authorization

`Authorization: Bearer <API key>`

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

## Path parameters

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

## Response

- `id` (integer): The ID.
- `name` (string): Name in the Tentary app.
- `status` (string): The status. Allowed values: `active`, `inactive`.
- `trigger` (string, can be null): What starts the series for a contact. Allowed values: `new_subscriber`, `any_purchase`, `purchase_of_products`, `null`.
- `trigger_products` (array of object): For purchase_of_products.
  - `id` (integer): The ID.
  - `name` (string, can be null): The name.
- `active_emails` (integer): Active e-mails in the series.
- `contacts_in_automation` (integer): Contacts in the series now.
- `active_since` (string<date-time>, can be null): UTC, like 2026-01-31T14:05:00Z.
- `admin_url` (string<uri>): The page in the Tentary app.
- `exit_products` (array of object): Contacts who buy one of these products leave the automation.
  - `id` (integer): The ID.
  - `name` (string, can be null): The name.
- `emails` (array of object): In the order of the app page (send time).
  - `id` (integer): The ID.
  - `name` (string): The name.
  - `subject` (string): The subject line.
  - `status` (string): The status. Allowed values: `active`, `inactive`.
  - `send_after_days` (integer): Days after the trigger. 0 = at once.
  - `send_hour_utc` (integer, can be null): Hour (UTC) of the send day. null with send_after_days 0.
  - `text_preview` (string): The start of the text, without HTML.
  - `sent` (integer): E-mails sent.
  - `delivery` (object): E-mails per delivery state. skipped = left out by the cooldown.
    - `waiting` (integer): Waiting to be sent.
    - `skipped` (integer): Left out by the cooldown.
    - `failed` (integer): Could not be sent.
    - `soft_bounces` (integer): Soft bounces (a temporary problem, like a full inbox).
    - `hard_bounces` (integer): Hard bounces (the address does not exist).
    - `spam_complaints` (integer): Marked as spam by the recipient.
  - `admin_url` (string<uri>): The page in the Tentary app.
- `more_emails` (boolean): true = the automation has more e-mails than this list (see the app).

## Example request

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

## Example response

```json
{
  "id": 851,
  "name": "Welcome series",
  "status": "active",
  "trigger": "new_subscriber",
  "trigger_products": [],
  "active_emails": 1,
  "contacts_in_automation": 0,
  "active_since": "2026-08-29T10:00:00Z",
  "admin_url": "https://app.tentary.com/emails/automation/view/851",
  "exit_products": [
    {
      "id": 102,
      "name": "Morning Yoga in 30 Days"
    }
  ],
  "emails": [
    {
      "id": 861,
      "name": "Day 1",
      "subject": "Welcome, %FIRST_NAME%!",
      "status": "active",
      "send_after_days": 0,
      "send_hour_utc": null,
      "text_preview": "Thank you for joining. Here is my favourite morning routine.",
      "sent": 0,
      "delivery": {
        "waiting": 0,
        "skipped": 0,
        "failed": 0,
        "soft_bounces": 0,
        "hard_bounces": 0,
        "spam_complaints": 0
      },
      "admin_url": "https://app.tentary.com/emails/automation/edit/851/step/edit/861"
    }
  ],
  "more_emails": false
}
```
