syndication

PUT /v1/syndication/plans/{planId}

Change a plan's channels or behaviour.

Усі кінцеві точки syndication

Автентифікація

Надішліть ключ API як маркер носія (bearer token). Ця кінцева точка не вказує конкретного дозволу в специфікації, тому надайте своєму ключу мінімально необхідні права та перевірте відповідь, замість того щоб припускати.

Цей кінцевий пункт не потребує ідентифікатора організації. Ваш ключ уже ідентифікує організацію, якій він належить, і відповідь обмежується її межами.

Спробувати

Замініть усе в кутових дужках власними значеннями, а заповнювач ключа — ключем із вашої панелі керування.

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