Connect Wix to Fondoo
Wix is a website builder with a blog and a built-in CMS. Connecting it lets your AI agent write Wix Blog drafts and publish them, and read and write items in a Wix CMS collection, on the Wix site you already have. Fondoo connects with a Wix API key that you create in your Wix account.
What Fondoo can do with it
- Blog draft posts: list, read, create and update. Fondoo converts your page's HTML into Wix's rich content format.
- Publish a draft (
posts.publish). This makes the post live. - CMS collection items (Wix Data): list (query), read, create and update. These go to the collection you set as
collectionId. - Delete draft posts or collection items. This is destructive and needs your approval.
After you bind the connection with connect_cms, Fondoo's shared page tools use Wix Blog:
update_pagesaves a draft post.publish_connected_pagesaves the draft and then publishes it.map_cms_pagelinks an existing post.apply_seo_fixescan set the title, description, canonical and robots tags in the post's SEO settings, after the post has been mapped withmap_cms_page.
Wix scheduling is not used. Fondoo keeps its own schedule and publishes at the chosen time.
Approval rules:
- Publishing needs your approval unless you have turned on auto-publish.
- Deletes need your approval.
- Replacing an existing CMS binding needs your approval.
Before you start
- Account owner or co-owner access. Only account owners and co-owners can create Wix API keys. A site-level call only works with a key from the account that owns the site (authentication methods).
- The Wix Blog app installed on the site, for blog posts.
- A CMS collection for item actions, if you want them. You need its collection ID.
- Your public site URL, for example
https://www.example.com. You give it toconnect_cmsaspublicSiteUrl, because the key form has no URL field. - Wix API keys have no separate charge; your Wix plan's normal limits apply.
Step by step: get your credentials
- Open the API Keys Manager in your Wix account: https://manage.wix.com/account/api-keys (generate an API key).
- Select Generate API Key and give it a name such as
Fondoo. - Choose site access. Pick only the site you want Fondoo to manage, rather than all sites.
- Under permissions, tick:
- Manage Blog, to create, update and publish draft posts (create draft post).
- Read Data Items and Write Data Items, only if you want CMS collection items (insert data item).
- Generate the key. Wix may ask you to confirm with a code sent by email. Copy the key; it is shown only once.
- Find the site ID. Open the site's dashboard. The site ID is the long ID after
/dashboard/in the browser address. - Optional
memberId. Wix may need a site member to be named as a draft's author. If draft creation fails without one, supply the member ID of the author you want. This may differ for your account. - Optional
collectionId. Copy the ID of the CMS collection for item actions.
Connect it in Fondoo
In the dashboard:
- Open Connections → Available → Content → Wix → Use a key → Open secure key entry.
- Fill in
apiKeyandsiteId, plusmemberIdandcollectionIdif you have them. - Click Save connection securely. The link lasts 15 minutes and works once.
- Click Check connection.
By asking your agent. For example:
"Connect my Wix site so you can publish blog posts there."
The agent calls add_connection_key({provider:"wix", siteId}) without fields and sends you the secure link. Keys sent in fields carry a chat-log warning, so avoid pasting keys in chat. connect_service({provider:"wix", siteId}) gives a signed 15-minute instruction link. Afterwards:
test_connection({connectionId})
connect_cms({siteId, connectionId, settings:{publicSiteUrl:"https://www.example.com"}})REST: POST https://api.getfondoo.com/v1/ops/add_connection_key with Authorization: Bearer <your Fondoo key> and {"provider":"wix","siteId":"<site UUID>"}.
Test that it works
test_connectionlists one published blog post (GET /blog/v3/posts). Statusconnectedmeans the key, site ID and blog access work. Other actions stay "unknown" until used.- Ask your agent to create a test draft from a Fondoo page. It should appear under Blog → Drafts in your Wix dashboard.
Troubleshooting
- Status
invalidor "Provider request failed (401)". The key was deleted or copied incorrectly. - "Provider request failed (403)". A permission is missing (Manage Blog, or the Data Items permissions), the key does not include this site, or it belongs to a different Wix account.
- The test fails on a site without a blog. The connection test reads blog posts. Install the Wix Blog app, or expect only collection item actions to work.
- Draft creation fails asking for an author. Add
memberIdwithrotate_connection_key. - "Supply settings.publicSiteUrl for the published CMS site". Add your public HTTPS URL to
connect_cms. - "Provider request failed (429)". Wix is throttling requests. Wix does not publish a fixed limit for API keys; wait a minute and retry. Fondoo also limits each connection to about 60 actions per minute.
Limits, data and security
- What Fondoo stores: encrypted key and IDs, status, last test, last use, and snapshots of posts it publishes (for undo).
list_connectionsshows[redacted]. - Rotate: generate a new key, call
rotate_connection_key({connectionId})without fields and paste the new key with the same site ID, then delete the old key in the API Keys Manager. - Disconnect:
delete_connection({connectionId})removes the stored key. Agents need your approval. Delete the key in the API Keys Manager too.
Official links
- Generate an API key: https://dev.wix.com/docs/go-headless/develop-your-project/admin-operations/generate-an-api-key
- Authentication methods: https://dev.wix.com/docs/overview/auth-permissions/authentication-methods
- Draft posts API: https://dev.wix.com/docs/api-reference/business-solutions/blog/draft-posts/introduction
- Data items API: https://dev.wix.com/docs/api-reference/business-solutions/cms/data-items/insert-data-item
- Rate limits: https://dev.wix.com/docs/rest/articles/getting-started/rate-limits
