# Automattic Hosting API

**Canonical:** https://apis.io/apis/automattic/automattic-hosting-api/  
**Provider:** Automattic — https://apis.io/providers/automattic/  
**Base URL:** https://public-api.wordpress.com/rest/v1.1  
**Documentation:** https://developer.wordpress.com/docs/api/

Automattic Hosting API is one of 385 APIs that [Automattic](https://apis.io/providers/automattic/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Hosting. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and a getting-started guide.

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

## Operations (35)

| Method | Path | Summary |
|---|---|---|
| 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/{deployment_run_id}/logs |
| 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/{deployment_run_id}/logs/{command_identifier} |
| POST | `/wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/webhooks` | POST /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/webhooks |
| GET | `/wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/webhooks` | GET /wpcom/v2/sites/{wpcom_site}/hosting/code-deployments/{deployment_id}/webhooks |
| 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}/webhooks/{webhook_id} |
| 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}/webhooks/{webhook_id} |
| 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}/webhooks/{webhook_id} |
| 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}/webhooks/{webhook_id} |
| 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}/webhooks/{webhook_id}/deliveries |
| 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}/webhooks/{webhook_id}/test |
| 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} |

## Machine-readable artifacts (8)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/automattic/refs/heads/main/openapi/automattic-hosting-api-openapi.yml
- **Documentation** — https://developer.wordpress.com/docs/api/
- **APIReference** — https://developer.wordpress.com/docs/api/rest-api-reference/
- **GettingStarted** — https://developer.wordpress.com/docs/api/getting-started/
- **Console** — https://developer.wordpress.com/docs/api/console/
- **Documentation** — https://akismet.com/development/api/
- **SourceCode** — https://github.com/Automattic/akismet-api
- **PluginManifest** — https://raw.githubusercontent.com/api-evangelist/automattic/refs/heads/main/well-known/automattic-ai-plugin.json

## Other Automattic APIs (12)

- [WordPress.com MCP Server](https://apis.io/apis/automattic/wordpresscom-mcp-server/)
- [WordPress VIP Platform API](https://apis.io/apis/automattic/wordpress-vip-platform-api/)
- [Automattic A8c Lore API](https://apis.io/apis/automattic/automattic-a8c-lore-api/)
- [Automattic A8cmentorship API](https://apis.io/apis/automattic/automattic-a8cmentorship-api/)
- [Automattic Abilities API](https://apis.io/apis/automattic/automattic-abilities-api/)
- [Automattic Activity API](https://apis.io/apis/automattic/automattic-activity-api/)
- [Automattic Activity Log Events API](https://apis.io/apis/automattic/automattic-activity-log-events-api/)
- [Automattic Activitypub API](https://apis.io/apis/automattic/automattic-activitypub-api/)
- [Automattic Adflow API](https://apis.io/apis/automattic/automattic-adflow-api/)
- [Automattic Admin Bar API](https://apis.io/apis/automattic/automattic-admin-bar-api/)
- [Automattic Admin Color API](https://apis.io/apis/automattic/automattic-admin-color-api/)
- [Automattic Admin Menu API](https://apis.io/apis/automattic/automattic-admin-menu-api/)

## Tags

Hosting

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/automattic/automattic-hosting-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/automattic/.
