Platform

AEO Website Research-grade Content Content Factory About Audits Rankings Pricing

Resources

Knowledge Base Research Docs FAQ

API Reference

Plugin Register

Register a WordPress site as a CMS connection. Called from the WP admin settings page.

POST/api/v1/plugin/register

Register a WordPress site as a CMS connection. Creates or updates the CMS connection record scoped to the authenticated client. Requires an API key with write permission.

Example

bash
curl -X POST "https:">//audit.aeocontent.ai/api/v1/plugin/register" \
  -H "Authorization: Bearer $AEO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "site_url": "https://example.com",
    "plugin_token": "wpt_abc123..."
  }'

Try it

Response

200Registration successful
json
{
  class="code-string">"ok": true,
  class="code-string">"domain": class="code-string">"example.com",
  class="code-string">"message": class="code-string">"Site registered successfully."
}
400Missing site_url
json
{
  class="code-string">"error": class="code-string">"Missing site_url"
}
401Unauthorized
json
{
  class="code-string">"error": {
    class="code-string">"code": class="code-string">"unauthorized",
    class="code-string">"message": class="code-string">"Missing or invalid API key"
  }
}
The plugin_token is generated by the WordPress plugin and used by the platform to authenticate requests back to the plugin REST API.