---
title: "Get Blog Posts"
method: GET
path: "/v1/shops/{shopId}/blog-posts"
tags: ["Blog Posts"]
---

# Get Blog Posts

`GET /v1/shops/{shopId}/blog-posts`

Retrieves the blog posts.

## Request body

- object
  - `page` integer
  - `perPage` integer — Must be at least 1. Must not be greater than 100.
  - `orderColumn` 'id' | 'title' | 'created_at' | 'updated_at'
  - `orderDirection` 'asc' | 'desc'
  - `title` string — Must not be greater than 255 characters.

## Response `200`

- object
  - `current_page` integer
  - `data` object[]
    - `id` integer
    - `shop_id` integer
    - `ai_generated` boolean
    - `topic_type` string
    - `path` string
    - `title` string
    - `summary` string
    - `image_id` string
    - `meta_title` string
    - `meta_description` string
    - `created_at` string
    - `updated_at` string
    - `image` string
  - `first_page_url` string
  - `from` integer
  - `last_page` integer
  - `last_page_url` string
  - `links` object[]
    - `url` string
    - `label` string
    - `active` boolean
  - `next_page_url` string
  - `path` string
  - `per_page` integer
  - `prev_page_url` string
  - `to` integer
  - `total` integer

---

[API](https://skmtc.dev/sellauth/apis/sellauth-api.md) · [All operations](https://skmtc.dev/sellauth/apis/sellauth-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sellauth/sellauth-api/revisions/945e6d749d68/schema)
