Campaigns

POST /v1/campaigns/{campaignId}/send

Start the durable send.

Alle Campaigns Endpunkte

Authentifizierung

Senden Sie einen API-Schlüssel als Bearer-Token. Dieser Endpunkt gibt in der Spezifikation keine spezifische Berechtigung an. Versehen Sie Ihren Schlüssel daher mit den minimal erforderlichen Rechten und prüfen Sie die Antwort, anstatt Annahmen zu treffen.

Hier kommt Ihre Organisations-ID hin

Dieser Endpunkt akzeptiert org_id als Feld im JSON-Body.

Die ID Ihrer Organisation finden Sie im Dashboard auf dem Bildschirm für API-Schlüssel direkt neben dem Schlüssel selbst. Sie ist bei jedem Ihrer Aufrufe dieselbe.

Ausprobieren

Ersetzen Sie alles in spitzen Klammern durch Ihre eigenen Werte und den Platzhalter für den Schlüssel durch einen Schlüssel aus Ihrem Dashboard.

curl -X POST https://api.zinndigital.com/v1/campaigns/{campaignId}/send \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

Angemeldet? Die API-Konsole in Ihrem Dashboard trägt automatisch Ihre echte Organisations-ID sowie Ihren eigenen Schlüssel ein und führt die Anfrage gegen die Live-API aus, sodass Sie die tatsächliche Antwort sehen können. Öffnen Sie diesen Endpunkt in der API-Konsole

Details

Returns immediately; the send runs as a Temporal workflow that resumes rather than truncating. A send above the confirmation threshold requires `confirm` to equal the campaign's name exactly — enforced here, because a control that lives only in the client is one an API call walks past.

Parameter

NameTypErforderlichWas es ist
campaignId (path)stringJa

Anfragekörper

NameTypErforderlichWas es ist
confirmstringNein
org_idstringNein

Antwort

NameTypErforderlichWas es ist
idstringJa
org_idstringJa
namestringJa
template_idstringJa
segment_idstringNein
purposestring<marketing, transactional>Ja
channelsstring[]Ja
statusstring<draft, scheduled, sending, paused, sent, cancelled, failed>Ja
scheduled_forstringNein
include_not_in_good_standingbooleanNein
total_recipientsintegerJa
skippedCampaignSkipCountsJa⛔ Every skip counted separately and never silent, and **every one is present even when it is zero**. "4,127 recipients, 312 skipped — not in good standing" is rendered from thes…
deliveryCampaignDeliveryCountsNein⛔ `sent` is NOT `delivered`. `sent` means a provider accepted the hand-off; `delivered` means the receiving server accepted it, which arrives later by webhook. A screen showing…
last_errorstringNein
created_atstringJa
started_atstringNein
finished_atstringNein

Fehler, die dieser Endpunkt zurückgeben kann

401 · 403 · 404 · 409 · 422