Skip to content

Get Blog Post by Id

GET
/api/v1/posts/id/{id}

Parameters

Path Parameters

id*
Type
string
Required

Responses

Post details

Playground

Server
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Read a single blog post by database id.

Auth: optional.

Parameters

NameInTypeRequiredDescription
idpathstringYesPost id

Request Body

None.

Response 200

json
{
	"data": { "id": "post_1", "slug": "hello-world", "title": "Hello" },
	"user_context": { "authenticated": true },
	"meta": {}
}

Response Errors

  • 404 post not found

Notes

  • Useful for internal tools and admin workflows.
  • Returns the same response shape as the slug lookup.