---
title: "Set Seo Meta"
method: POST
path: "/wordpress/sites/{site_id}/seo-meta"
tags: ["wordpress"]
---

# Set Seo Meta

`POST /wordpress/sites/{site_id}/seo-meta`

## 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/{site_id}/seo-meta`
- Auth: API key in header `X-Agent-Key`

Set a page's SEO meta description / SEO title — the small, safe first fix.
post_id omitted targets the homepage. Writes the active SEO plugin's fields
(Yoast/RankMath/AIOSEO); with none installed the Connector renders the tag
itself, so this works on ANY WordPress site. Connector >= 0.7.5.

## Path parameters

- `site_id` string, uuid, required

## Query parameters

- `email` string, nullable

## Request body

- SeoMetaBody
  - `post_id` integer, nullable
  - `meta_description` string, nullable
  - `seo_title` string, nullable
  - `robots` string, nullable
  - `canonical_url` 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)
