Deutsch DE
API-Referenz
API-Referenz

E-Mails

E-mail campaign

GET / v1 / email / campaigns / {campaign_id}

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.

The fields have the same names as in PATCH /v1/email/campaigns/{campaign_id}.

Liest nur MCP-Werkzeug get_email_campaign

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

  • campaign_id integer erforderlich

    The id from list_email_campaigns.

    min. 1 Beispiel: 801

Antwort

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

  • 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.

    Mögliche Werte: all_subscribersall_buyersall_non_buyerssubscribers_who_boughtsubscribers_who_did_not_buy

  • product_ids array of integer

    For subscribers_who_bought and subscribers_who_did_not_buy.

  • status string

    The status.

    Mögliche Werte: draftscheduledsendingsent

  • send_at string<date-time> kann null sein

    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.

Tippe, um zu suchen.