syndication

PUT /v1/syndication/posts/{postId}

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

Todos os endpoints de syndication

Autenticação

Envie uma chave de API como um token bearer. Este endpoint não especifica uma permissão específica na documentação, portanto, conceda à sua chave o mínimo necessário e verifique a resposta em vez de assumir.

Este endpoint não requer um ID de organização. Sua chave já identifica a organização à qual pertence, e a resposta é delimitada a ela.

Experimente

Substitua qualquer item entre colchetes por seus próprios valores e o espaço reservado para a chave por uma chave do seu painel.

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

Conectado? O console da API no seu painel preenche o ID da sua organização real e a sua própria chave, e executa a requisição contra a API de produção para que você possa ver a resposta real. Abra este endpoint no console da API

Detalhes

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

Parâmetros

NomeTipoObrigatórioO que é
postId (path)stringSim

Corpo da requisição

NomeTipoObrigatórioO que é
textstringSim

Resposta

NomeTipoObrigatórioO que é
idstringSim
channelstringSim
connection_idstringSim
connection_labelstringSim
statusstring<drafting, awaiting_approval, queued, posted, failed, needs_reconnect, skipped>Sim⛔⛔ `needs_reconnect` is NOT `failed`. `skipped` means the customer said no or the connection was removed — nothing went wrong.
textstringSim
remote_urlstringSimThe 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[][]Sim`[[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…
errorstringSimA machine code, never a sentence.
cost_microsintegerSimWhat this post cost us, in USD micros. One line per channel per post.
character_limitintegerSim
posted_atstringSim

Erros que este endpoint pode retornar

401 · 403 · 404 · 422