syndication

PUT /v1/syndication/posts/{postId}

Change a held post's copy before it goes out.

Tutti gli endpoint syndication

Autenticazione

Invia una chiave API come bearer token. Questo endpoint non specifica un permesso specifico nella specifica, quindi assegna alla tua chiave i permessi minimi necessari e verifica la risposta invece di fare supposizioni.

Questo endpoint non richiede alcun ID organizzazione. La tua chiave identifica già l'organizzazione a cui appartiene e la risposta è limitata ad essa.

Provalo

Sostituisci qualsiasi elemento tra parentesi angolari con i tuoi valori e il segnaposto key con una chiave dalla tua dashboard.

curl -X PUT https://api.zinndigital.com/v1/syndication/posts/{postId} \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "text": <string> }'

Hai effettuato l'accesso? La console API nella tua dashboard inserisce il tuo ID organizzazione reale e la tua chiave personale, ed esegue la richiesta sull'API live in modo da poter vedere la risposta effettiva. Apri questo endpoint nella console API

Dettagli

⛔ Refused once the post has gone out — there is nothing to edit. The channel's character limit is enforced here, so a customer typing 400 characters into a Bluesky box is told while they are typing. Gated on `syndication.manage`.

Parametri

NomeTipoObbligatorioChe cos'è
postId (path)string

Corpo della richiesta

NomeTipoObbligatorioChe cos'è
textstring

Risposta

NomeTipoObbligatorioChe cos'è
idstring
channelstring
connection_idstring
connection_labelstring
statusstring<drafting, awaiting_approval, queued, posted, failed, needs_reconnect, skipped>⛔⛔ `needs_reconnect` is NOT `failed`. `skipped` means the customer said no or the connection was removed — nothing went wrong.
textstring
remote_urlstringThe live post, read back from the channel where it returns one. ⛔ Empty where the vendor gives us nothing to build a URL from (a Slack incoming webhook answers the literal strin…
droppedstring[][]`[[field, reason], …]` — what this channel could not carry, and WHY. The reason travels: "no image endpoint" and "the upload was refused" are different problems with different n…
errorstringA machine code, never a sentence.
cost_microsintegerWhat this post cost us, in USD micros. One line per channel per post.
character_limitinteger
posted_atstring

Errori che questo endpoint può restituire

401 · 403 · 404 · 422