Node.js
import Shoply from "@shoplygg/node";
const shoply = new Shoply({ apiKey: process.env.SHOPLY_API_KEY });
const result = await shoply.blog.list();<?php
require 'vendor/autoload.php';
$shoply = new Shoply\Client(['apiKey' => getenv('SHOPLY_API_KEY')]);
$result = $shoply->blog->list();
import shoply
client = shoply.Client() # reads SHOPLY_API_KEY
result = client.blog.list()
curl --request GET \
--url https://api.shoply.gg/v1/stores/{storeId}/blog \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.shoply.gg/v1/stores/{storeId}/blog"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.shoply.gg/v1/stores/{storeId}/blog")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.shoply.gg/v1/stores/{storeId}/blog")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": null,
"code": null,
"data": [
{
"id": "c3b25928-c119-4d41-8df1-0525a3a69be5",
"name": "Guides",
"slug": "guides",
"path": "/blog/guides/",
"description": "How to set things up.",
"imageUrl": null,
"posts": [
{
"id": "57d066e1-e807-42dc-8d81-b0ff59fa7eb3",
"categoryId": "c3b25928-c119-4d41-8df1-0525a3a69be5",
"title": "Activating Northwind Pro",
"slug": "activating-northwind-pro",
"path": "/blog/guides/activating-northwind-pro/",
"status": "published",
"coverUrl": null,
"views": 0,
"publishedAt": "2026-10-22 16:20:18",
"updatedAt": "2026-10-22 16:20:18.858"
}
]
}
],
"meta": {
"limits": {
"categories": 20,
"postsPerCategory": 15,
"images": 20,
"body": 100000,
"title": 140,
"seoTitle": 70,
"seoDescription": 200
},
"storeUrl": "https://northwind.myshoply.gg"
}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}Blog
List blog categories and posts
Every blog category in the store’s own order, each with its posts in theirs, drafts included, without their text. A store holds up to 20 categories and a category up to 15 posts.
Needs the blog.read permission (Read Blog).
GET
/
stores
/
{storeId}
/
blog
Node.js
import Shoply from "@shoplygg/node";
const shoply = new Shoply({ apiKey: process.env.SHOPLY_API_KEY });
const result = await shoply.blog.list();<?php
require 'vendor/autoload.php';
$shoply = new Shoply\Client(['apiKey' => getenv('SHOPLY_API_KEY')]);
$result = $shoply->blog->list();
import shoply
client = shoply.Client() # reads SHOPLY_API_KEY
result = client.blog.list()
curl --request GET \
--url https://api.shoply.gg/v1/stores/{storeId}/blog \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.shoply.gg/v1/stores/{storeId}/blog"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.shoply.gg/v1/stores/{storeId}/blog")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.shoply.gg/v1/stores/{storeId}/blog")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": null,
"code": null,
"data": [
{
"id": "c3b25928-c119-4d41-8df1-0525a3a69be5",
"name": "Guides",
"slug": "guides",
"path": "/blog/guides/",
"description": "How to set things up.",
"imageUrl": null,
"posts": [
{
"id": "57d066e1-e807-42dc-8d81-b0ff59fa7eb3",
"categoryId": "c3b25928-c119-4d41-8df1-0525a3a69be5",
"title": "Activating Northwind Pro",
"slug": "activating-northwind-pro",
"path": "/blog/guides/activating-northwind-pro/",
"status": "published",
"coverUrl": null,
"views": 0,
"publishedAt": "2026-10-22 16:20:18",
"updatedAt": "2026-10-22 16:20:18.858"
}
]
}
],
"meta": {
"limits": {
"categories": 20,
"postsPerCategory": 15,
"images": 20,
"body": 100000,
"title": 140,
"seoTitle": 70,
"seoDescription": 200
},
"storeUrl": "https://northwind.myshoply.gg"
}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}Authorizations
A secret API key, made under Developers in the dashboard: Authorization: Bearer shoply_sk_...
Path Parameters
The store's ID. A key reaches the store it was made in: GET /key answers which.

