Skip to main content
GET
/
blogs
/
{id}
Get blog
curl --request GET \
  --url https://store.salesive.com/api/v1/blogs/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-shop-id: <api-key>'
{
  "id": "<string>",
  "title": "<string>",
  "slug": "<string>",
  "excerpt": "<string>",
  "thumbnail": "<string>",
  "publishedAt": "2023-11-07T05:31:56Z",
  "status": "<string>",
  "updatedAt": "2023-11-07T05:31:56Z",
  "content": "<string>",
  "author": {
    "name": "<string>",
    "avatar": "<string>"
  }
}
Returns one blog post by id with the author populated, scoped to the store bound to your app token; soft-deleted posts are excluded and return 404. The store is bound to your app token server-side — never send a shop id.

Authorizations

Authorization
string
header
required

JWT issued by the Salesive Store API for authenticated shoppers.

x-shop-id
string
header
required

Optional storefront identifier sent as a header to scope responses to a specific shop. Try It requests remember this value once provided.

Headers

x-shop-id
string

Optional identifier that scopes responses to a specific storefront when the referer cannot be inferred.

Path Parameters

id
string
required

Unique blog post identifier.

Response

Blog detail response.

id
string
required

Unique blog post identifier.

title
string
required

Human-readable title for the blog post.

slug
string
required

URL-friendly slug for the blog post.

excerpt
string
required

Short teaser text shown on listing pages.

thumbnail
string<uri>
required

Featured image URL for the blog post.

publishedAt
string<date-time>
required

Publication timestamp in ISO 8601 format.

status
string
required

Workflow status such as draft, scheduled, or published.

updatedAt
string<date-time>

Timestamp of the most recent update.

content
string

Full HTML content of the blog post.

author
object

Author metadata for the blog post.