syndication

PUT /v1/syndication/plans/{planId}

Change a plan's channels or behaviour.

Të gjitha pikat e skajshme syndication

Autentifikimi

Drgoni një çelës API si një token mbajtës. Ky pikëndalim nuk specifikon një leje specifike në specifikim, prandaj jepini çelësit tuaj minimumin e nevojshëm dhe kontrolloni përgjigjen në vend që të supozoni.

Ky pikëndalim nuk pranon id të organizatës. Çelësi juaj tashmë identifikon organizatën së cilës i përket dhe përgjigjja kufizohet vetëm për atë.

Provoje

Zëvendësoni çdo gjë brenda kllapave këndore me vlerat tuaja dhe vendbanuesin e çelësit me një çelës nga paneli juaj.

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

Jeni kyçur? Konsola e API-së në panelin tuaj plotëson ID-në tuaj reale të organizatës dhe çelësin tuaj, dhe ekzekuton kërkesën kundrejt API-së live, kështu që ju mund të shihni përgjigjen aktuale. Hapni këtë pikë fundore në konsolën e API-së

Detajet

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

Parametrat

EmriLlojiKërkohetÇfarë është kjo
planId (path)stringPo

Trupi i kërkesës

EmriLlojiKërkohetÇfarë është kjo
scopestring<post, recipe, org_default>Po
post_idstringJo
recipe_idstringJo
enabledbooleanJo
write_modestring<ai_per_channel, one_text>Jo
approval_modestring<hold, send>Jo
connection_idsstring[]Jo

Përgjigja

EmriLlojiKërkohetÇfarë është kjo
idstringPo
scopestring<post, recipe, org_default>PoMost specific wins — an article's own plan beats its recipe's beats the org default.
post_idstringPo
recipe_idstringPo
enabledbooleanPo
write_modestring<ai_per_channel, one_text>Po⚖️ 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>Po⚖️ Owner ruling 2026-08-20 — hold for approval by default.
channelsSyndicationPlanChannel[]Po
created_atstringPo

Gabimet që ky pikëndalim mund të kthejë

401 · 403 · 404