Zernio
Zernio
API Reference

Blogs

Blogs

List blogsGETCreate a blogPOSTGet a blogGETUpdate a blogPATCHDelete a blogDELETE

Articles

List blog articlesGETCreate a blog articlePOSTGet a blog articleGETUpdate a blog articlePATCHDelete a blog articleDELETE
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
Blogs

List blogs

Lists blogs on the connected account. Shopify returns its store blogs with cursor pagination. A WordPress account represents one site and always returns exactly that one blog with nextCursor: null.

limit is 1-50 (default 20). Treat nextCursor as opaque; pass it unchanged on the next request. Supported on Shopify (shopify) and WordPress (wordpress).


PlatformsShopifyWordPress
GET
/v1/accounts/{accountId}/blogs

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

In: header

Path Parameters

accountId*string

Connected Shopify or WordPress account id.

Query Parameters

limit?integer

Page size (1-50).

Range1 <= value <= 50
Default20
cursor?string

Opaque cursor from a previous response. Omit for the first page.

Response Body

application/json

application/json

application/json

import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.blogs.listBlogs({  path: {    accountId: 'account_abc123',  },});console.log(data);
{  "platform": "shopify",  "blogs": [    {      "id": "string",      "platform": "shopify",      "title": "string",      "handle": "string"    }  ],  "nextCursor": "string"}
Was this page helpful?

Unfollow a user

Unfollow a user on X.

Create a blog

Creates a blog on the connected store. The platform generates the URL `handle` from the title when omitted. Supported on Shopify (platform `shopify`). A WordPress connection is its existing site, so WordPress returns 405 for blog creation.