blog

Get Blog By Preview Token

Public but unguessable: render a blog from a signed preview token. Serves drafts and inactive posts (that's the point), so the token is the only credential. Anything unusable — bad signature, wrong purpose, expired, deleted blog — comes back as a plain 404.

The website mounts this at /blogs/preview/{token} and renders it with the same template as a published post, with noindex set.

get/v1/blog/preview/{token}

Request

  • Base URL
    https://api.linktodm.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

tokenstring required

Response

Successful Response

idinteger required
babylovegrowth_ai_idstring nullable
titlestring required
meta_descriptionstring required
slugstring required
language_codestring required
content_htmlstring required
content_markdownstring nullable
hero_image_urlstring nullable
written_bystring required
is_activeboolean required
is_draftboolean
created_atstring date-time nullable
updated_atstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.