Skip to main content
GET
/
v1
/
platform
/
blog
/
posts
/
{id}
Get blog post
curl --request GET \
  --url https://api.truthlocks.com/v1/platform/blog/posts/{id} \
  --header 'X-API-Key: <api-key>'
{
  "id": "<string>",
  "title": "<string>",
  "slug": "<string>",
  "category": "<string>",
  "content": "<string>",
  "status": "<string>",
  "tags": [
    "<string>"
  ],
  "created_at": "<string>"
}
Returns a single blog post with all fields, including the full Markdown content body. Use this to display a post in a custom frontend or to fetch content before editing.
Requires the content admin or super admin platform role.

Parameters

id
string
required
The blog post ID.

Responses

Authorizations

X-API-Key
string
header
required

API key for machine-to-machine authentication

Path Parameters

id
string
required

Response

Blog post

id
string
title
string
slug
string
category
string
content
string
status
string
tags
string[]
created_at
string