E-Mails
E-mail automation
/ v1 / email / automations / {automation_id} 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}.
Autorisierung
-
Authorizationstring Header erforderlichBearer tnt_…· A personal API key (tnt_...). Create it in the Tentary app on the page AI & API. Einführung
Pfad-Parameter
-
automation_idinteger erforderlichThe id from list_email_automations.
min.
1Beispiel:851
Antwort
Felder der Antwort mit Status 200. Fehler haben immer dasselbe Format, siehe Fehler.
-
idintegerThe ID.
-
namestringName in the Tentary app.
-
statusstringThe status.
Mögliche Werte:
activeinactive -
triggerstring kann null seinWhat starts the series for a contact.
Mögliche Werte:
new_subscriberany_purchasepurchase_of_productsnull -
trigger_productsarray of objectFor purchase_of_products.
2 Felder anzeigen Felder ausblenden
-
idintegerThe ID.
-
namestring kann null seinThe name.
-
-
active_emailsintegerActive e-mails in the series.
-
contacts_in_automationintegerContacts in the series now.
-
active_sincestring<date-time> kann null seinUTC, like 2026-01-31T14:05:00Z.
-
admin_urlstring<uri>The page in the Tentary app.
-
exit_productsarray of objectContacts who buy one of these products leave the automation.
2 Felder anzeigen Felder ausblenden
-
idintegerThe ID.
-
namestring kann null seinThe name.
-
-
emailsarray of objectIn the order of the app page (send time).
10 Felder anzeigen Felder ausblenden
-
idintegerThe ID.
-
namestringThe name.
-
subjectstringThe subject line.
-
statusstringThe status.
Mögliche Werte:
activeinactive -
send_after_daysintegerDays after the trigger. 0 = at once.
-
send_hour_utcinteger kann null seinHour (UTC) of the send day. null with send_after_days 0.
-
text_previewstringThe start of the text, without HTML.
-
sentintegerE-mails sent.
-
deliveryobjectE-mails per delivery state. skipped = left out by the cooldown.
6 Felder anzeigen Felder ausblenden
-
waitingintegerWaiting to be sent.
-
skippedintegerLeft out by the cooldown.
-
failedintegerCould not be sent.
-
soft_bouncesintegerSoft bounces (a temporary problem, like a full inbox).
-
hard_bouncesintegerHard bounces (the address does not exist).
-
spam_complaintsintegerMarked as spam by the recipient.
-
-
admin_urlstring<uri>The page in the Tentary app.
-
-
more_emailsbooleantrue = the automation has more e-mails than this list (see the app).