Skip to Content
StarsellDocs
API referenceBlogs

List blog posts

GET
/stores/{storeId}/posts

List blog posts, newest first.

Authorization

storeKey
headerAuthorizationBearer <vtk_...>

A store API and MCP key

Path Parameters

storeId*string

The store id

Query Parameters

limit?integer
Range1 <= value <= 100
Default25
page?integer
Range1 <= value
Default1
blog?string

A blog id or handle

state?string
Value in"draft""scheduled""published"
tag?string

Posts with this tag

Response Body

OK

application/json
  1. response
data*array<>
pagination*
Example Request
curl -X GET 'https://starsell.app/api/v1/stores/string/posts'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "blog_id": "2fa3232b-7b88-413a-9281-331d1b7d4030",      "handle": "string",      "title": "string",      "titles": {        "property1": "string",        "property2": "string"      },      "excerpt": "string",      "excerpts": {        "property1": "string",        "property2": "string"      },      "body_html": "string",      "bodies": {        "property1": "string",        "property2": "string"      },      "image_url": "string",      "author": "string",      "tags": [        "string"      ],      "status": "draft",      "state": "draft",      "published_at": "2019-08-24T14:15:22Z",      "url": "string",      "seo": {        "title": "string",        "description": "string",        "image_url": "string"      },      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "pagination": {    "page": 0,    "limit": 0,    "total": 0,    "has_more": true  }}