---
title: "Connect Wordpress"
method: POST
path: "/wordpress/sites"
tags: ["wordpress"]
---

# Connect Wordpress

`POST /wordpress/sites`

## Request

- Base URL: `https://api.xeorank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xeorank.com/wordpress/sites`
- Auth: API key in header `X-Agent-Key`

Start onboarding for a domain: generate the per-site key and return the
Hostinger deep link + public key + copy-over instructions.

Acts in the caller's ACTIVE org (X-Org-Id / org_id, membership-validated),
like create_site. If a teammate already has a verified connection for this
domain in that org, return it instead of starting a duplicate.

## Query parameters

- `email` string, nullable
- `org_id` string, nullable

## Headers

- `X-Org-Id` string, nullable

## Request body

- ApiRoutersWordpressConnectBody
  - `domain` string, required
  - `label` string, nullable
  - `transport` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xeorank/apis/seo-intelligence-engine.md) · [All operations](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/revisions/449a3fd73454?raw)
