Call it
curl https://api.peume.com/v1/call/update-a-blog-article \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"accountId": "your accountId",
"blogId": "your blogId",
"articleId": "your articleId"
}
}'const res = await fetch("https://api.peume.com/v1/call/update-a-blog-article", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"accountId": "your accountId",
"blogId": "your blogId",
"articleId": "your articleId"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/update-a-blog-article",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"accountId": "your accountId",
"blogId": "your blogId",
"articleId": "your articleId"
}
},
)
print(res.json()["output"])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: update-a-blog-article.
Parameters
accountIdRequiredstringConnected Shopify, WordPress, Wix or Webflow account id.
blogIdRequiredstringPlatform-native blog/site id returned by the list operation.
articleIdRequiredstringPlatform-native article id: numeric on Shopify and WordPress, a GUID on Wix, a 24-character hex item id on Webflow. Other formats return 400.
titlestringbodyHtmlstringArticle body as HTML.
handlestringURL slug of the article.
tagsarrayReplaces the full tag-name list. WordPress and Wix resolve existing names case-insensitively and create missing tags (Wix allows up to 30).
authorstringShopify 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.
excerptstringShort summary shown in blog listings.
imageobjectFeatured 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. Omit to preserve it; null removal is not supported.
seoobjectShopify and Wix. Search-engine overrides: Shopify global title_tag and description_tag metafields, Wix post SEO title and meta description. WordPress rejects this field.
isPublishedbooleanSet false to move to draft or true to publish. On WordPress and Wix false takes priority over a future publishDate; omission preserves status unless publishDate is sent (edits to a published Wix post go live).
publishDatestringISO 8601 datetime with offset (or Z). A future date schedules publication natively on the platform.
fieldDataobjectWebflow 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.
