syndication
PUT /v1/syndication/plans/{planId}
Change a plan's channels or behaviour.
Аутентификација
Пошаљите 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 | Да | — |
Тело захтева
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
scope | string<post, recipe, org_default> | Да | — |
post_id | string | Не | — |
recipe_id | string | Не | — |
enabled | boolean | Не | — |
write_mode | string<ai_per_channel, one_text> | Не | — |
approval_mode | string<hold, send> | Не | — |
connection_ids | string[] | Не | — |
Одговор
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
id | string | Да | — |
scope | string<post, recipe, org_default> | Да | Most specific wins — an article's own plan beats its recipe's beats the org default. |
post_id | string | Да | — |
recipe_id | string | Да | — |
enabled | boolean | Да | — |
write_mode | string<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_mode | string<hold, send> | Да | ⚖️ Owner ruling 2026-08-20 — hold for approval by default. |
channels | SyndicationPlanChannel[] | Да | — |
created_at | string | Да | — |
Грешке које ова крајња тачка може вратити
401 · 403 · 404