List blogs
curl --request GET \
--url https://store.salesive.com/api/v1/blogs \
--header 'Authorization: Bearer <token>' \
--header 'x-shop-id: <api-key>'import requests
url = "https://store.salesive.com/api/v1/blogs"
headers = {
"Authorization": "Bearer <token>",
"x-shop-id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'x-shop-id': '<api-key>'}
};
fetch('https://store.salesive.com/api/v1/blogs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://store.salesive.com/api/v1/blogs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"x-shop-id: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://store.salesive.com/api/v1/blogs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("x-shop-id", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://store.salesive.com/api/v1/blogs")
.header("Authorization", "Bearer <token>")
.header("x-shop-id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://store.salesive.com/api/v1/blogs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
request["x-shop-id"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"blogs": [
{
"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>"
}
}
],
"total": 1,
"page": 2,
"limit": 2
}Blogs
List blogs
Retrieve a paginated set of blog posts for the current storefront.
GET
/
blogs
List blogs
curl --request GET \
--url https://store.salesive.com/api/v1/blogs \
--header 'Authorization: Bearer <token>' \
--header 'x-shop-id: <api-key>'import requests
url = "https://store.salesive.com/api/v1/blogs"
headers = {
"Authorization": "Bearer <token>",
"x-shop-id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {Authorization: 'Bearer <token>', 'x-shop-id': '<api-key>'}
};
fetch('https://store.salesive.com/api/v1/blogs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://store.salesive.com/api/v1/blogs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"x-shop-id: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://store.salesive.com/api/v1/blogs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("x-shop-id", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://store.salesive.com/api/v1/blogs")
.header("Authorization", "Bearer <token>")
.header("x-shop-id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://store.salesive.com/api/v1/blogs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
request["x-shop-id"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"blogs": [
{
"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>"
}
}
],
"total": 1,
"page": 2,
"limit": 2
}Request
GET /blogs?page=1&limit=10
x-shop-id: {{shopId}}
Headers
| Header | Type | Description |
|---|---|---|
x-shop-id | string | Identify the shop context. |
Query parameters
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number to return (default: 1). |
limit | integer | Maximum number of blog posts per page (default: 10). |
q | string | Optional search string applied to blog titles or content. |
Successful response
{
"status": 200,
"success": true,
"message": "Blogs found",
"data": {
"blogs": [
{
"_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": 2,
"createdAt": "2026-05-28T02:43:37.083Z",
"updatedAt": "2026-06-09T08:49:17.600Z",
"slug": "the-art-of-acquisition",
"__v": 0,
"id": "6a17abd9c12ba5b55a03afa8"
}
],
"pagination": {
"total": 2,
"page": 1,
"limit": 10,
"pages": 1,
"hasNext": false,
"hasPrev": false,
"nextPage": null,
"prevPage": null
}
}
}
Error response
{
"status": 500,
"success": false,
"message": "Internal server error",
"data": {}
}
Authorizations
JWT issued by the Salesive Store API for authenticated shoppers.
Optional storefront identifier sent as a header to scope responses to a specific shop. Try It requests remember this value once provided.
Headers
Optional identifier that scopes responses to a specific storefront when the referer cannot be inferred.
Query Parameters
Page number to return (defaults to 1).
Required range:
x >= 1Maximum number of blog posts per page (defaults to 10).
Required range:
x >= 1Optional search phrase applied to blog titles or excerpts.
Was this page helpful?
⌘I

