syndication

POST /v1/syndication/plans

Save a syndication plan.

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

אימות

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

המקום שבו מזהה הארגון שלך נכנס

נקודת קצה זו מקבלת את org_id כפרמטר שאילתת חיפוש. השאר אותו ריק והקריאה תכסה את כל תת-עץ הדיירות שלך; שלח אותו כדי לצמצם את הקריאה לארגון אחד.

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

נסה זאת

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

curl -X POST https://api.zinndigital.com/v1/syndication/plans \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "scope": <string<post, recipe, org_default>> }'

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

פרטים

A plan for one article (`post`), for a recipe (`recipe`) or for everything (`org_default`); the most specific one wins and a disabled plan stops the search rather than falling through. `approval_mode` defaults to `hold` — owner ruling, 2026-08-20. Gated on `syndication.manage`.

פרמטרים

שםסוגנדרשמה זה
org_id (query)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 · 422