links

GET /v1/content/posts/{postId}

One post.

Alle links-eindpunten

Authenticatie

Stuur een API-sleutel mee als bearer token. Dit eindpunt vermeldt geen specifieke toestemming in de specificatie, dus geef uw sleutel de minimale rechten die nodig zijn en controleer het antwoord in plaats van zomaar wat aan te nemen.

Dit eindpunt vereist geen organisatie-id. Uw sleutel identificeert al de organisatie waartoe deze behoort, en het antwoord is hierop afgestemd.

Probeer het

Vervang alles tussen punthaakjes door uw eigen waarden en de sleutelplaatsvervanger door een sleutel uit uw dashboard.

curl -X GET https://api.zinndigital.com/v1/content/posts/{postId} \
  -H "Authorization: Bearer zdk_live_…"

Ingelogd? De API-console in je dashboard vult je echte organisatie-id en je eigen sleutel in, en voert het verzoek uit tegen de live API zodat je de daadwerkelijke respons kunt zien. Open dit eindpunt in de API-console

Details

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.

Parameters

NaamTypeVerplichtWat dit is
postId (path)stringJa

Reactie

NaamTypeVerplichtWat dit is
idstringJa
titlestringJa
body_htmlstringJaThe 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.
notesstringJaThe customer's own notes — V1's `Post.notes`. Never published.
statusstring<draft, ready>Ja
placement_countintegerJaSites this post is scheduled or live on.
published_countintegerJa
created_atstringJa
updated_atstringJa

Fouten die dit eindpunt kan retourneren

401 · 403 · 404