syndication

PUT /v1/syndication/plans/{planId}

Change a plan's channels or behaviour.

Alle syndication 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.

Dieser Endpunkt erfordert keine Organisations-ID. Ihr Schlüssel identifiziert bereits die zugehörige Organisation, und die Antwort ist entsprechend eingeschränkt.

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 PUT https://api.zinndigital.com/v1/syndication/plans/{planId} \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "scope": <string<post, recipe, org_default>> }'

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

Replaces the plan's channel set with `connection_ids`. ⛔ Each id is re-checked against the CALLER's scope, not merely the plan's org — a connection id is a UUID somebody could paste, and a plan naming another tenant's connection would post this article to that tenant's account. Gated on `syndication.manage`.

Parameter

NameTypErforderlichWas es ist
planId (path)stringJa

Anfragekörper

NameTypErforderlichWas es ist
scopestring<post, recipe, org_default>Ja
post_idstringNein
recipe_idstringNein
enabledbooleanNein
write_modestring<ai_per_channel, one_text>Nein
approval_modestring<hold, send>Nein
connection_idsstring[]Nein

Antwort

NameTypErforderlichWas es ist
idstringJa
scopestring<post, recipe, org_default>JaMost specific wins — an article's own plan beats its recipe's beats the org default.
post_idstringJa
recipe_idstringJa
enabledbooleanJa
write_modestring<ai_per_channel, one_text>Ja⚖️ Owner ruling 2026-08-20 — the AI writes per channel by default, because an X post and a LinkedIn update are not the same piece of writing.
approval_modestring<hold, send>Ja⚖️ Owner ruling 2026-08-20 — hold for approval by default.
channelsSyndicationPlanChannel[]Ja
created_atstringJa

Fehler, die dieser Endpunkt zurückgeben kann

401 · 403 · 404