E-Mails
Activate or deactivate automation
/ v1 / email / automations / {automation_id} / status Activates or deactivates an automation.
active: the automation starts for new subscribers or buyers that match its trigger. It sends only its active emails.inactive: as in the app, all its emails become inactive, all contacts leave it, and their waiting emails are not sent.
After the call: the account owner confirms at the confirm_url within 5 minutes. Then check the result with GET /v1/confirmations/{confirmation_id}.
Ändert nichts sofort. Die Antwort enthält einen Link, den die Kontoinhaberin oder der Kontoinhaber in Tentary bestätigt. Bestätigungen
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:852
Body application/json
-
statusstring erforderlichThe new status.
Mögliche Werte:
activeinactive
Antwort
Felder der Antwort mit Status 200. Fehler haben immer dasselbe Format, siehe Fehler.
The action waits for the seller's confirmation.
-
statusstringNothing happened yet.
Mögliche Werte:
needs_confirmation -
confirmation_idintegerFor get_confirmation.
-
confirm_urlstring<uri>The seller opens it while logged in to Tentary and confirms.
-
expires_atstring<date-time>UTC, like 2026-01-31T14:05:00Z. The link works until then.
-
summarystringWhat the seller confirms.
-
messagestringNext steps for the AI app.