Automattic Hosting API

The hosting API from Automattic — 23 operation(s) for hosting.

Operations 35

POST /wpcom/v2/hosting/github/accounts POST /wpcom/v2/hosting/github/accounts #
GET /wpcom/v2/hosting/github/app-authorize GET /wpcom/v2/hosting/github/app-authorize #
GET /wpcom/v2/hosting/github/app-callback GET /wpcom/v2/hosting/github/app-callback #
GET /wpcom/v2/hosting/github/app-install GET /wpcom/v2/hosting/github/app-install #
POST /wpcom/v2/hosting/github/app-webhook POST /wpcom/v2/hosting/github/app-webhook #
GET /wpcom/v2/hosting/github/installations GET /wpcom/v2/hosting/github/installations #
GET /wpcom/v2/hosting/github/repositories GET /wpcom/v2/hosting/github/repositories #
GET /wpcom/v2/hosting/github/repository/branches GET /wpcom/v2/hosting/github/repository/branches #
GET /wpcom/v2/hosting/github/repository/pre-connect-checks GET /wpcom/v2/hosting/github/repository/pre-connect-checks #
GET /wpcom/v2/hosting/github/workflow-templates GET /wpcom/v2/hosting/github/workflow-templates #
GET /wpcom/v2/hosting/github/workflows GET /wpcom/v2/hosting/github/workflows #
POST /wpcom/v2/hosting/github/workflows POST /wpcom/v2/hosting/github/workflows #
GET /wpcom/v2/hosting/github/workflows/checks GET /wpcom/v2/hosting/github/workflows/checks #
GET /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments GET /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments #
POST /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments POST /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments #
GET /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id} GET /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id} #
POST /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id} POST /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id} #
PUT /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id} PUT /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id} #
PATCH /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id} PATCH /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id} #
DELETE /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id} DELETE /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id} #
GET /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/runs GET /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/runs #
POST /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/runs POST /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/runs #
GET /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/runs/{deployment_run_id}/logs GET /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/runs/{… #
GET /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/runs/{deployment_run_id}/logs/{command_identifier} GET /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/runs/{… #
POST /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/webhooks POST /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/webho… #
GET /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/webhooks GET /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/webhoo… #
POST /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/webhooks/{webhook_id} POST /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/webho… #
PUT /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/webhooks/{webhook_id} PUT /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/webhoo… #
PATCH /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/webhooks/{webhook_id} PATCH /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/webh… #
DELETE /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/webhooks/{webhook_id} DELETE /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/web… #
GET /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/webhooks/{webhook_id}/deliveries GET /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/webhoo… #
POST /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/webhooks/{webhook_id}/test POST /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/webho… #
GET /wpcom/v2/sites/{wpcom_site}/hosting/ssh-keys GET /wpcom/v2/sites/{wpcom_site}/hosting/ssh-keys #
POST /wpcom/v2/sites/{wpcom_site}/hosting/ssh-keys POST /wpcom/v2/sites/{wpcom_site}/hosting/ssh-keys #
DELETE /wpcom/v2/sites/{wpcom_site}/hosting/ssh-keys/{user_name}/{name} DELETE /wpcom/v2/sites/{wpcom_site}/hosting/ssh-keys/{user_name}/{name} #

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/automattic-hosting-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

automattic-hosting-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WordPress.com REST API — wpcom/v2 namespace Hosting API
  version: v2
  description: Derived by API Evangelist from the WordPress.com REST API route index published at https://public-api.wordpress.com/wpcom/v2/. Paths, HTTP methods, and parameter names/types/descriptions/defaults are taken verbatim from that index. Response schemas are not published in the route index, so successful responses are described but not schematised; the error envelope was observed live on public-api.wordpress.com.
  contact:
    name: Automattic
    url: https://developer.wordpress.com/docs/api/
  x-derived-from: https://public-api.wordpress.com/wpcom/v2/
  x-derived-by: API Evangelist enrichment pipeline
servers:
- url: https://public-api.wordpress.com
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (40 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/automattic/refs/heads/main/openapi/automattic-hosting-api-openapi.yml