syndication

PUT /v1/syndication/plans/{planId}

Change a plan's channels or behaviour.

Све syndication крајње тачке

Сва документација за програмере →

Аутентификација

Пошаљите API кључ као bearer токен. Ова крајња тачка не наводи конкретну дозволу у спецификацији, па свом кључу доделите најмања неопходна овлашћења и проверите одговор уместо да претпостављате.

Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.

Испробајте

Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.

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 конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом 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