links

GET /v1/content/posts/{postId}

One post.

Todos os endpoints de links

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 GET https://api.zinndigital.com/v1/content/posts/{postId} \
  -H "Authorization: Bearer zdk_live_…"

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

The post with its live placement counts. Gated on `links.view`. 404 rather than 403 for a post in another tenant — a 403 would confirm the row exists.

Parâmetros

NomeTipoObrigatórioO que é
postId (path)stringSim

Resposta

NomeTipoObrigatórioO que é
idstringSim
titlestringSim
body_htmlstringSimThe post body as HTML, exactly as the customer wrote it. The `<a>` tags in it are the anchors; the platform never rewrites them, on the way in or the way out.
notesstringSimThe customer's own notes — V1's `Post.notes`. Never published.
statusstring<draft, ready>Sim
placement_countintegerSimSites this post is scheduled or live on.
published_countintegerSim
created_atstringSim
updated_atstringSim

Erros que este endpoint pode retornar

401 · 403 · 404