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>"
  }
}

Request

GET /blogs/the-art-of-acquisition
x-shop-id: {{shopId}}

Headers

HeaderTypeDescription
x-shop-idstringIdentify the shop context.

Path parameters

ParameterTypeDescription
idstringBlog post ID or slug.

Successful response

{
    "status": 200,
    "success": true,
    "message": "Blog found",
    "data": {
        "_id": "6a17abd9c12ba5b55a03afa8",
        "title": "The Art of Acquisition",
        "image": "https://cdn.dribbble.com/userupload/43590559/file/original.png",
        "description": "",
        "content": "<p>Full blog post content here...</p>",
        "tags": ["art", "new"],
        "shop": "68b8f52575da81b332af29f1",
        "author": {
            "_id": "68b8f4aecafb9a1167c25b8e",
            "name": "Jane Smith",
            "avatar": "https://cdn.salesive.com/avatars/jane.jpg"
        },
        "published": true,
        "publishedAt": "2026-05-28T02:43:37.081Z",
        "views": 3,
        "createdAt": "2026-05-28T02:43:37.083Z",
        "updatedAt": "2026-06-09T08:49:17.600Z",
        "slug": "the-art-of-acquisition",
        "__v": 0,
        "id": "6a17abd9c12ba5b55a03afa8"
    }
}

Error response

{
    "status": 404,
    "success": false,
    "message": "Blog not found",
    "data": {}
}

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.