syndication

PUT /v1/syndication/plans/{planId}

Change a plan's channels or behaviour.

כל נקודות הקצה מסוג syndication

אימות

שלח מפתח API כטוקן Bearer. נקודת קצה זו אינה מציינת הרשאת ספציפית במפרט, לכן הקצה למפתח שלך את המינימום הנדרש ובדוק את התגובה במקום להניח הנחות.

נקודת קצה זו אינה דורשת מזהה ארגון. המפתח שלך כבר מזהה את הארגון שאליו הוא שייך, והתגובה מוגבלת אליו בלבד.

נסה זאת

החלף כל דבר בסוגריים זוויתיים בערכים משלך, ואת מציין מיקום המפתח במפתח מלוח הבקרה שלך.

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>> }'

מחובר? קונסולת ה-API בלוח הבקרה שלך מזינה את מזהה הארגון האמיתי שלך ואת המפתח שלך, ומריצה את הבקשה מול ה-API הפיזי כך שתוכל לראות את התגובה בפועל. פתח נקודת קצה זו במסוף ה-API

פרטים

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

פרמטרים

שםסוגנדרשמה זה
planId (path)stringכן

גוף הבקשה

שםסוגנדרשמה זה
scopestring<post, recipe, org_default>כן
post_idstringלא
recipe_idstringלא
enabledbooleanלא
write_modestring<ai_per_channel, one_text>לא
approval_modestring<hold, send>לא
connection_idsstring[]לא

תשובה

שםסוגנדרשמה זה
idstringכן
scopestring<post, recipe, org_default>כןMost specific wins — an article's own plan beats its recipe's beats the org default.
post_idstringכן
recipe_idstringכן
enabledbooleanכן
write_modestring<ai_per_channel, one_text>כן⚖️ 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>כן⚖️ Owner ruling 2026-08-20 — hold for approval by default.
channelsSyndicationPlanChannel[]כן
created_atstringכן

שגיאות שנקודה קצה זו עשויה להחזיר

401 · 403 · 404