Zernio
APIFor you
Zernio
APIFor you
Platforms

Wix

Overview

Set up

Connect

Publish

Publishing Articles

Reference

Limits & Errors
Dashboard
OverviewPlatformsAPI ReferenceResources
Wix

Publishing Articles

List, create, schedule, update and delete Wix blog posts through the Blogs API, and how Wix stores their content.


Publish articles

Wix uses the same article endpoints as Shopify and WordPress, with blog id 1. Article ids are Wix GUIDs.

curl -X POST "https://zernio.com/api/v1/accounts/ACCOUNT_ID/blogs/1/articles" \
  -H "Authorization: Bearer $ZERNIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Spring menu is here",
    "bodyHtml": "<p>Five new dishes from our kitchen.</p>",
    "handle": "spring-menu",
    "excerpt": "Five new dishes.",
    "tags": ["menu", "seasonal"],
    "image": { "url": "https://cdn.example.com/spring.jpg", "altText": "Spring dishes" },
    "seo": { "title": "Spring menu", "description": "Five new dishes from our kitchen." },
    "publishDate": "2030-03-01T09:00:00Z"
  }'

How it behaves

  • Publishing. isPublished: false keeps a draft and wins over a date. A future publishDate schedules natively in Wix. isPublished: true publishes now. Edits to a published post go live.
  • Body. bodyHtml is converted to Wix rich content. Each top-level HTML element must fit 30,000 characters. Images in the body and the cover image are imported into the site's Media Manager.
  • Reading. Lists return bodyHtml: null; get the article for its body. Images nested inside lists or quotes do not come back in bodyHtml.
  • Tags. Matched by name, created when missing, up to 30 per post.
  • Author. author is a Wix site member id. Without it, the site's default author is used.
  • Delete is permanent; it skips the Wix trash.
Was this page helpful?

Connect

Install the Zernio app on a Wix site to connect it, from the dashboard or with the connect API.

Limits & Errors

What the Wix connection does not expose, its field limits and the common errors when calling it.

On this page

Publish articlesHow it behaves