---
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`). A WordPress connection is
its existing site, so WordPress returns 405 for blog creation.

## 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. Shopify uses a numeric blog id. WordPress.com uses the numeric site id; self-hosted WordPress uses `1`, scoped to the connected account.
    - `platform` 'shopify' | 'wordpress'
    - `title` string
    - `handle` string — URL slug on Shopify; site hostname on WordPress.

## 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.

## Changes

- **2026-09-17** `fdaf9a9fb1a7` — 1 warning
  - added the new `wordpress` enum value to the `blog/platform` response property for the response status `201`
- **2026-09-16** `3e6ddf2a99ea` — 1 info
  - added the optional property `details/budgetScope` to the response with the `400` status
- **2026-09-15** `0dba7d004d75` — 2 info
  - added the optional property `details/quotaExhausted` to the response with the `400` status
  - added the optional property `details/quotaScope` to the response with the `400` status
- **2026-08-14** `875093317201` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/accounts/:accountId/blogs/post.md)

---

[API](https://skmtc.dev/zernio/apis/zernio-api.md) · [All operations](https://skmtc.dev/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zernio/apis/zernio-api/revisions/dd3865482f9f?raw)
