Deutsch DE
API-Referenz
API-Referenz

E-Mails

Create automation e-mail

POST / v1 / email / automations / {automation_id} / emails

Adds an email to an automation. It is inactive and reaches nobody until it is activated with POST /v1/email/automation-emails/{email_id}/status, which needs the confirmation of the account owner.

The app shows the emails in the order of their send time. The answer is the email, as in GET /v1/email/automation-emails/{email_id}.

Ändert sofort MCP-Werkzeug create_automation_email

Autorisierung

  • Authorization string Header erforderlich

    Bearer tnt_… · A personal API key (tnt_...). Create it in the Tentary app on the page AI & API. Einführung

Pfad-Parameter

  • automation_id integer erforderlich

    The id from list_email_automations or create_email_automation.

    min. 1 Beispiel: 852

Body application/json

  • name string erforderlich

    Name in the Tentary app (contacts do not see it).

    min. Länge 1 max. Länge 255

  • subject string

    The subject line. Takes %FIRST_NAME%, %FULL_NAME% and %EMAIL%.

    max. Länge 255

  • body_html string

    The text as HTML: p, br, h1-h3, strong, em, u, del, ul, ol, li, blockquote, a (class "button" makes a button), img with a https src (the image_url from finish_image), span; style only color and background-color. Takes %FIRST_NAME%, %FULL_NAME% and %EMAIL%. Only https:// links, no link shorteners. Tentary adds the seller's design, imprint and unsubscribe link: do not write them.

    max. Länge 65535

  • send_after_days integer

    Days after the trigger. 0 = at once (default).

    min. 0 max. 3650

  • send_hour_utc integer kann null sein

    With send_after_days 1 or more: the hour (UTC) of that day, default 14. Convert from the seller's time zone (get_account_overview).

    min. 0 max. 23

Antwort

Felder der Antwort mit Status 200. Fehler haben immer dasselbe Format, siehe Fehler.

  • id integer

    The ID.

  • automation_id integer

    The automation ID.

  • name string

    The name.

  • subject string

    The subject line.

  • body_html string

    The text as HTML.

  • status string

    The status.

    Mögliche Werte: activeinactive

  • send_after_days integer

    Days after the trigger. 0 = at once.

  • send_hour_utc integer kann null sein

    Hour (UTC) of the send day. null with send_after_days 0.

  • admin_url string<uri>

    The page in the Tentary app.

Tippe, um zu suchen.