> ## Documentation Index
> Fetch the complete documentation index at: https://docs.seosorted.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Wix

> Publish articles to your Wix blog with an account API key.

The Wix connector creates posts in your site's Wix Blog through Wix's REST API. Articles are
converted to Wix's rich-content format — headings, lists, quotes, links, code and images all
come through as native blog elements — and published straight away.

## Before you start

* The site must have the **Wix Blog** app installed (**Add Apps → Wix Blog**).
* You need to be the site owner, or a co-owner of the Wix account that owns the site.

## Step 1 — Create an API key

1. Go to [manage.wix.com/account/api-keys](https://manage.wix.com/account/api-keys) and click
   **Generate API Key**.

<Frame caption="Account → API Keys → Generate API Key">
  <img src="https://mintcdn.com/seosorted-dc17c331/aW6FyzCoaMXdUy1a/images/connectors/wix-api-keys.png?fit=max&auto=format&n=aW6FyzCoaMXdUy1a&q=85&s=d115aa6ecbcb5f0d1d15b3b90bf16f2c" alt="Wix API Keys page with the Generate API Key button highlighted" width="3456" height="1984" data-path="images/connectors/wix-api-keys.png" />
</Frame>

2. Name it **SEOsorted**. Under **Sites**, choose **Specific sites** and click **Add sites**.

<Frame caption="Name the key and limit it to your site">
  <img src="https://mintcdn.com/seosorted-dc17c331/aW6FyzCoaMXdUy1a/images/connectors/wix-key-details.png?fit=max&auto=format&n=aW6FyzCoaMXdUy1a&q=85&s=5ac4c425570b6316c999fb8d75227432" alt="Generate API Key form with the name SEOsorted, Specific sites with My Site 1 selected, and the Generate Key button highlighted" width="3456" height="1984" data-path="images/connectors/wix-key-details.png" />
</Frame>

3. Tick the site you publish to and click **Add**.

<Frame caption="Pick your site">
  <img src="https://mintcdn.com/seosorted-dc17c331/aW6FyzCoaMXdUy1a/images/connectors/wix-add-site.png?fit=max&auto=format&n=aW6FyzCoaMXdUy1a&q=85&s=5b337c2f454a045066ecd594d9f6474c" alt="Add sites dialog with one site ticked and the Add button highlighted" width="3456" height="1984" data-path="images/connectors/wix-add-site.png" />
</Frame>

4. Under **Permissions → All site permissions**, tick **Wix Blog**, **Manage Site Media** and
   **Wix Contacts & Members**. Leave everything else unticked.

<Frame caption="Tick Wix Blog, Manage Site Media and Wix Contacts & Members">
  <img src="https://mintcdn.com/seosorted-dc17c331/aW6FyzCoaMXdUy1a/images/connectors/wix-permissions.png?fit=max&auto=format&n=aW6FyzCoaMXdUy1a&q=85&s=8e3ef0f8f82beb66700a2b972fd476d8" alt="Wix site permissions list with Wix Contacts & Members and Wix Blog ticked and highlighted" width="3456" height="1984" data-path="images/connectors/wix-permissions.png" />
</Frame>

5. Click **Generate Key**. Wix emails you a 6-digit code to confirm it's you — click **Send Code**,
   then enter the code.

<Frame caption="Wix verifies your account before creating the key">
  <img src="https://mintcdn.com/seosorted-dc17c331/aW6FyzCoaMXdUy1a/images/connectors/wix-verify.png?fit=max&auto=format&n=aW6FyzCoaMXdUy1a&q=85&s=c5bb67cb8e0c557198508413ed8844b8" alt="Verify your account dialog with the Send Code button highlighted" width="3456" height="1984" data-path="images/connectors/wix-verify.png" />
</Frame>

6. Click **Copy token**. The key starts with `IST.` and is shown only once.

<Frame caption="Copy the token — Wix won't show it again">
  <img src="https://mintcdn.com/seosorted-dc17c331/aW6FyzCoaMXdUy1a/images/connectors/wix-copy-token.png?fit=max&auto=format&n=aW6FyzCoaMXdUy1a&q=85&s=78381e5f05ff33f75d428262aa6ebbfd" alt="You generated an API key dialog with the token hidden and Copy token highlighted" width="3456" height="1984" data-path="images/connectors/wix-copy-token.png" />
</Frame>

## Step 2 — Copy the Site ID

Open the site's dashboard in Wix. The address looks like
`https://manage.wix.com/dashboard/1a2b3c4d-1234-5678-9abc-1234567890ab/home` — copy the whole
address; we pick the Site ID out of it.

## Step 3 — Connect in SeoSorted

**Project Settings → Integrations → Wix → Connect**.

<Frame caption="Connecting a Wix site">
  <img src="https://mintcdn.com/seosorted-dc17c331/aW6FyzCoaMXdUy1a/images/connectors/wix-connect-modal.png?fit=max&auto=format&n=aW6FyzCoaMXdUy1a&q=85&s=55bcb8a95417479147de4b9f003fd6de" alt="Connect Wix dialog with setup steps, a Site field and an API key field" width="3456" height="1984" data-path="images/connectors/wix-connect-modal.png" />
</Frame>

<ParamField path="Site" type="string" required>
  The dashboard URL from step 2, or the bare Site ID.
</ParamField>

<ParamField path="API key" type="string" required>
  The key from step 1. Stored encrypted.
</ParamField>

We call your site's blog with the key before saving, so a wrong key or Site ID fails here. The
first member on the site is used as the post author.

## What we write

| SeoSorted | Wix |
| - | - |
| Title | Post title |
| Body | Post content (Wix rich content: headings, paragraphs, bold/italic/links, lists, quotes, code, dividers, images) |
| Tables | A bulleted list, one row per item (Wix posts have no table element via the API) |
| Images in the body | Imported into the site's Media Manager, then placed in the post |
| Featured image | Cover image (imported into Media Manager) |
| Excerpt | Excerpt |
| Slug | Post URL slug |
| Meta title / meta description | SEO title and description |

Posts are created **published**. Until the Wix site itself is published, posts have no public
address, so the publish dialog has no **View article** link yet.

## Republishing, unpublishing and deleting

* **Re-publish** updates the same Wix post in place. If the post was deleted in Wix, a new one is
  created.
* **Unpublish** reverts the post to a draft in Wix. Publishing again after an unpublish creates a
  new post.
* **Deleting** the article in SeoSorted moves the Wix post to the blog's trash, where you can still
  restore it.

## Common problems

<AccordionGroup>
  <Accordion title="“Wix refused the request…”">
    The key was copied incompletely, has expired, or lacks a permission. Generate a new key with
    **Wix Blog**, **Manage Site Media** and **Wix Contacts & Members**, for the site you're
    connecting.
  </Accordion>

  <Accordion title="“Wix rejected that API key”">
    The key was deleted in Wix. Generate a new one and reconnect.
  </Accordion>

  <Accordion title="“Wix couldn't find a blog on that site”">
    The site doesn't have the Wix Blog app. Add it from **Add Apps → Wix Blog**, then connect again.
  </Accordion>

  <Accordion title="“Paste your site's dashboard URL or its Site ID…”">
    Copy the address from the site's dashboard — it contains a long id like
    `1a2b3c4d-1234-5678-9abc-1234567890ab`. The site's public address (`mysite.wixsite.com`) is not
    the Site ID.
  </Accordion>

  <Accordion title="An image is missing from the post">
    Wix could not import that image from its URL (for example, the host blocks downloads). The rest
    of the post is published; replace the image in the Wix editor.
  </Accordion>
</AccordionGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.