Skip to main content
GET
/
v1
/
platform
/
blog
/
posts
List blog posts
curl --request GET \
  --url https://api.truthlocks.com/v1/platform/blog/posts \
  --header 'X-API-Key: <api-key>'
{
  "items": [
    {
      "id": "<string>",
      "title": "<string>",
      "slug": "<string>",
      "category": "<string>",
      "status": "<string>",
      "published_at": "<string>"
    }
  ]
}
Returns blog posts managed through the blog CMS. Filter by publication status or category, and paginate through results with limit and offset.
Requires the content admin or super admin platform role.

Parameters

status
string
Filter by post status: draft, published, or archived.
category
string
Filter by category: engineering, product, security, company, or industry.
limit
integer
Maximum number of posts to return. Default: 50.
offset
integer
Number of posts to skip for pagination. Default: 0.

Responses

Authorizations

X-API-Key
string
header
required

API key for machine-to-machine authentication

Query Parameters

status
enum<string>
Available options:
draft,
published,
archived
category
string
limit
integer
default:20

Response

Blog posts

items
object[]