Skip to content

Get a single blog article by ID (storefront callers see published articles only)​

GET
/rest/v1/cms/blog/article/{id}

Storefront callers — guest (no token) and customer — can only retrieve a published article: requesting an unpublished one (blog.is_published = 0) by ID returns 404 rather than the row, and with it the complete pre-publication body that ?with=translations would otherwise expose. isBackend() is the only gate, so a customer token gets the same 404 a guest does: the legacy detail page previews drafts only for a browser signed in to the back office, whose REST counterpart is a backend token. No blog_date window applies: a published article dated in the future is returned, although the legacy article page answers 404 to visitors until that date. Backend callers are unaffected.

Parameters​

Path Parameters

id*

ID of the article to retrieve

Type
integer
Required
Format
"int64"

Query Parameters

with

With relations

Type
string

Responses​

Successful operation

application/json
JSON
"string"

Playground​

Variables
Key
Value

Samples​

Powered by VitePress OpenAPI