GymGrow Connect adds a small set of secure REST API endpoints under the gymgrow/v1 namespace so an external system (for example, an AI content pipeline) can:
It replaces ad-hoc functions.php snippets with a versioned, capability-checked plugin.
POST /wp-json/gymgrow/v1/article — publish/update an article (also sets SEO and featured image).POST /wp-json/gymgrow/v1/media — upload an image.POST /wp-json/gymgrow/v1/seo/{id} — update RankMath SEO fields for a post.A backward-compatible alias POST /wp-json/custom/v1/rankmath/{id} is also registered for pipelines that used the legacy route.
Requests are authenticated with WordPress’s own user authentication — use an Application Password (Basic Auth) for a user who can publish posts. Permissions are enforced per route with capability checks (publish_posts, upload_files, edit_post). You may optionally enable a second-factor shared secret (X-GymGrow-Key header) from the settings screen.
This plugin does not call any external services and stores no personal data.