Hostingsurge Word Press API

The WordPress API from Hostingsurge — 43 operation(s) for wordpress.

GitHub OpenAPI

Operations 55

GET /projects/{projectId}/wordpress/status Live core/plugin/theme versions, available updates and PHP version (read via… #
POST /projects/{projectId}/wordpress/update Update WordPress core, a plugin or a theme (a pre-update backup is taken by… #
GET /projects/{projectId}/wordpress/hardening Live hardening state (DISALLOW_FILE_EDIT, XML-RPC, WP_DEBUG), read via WP-CLI #
PATCH /projects/{projectId}/wordpress/hardening Toggle hardening settings #
GET /projects/{projectId}/wordpress/auto-update Auto-update policy (minor core / plugins / themes) #
PATCH /projects/{projectId}/wordpress/auto-update Change the auto-update policy; runs as a recurring platform cron job #
POST /projects/{projectId}/wordpress/admin/reset-password Reset the first administrator's password to a one-time value (shown once)… #
GET /projects/{projectId}/wordpress/health Core/plugin checksum verification and recent PHP errors #
GET /projects/{projectId}/wordpress/backups/schedule The recurring backup schedule (a platform cron job dumping the site database… #
PATCH /projects/{projectId}/wordpress/backups/schedule Turn the backup schedule on/off or change its frequency/retention #
GET /projects/{projectId}/wordpress/backups On-demand and scheduled backup runs, newest first; only items with usable: true… #
POST /projects/{projectId}/wordpress/backups Take an on-demand backup now (503 when no verified dump was written) #
POST /projects/{projectId}/wordpress/backups/restore Replace the site's database with a usable backup; owner/admin only. #
POST /projects/{projectId}/wordpress/backups/download A 15-minute download link (presigned URL) for a backup dump; the dump is copied… #
GET /wordpress/ai Whether the AI assistant and connecting sites hosted elsewhere are available to… #
GET /projects/{projectId}/wordpress/ai/content The newest pages or posts of a hosted WordPress site (read through WP-CLI), for… #
GET /projects/{projectId}/wordpress/ai/runs The site's assistant runs, newest first #
POST /projects/{projectId}/wordpress/ai/runs Start an AI assistant task: write (a new page or post from a brief), rewrite… #
GET /projects/{projectId}/wordpress/ai/runs/{runId} One assistant run #
POST /projects/{projectId}/wordpress/ai/runs/{runId}/apply Save a run's result to the site: SEO texts into Yoast SEO / Rank Math (or the… #
GET /wordpress/connections WordPress sites hosted elsewhere connected to the AI assistant (owners and… #
POST /wordpress/connections Connect a WordPress site hosted elsewhere with a WordPress Application Password… #
GET /wordpress/connections/{connectionId} One connected site #
DELETE /wordpress/connections/{connectionId} Disconnect a site: the stored Application Password is deleted (revoke it in… #
PATCH /wordpress/connections/{connectionId} Tie a connection to a project (members with access to it can use it) or narrow… #
POST /wordpress/connections/{connectionId}/verify Check the connection again (REST API reachable, Application Password accepted) #
GET /wordpress/connections/{connectionId}/content The newest pages or posts of a connected site (read through its REST API) #
GET /wordpress/connections/{connectionId}/runs The connected site's assistant runs #
POST /wordpress/connections/{connectionId}/runs Start an AI assistant task: write (a new page or post from a brief), rewrite… #
GET /wordpress/connections/{connectionId}/runs/{runId} One assistant run #
POST /wordpress/connections/{connectionId}/runs/{runId}/apply Save a run's result to the site: SEO texts into Yoast SEO / Rank Math (or the… #
POST /wordpress/connector/pairings A one-time pairing code for the Hostingsurge Connector plugin, bound to one… #
GET /wordpress/connector/pairings/{pairingId} A pairing's state (open, redeemed, connected, expired, canceled); while… #
DELETE /wordpress/connector/pairings/{pairingId} Cancel an unused pairing code #
GET /wordpress/connections/{connectionId}/overview A connected site's information, menus, theme (and parent), plugin and theme… #
GET /wordpress/connections/{connectionId}/analysis analyze_wordpress for a connected site: inventory, health and findings #
GET /projects/{projectId}/wordpress/analysis analyze_wordpress for a hosted site: inventory, health and findings (updates… #
GET /wordpress/pipeline Whether safe changes (staging) and the browser comparison are available #
GET /projects/{projectId}/wordpress/changes The site's safe changes, newest first #
POST /projects/{projectId}/wordpress/changes Test a risky change safely: snapshot → staging copy → change → php -l → health… #
GET /projects/{projectId}/wordpress/changes/{changeId} One change #
POST /projects/{projectId}/wordpress/changes/{changeId}/approve Deploy a tested change to the live site (files and allow-listed options only… #
POST /projects/{projectId}/wordpress/changes/{changeId}/cancel Reject a change waiting for approval, or cancel one still being tested; its… #
POST /projects/{projectId}/wordpress/changes/{changeId}/staging-access The staging copy's address and password (HTTP Basic, user "staging"), to look… #
POST /wordpress/live/scan Scan a WordPress site by its address (free, no model, nothing stored, the site… #
POST /projects/{projectId}/wordpress/live/connect WordPress Live on a site hosted here: installs the Hostingsurge Connector with… #
GET /wordpress/connections/{connectionId}/live The workspace: is the site ready, its pages, the signed preview address, the… #
GET /wordpress/connections/{connectionId}/live/preview A fresh signed preview address for a page of the site #
POST /wordpress/connections/{connectionId}/live/scan Scan the connected site (free, no model): a score and a ranked list of findings #
GET /wordpress/connections/{connectionId}/live/turns The chat: messages and the changes they became, newest first #
POST /wordpress/connections/{connectionId}/live/turns Send a message. Answers right away with status running; poll the turn. #
GET /wordpress/connections/{connectionId}/live/turns/{turnId} One message #
POST /wordpress/connections/{connectionId}/live/turns/{turnId}/publish Publish a waiting change on the real site: all of it or nothing. Never charged #
POST /wordpress/connections/{connectionId}/live/turns/{turnId}/discard Throw away a waiting change #
POST /wordpress/connections/{connectionId}/live/turns/{turnId}/undo Undo a published change, unless a part of it was edited since (409, nothing… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/hostingsurge-com:hostingsurge-com-wordpress-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

hostingsurge-com-wordpress-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hostingsurge Platform Word Press API
  version: 1.0.0
  description: 'Deploy and operate projects on Hostingsurge: Git/upload/Docker/WordPress projects, deployments, logs, environment variables, domains and databases. Errors are {"error":{"code","message","details?"}}.'
servers:
- url: /api/v1
  description: Same origin as the dashboard, e.g. https://hostingsurge.com/api/v1
security:
- bearerAuth: []
- sessionCookie: []
tags:


# --- truncated at 32 KB (909 KB total) ---
# Full source: https://artifacts.apis.io/hostingsurge-com/openapi/hostingsurge-com-wordpress-api-openapi.yml