PeumeAPI

Social publishing & inbox

Create a blog article

Creates an article on the blog. Supported on Shopify (`shopify`), WordPress (`wordpress`), Wix (`wix`) and Webflow (`webflow`).

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/create-a-blog-article \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId",
    "blogId": "your blogId",
    "title": "your title"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: create-a-blog-article.

Parameters

accountIdRequiredstring

Connected Shopify, WordPress, Wix or Webflow account id.

blogIdRequiredstring

Platform-native blog/site id returned by the list operation.

titleRequiredstring
bodyHtmlstring

Article body as HTML.

handlestring

URL slug. Generated from the title when omitted.

tagsarray

Tag names. WordPress and Wix resolve existing names case-insensitively and create missing tags (Wix allows up to 30).

authorstring

Shopify author display name, numeric WordPress user id serialized as a string, or Wix site member id. Assigning another WordPress user may require elevated capability. Wix posts without one go to the site's default author.

excerptstring

Short summary shown in blog listings.

imageobject

Featured image from a public URL. WordPress downloads it into the media library and Wix imports it into the Media Manager; JPEG, PNG, GIF and WebP are accepted up to 10 MB.

seoobject

Shopify and Wix. Search-engine overrides: Shopify global title_tag and description_tag metafields, Wix post SEO title and meta description. WordPress rejects this field.

isPublishedboolean

Set false for a draft or true to publish. On WordPress and Wix false takes priority over a future publishDate; omission with no date defaults to draft.

publishDatestring

ISO 8601 datetime with offset (or Z). A future date schedules publication natively on the platform.

fieldDataobject

Webflow only (other platforms answer 400). The collection's own fields that the Blogs API does not map, keyed by field slug, in Webflow's value format (a Reference is an item id, an Image is { url, alt }). Required by collections with required fields of their own: a create that leaves one empty answers 400 listing them. A slug the API already fills (name, slug, body, summary, image, tags, author, date) or one the collection lacks answers 400.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.