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

# Create a blog article

`POST /v1/messaging/accounts/{accountId}/blogs/{blogId}/articles`

## Request

- Base URL: `https://apihub.co.il`
- URL: `https://apihub.co.il/v1/messaging/accounts/{accountId}/blogs/{blogId}/articles`
- Auth: HTTP bearer

Creates an article on the blog. Publishing behavior:

- WordPress defaults to a draft when both publishing fields are omitted.
- `isPublished: false` keeps the article as a draft and takes priority
  over a future `publishDate`.
- A future `publishDate` schedules publication natively on the
  platform; the platform publishes it at that time with no Zernio
  queue involved.
- `isPublished: true` publishes immediately when there is no future
  `publishDate`.
- `seo.title` / `seo.description` map to Shopify's global `title_tag`
  and `description_tag` metafields (the fields Shopify themes read for
  the page title and meta description). WordPress rejects `seo`; SEO
  plugin and custom-field writes are not supported.

Supported on Shopify (`shopify`) and WordPress (`wordpress`). WordPress
native scheduling depends on the site's scheduler/WP-Cron.


**Billing:** Request; paid actions are priced in credits (see GET /v1/messaging/prices) · **Rate limit:** 60/min

## Path parameters

- `blogId` string, required: Platform-native numeric blog/site id returned by the list operation.
- `accountId` string, required: Connected Shopify or WordPress account id.

## Headers

- `Idempotency-Key` string
- `X-Tag` string

## Request body

- object
  - `seo` object: Shopify only. Search-engine overrides mapped to global title_tag and description_tag metafields. WordPress rejects this field.
    - `title` string
    - `description` string
  - `tags` string[]: Tag names. WordPress resolves existing names case-insensitively and creates missing tags.
  - `image` object: Featured image from a public URL. WordPress downloads it into the media library; JPEG, PNG, GIF and WebP are accepted up to 10 MB.
    - `url` string, uri, required
    - `altText` string
  - `title` string, required
  - `author` string: Shopify author display name, or numeric WordPress user id serialized as a string. Assigning another WordPress user may require elevated capability.
  - `handle` string: URL slug. Generated from the title when omitted.
  - `excerpt` string: Short summary shown in blog listings.
  - `bodyHtml` string: Article body as HTML.
  - `isPublished` boolean: Set false for a draft or true to publish. On WordPress false takes priority over a future publishDate; omission with no date defaults to draft.
  - `publishDate` string, date-time: ISO 8601 datetime with offset (or Z). A future date schedules publication natively on the platform.

## Response `200`

Completed

- object
  - `id` string: Execution id — stable across internal retries; use it with GET /v1/executions/{id}
  - `status` 'pending' | 'processing' | 'completed' | 'partial' | 'failed' | 'cancelled' | 'timeout'
  - `operation` string
  - `tag` string, nullable: Your X-Tag, if sent
  - `created_at` string, date-time
  - `completed_at` string, date-time, nullable
  - `output` object: Operation result (see each operation). While a Studio render is processing: `stage` (queued · transcribing · downloading · preparing · cleaning_voice · mixing_audio · rendering · finishing), `phase` (the engine's: download · prepare · voice · audio · encode · qa · upload, or null), `progress` (a percent, 0–100) and `progress_fraction` (0–1), `eta_seconds` (seconds left, never below 0) and `estimate_seconds`
    - `article` object: An article inside a blog on the connected platform.
      - `id` string: Platform-native numeric article/post id.
      - `tags` string[]: Tag names. On WordPress, missing tag names are created and matching is case-insensitive.
      - `image` object, nullable: Featured image.
        - `url` string
        - `altText` string, nullable
      - `title` string
      - `author` string, nullable: Shopify author display name, or numeric WordPress user id serialized as a string.
      - `blogId` string: Platform-native id of the blog the article belongs to.
      - `handle` string: URL slug of the article.
      - `status` 'publish' | 'future' | 'draft' | 'pending' | 'private': WordPress only. Native post status returned by WordPress; omitted for Shopify.
      - `excerpt` string, nullable: Short summary shown in blog listings.
      - `bodyHtml` string, nullable: Article body as HTML.
      - `platform` 'shopify' | 'wordpress'
      - `createdAt` string, date-time, nullable: Creation time when the platform exposes one. WordPress returns null because its core date is the editable publication date.
      - `updatedAt` string, date-time, nullable: Last modification time. WordPress returns modified_gmt as UTC.
      - `isPublished` boolean: False while the article is a draft or its publish date is still in the future.
      - `publishDate` string, date-time, nullable: WordPress only. Scheduled publication time in UTC when status is `future`; null for other WordPress statuses and omitted for Shopify.
      - `publishedAt` string, date-time, nullable: Publication time. On WordPress this is present only when status is `publish`; null for drafts, pending/private posts, and scheduled posts.
    - `platform` 'shopify' | 'wordpress'
  - `error` string, nullable
  - `usage` object
    - `credits_charged` number, nullable
    - `credits_reserved` number
    - `estimated_credits` number
    - `cost_source` 'provider_reported' | 'calculated' | 'estimated' | 'null', nullable
    - `provider_usage` object, nullable: Normalised consumption, e.g. { VIDEO_SECOND: 22.4 }
  - `balance` object
    - `available` number
    - `reserved` number

## Other responses

- `400`: Invalid input
- `402`: Insufficient credits / project budget
- `404`: Resource not found (or not yours)
- `429`: Rate limited
- `503`: Service temporarily paused

---

[API](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai.md) · [All operations](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/revisions/a8caa42835ce?raw)
