---
title: "Create a blog"
method: POST
path: "/v1/accounts/{accountId}/blogs"
tags: ["Blogs"]
---

# Create a blog

`POST /v1/accounts/{accountId}/blogs`

Creates a blog on the connected store. The platform generates the URL
`handle` from the title when omitted.

Supported on Shopify (platform `shopify`). Accounts on platforms
without blogs support return 400; a blogs-capable platform that lacks
this specific operation returns 405.

## Path parameters

- `accountId` string, required

## Request body

- object
  - `title` string, required
  - `handle` string — URL slug. Generated from the title when omitted.

## Response `201`

Blog created

- object
  - `platform` 'shopify'
  - `blog` Blog — A blog container on the connected platform. All content lives on the platform; Zernio proxies it and stores nothing.
    - `id` string — Platform-native blog id (numeric string for Shopify).
    - `platform` 'shopify'
    - `title` string
    - `handle` string — URL slug of the blog.

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `403` — The platform rejected the request (code insufficient_permissions); reconnect the Shopify account to restore access.
- `404` — Account not found or not accessible (code account_not_found).
- `405` — Platform does not support creating blogs.
- `429` — Rate limited, either by Zernio or by Shopify. Retry later.

---

[API](https://skmtc.net/zernio/apis/zernio-api.md) · [All operations](https://skmtc.net/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zernio/zernio-api/revisions/a23bb6e63438/schema)
