Automattic Host Partners API

The host-partners API from Automattic — 39 operation(s) for host-partners.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 44

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /wpcom/v2/host-partners List host partner accounts · GET /wpcom/v2/host-partners #
Ask an LLM
“Which host partner accounts exist?”
“Can I list every host partner account?”
Tell an agent
List all host partner accounts.
List host partner accounts for client {client}.
POST /wpcom/v2/host-partners/for/{client_id}/metrics/site/{site} Record metrics for a host partner site · POST /wpcom/v2/host-partners/for/{client_id}/metrics/site/{site} #
Ask an LLM
“How do I send metrics for a site a host partner manages?”
“Can I record metrics for one site under a host partner account?”
Tell an agent
Record metrics for site {site} under host partner {client}.
Send metrics for host partner {client}'s site {site}.
GET /wpcom/v2/host-partners/for/{client_id}/site-meta/{site}/{key} Read a host partner site's metadata · GET /wpcom/v2/host-partners/for/{client_id}/site-meta/{site}/{key} #
Ask an LLM
“What is stored in a host partner site's metadata?”
“Can I read one key from a host partner site's metadata?”
Tell an agent
Get metadata key {key} for site {site} under host partner {client}.
Read host partner {client}'s site {site} metadata key {key}.
GET /wpcom/v2/host-partners/jetpack/licenses List host partner Jetpack licenses · GET /wpcom/v2/host-partners/jetpack/licenses #
Ask an LLM
“Which Jetpack licenses are held by host partners?”
“Can I filter host partner Jetpack licenses?”
Tell an agent
List host partner Jetpack licenses.
List host partner Jetpack licenses matching {filters}.
DELETE /wpcom/v2/host-partners/jetpack/{license_key} Revoke a host partner Jetpack license · DELETE /wpcom/v2/host-partners/jetpack/{license_key} #
Ask an LLM
“How do I revoke a Jetpack license a host partner holds?”
“Can I delete a host partner Jetpack license by its key?”
Tell an agent destructive · confirm first
Revoke Jetpack license {license_key}.
Delete host partner Jetpack license {license_key}.
GET /wpcom/v2/host-partners/members List host partner team members · GET /wpcom/v2/host-partners/members #
Ask an LLM
“Who are the members of a host partner team?”
“Can I list host partner members for one client?”
Tell an agent
List host partner members.
List host partner members for client {client}.
POST /wpcom/v2/host-partners/members/invite Invite a member to a host partner team · POST /wpcom/v2/host-partners/members/invite #
Ask an LLM
“How do I invite someone to a host partner team?”
“Can I invite a member with a specific role and message?”
Tell an agent
Invite {login} as {role} to the host partner team.
Invite {login} as {role} to host partner {client} with message {message}.
GET /wpcom/v2/host-partners/members/invites/mine List my host partner team invites · GET /wpcom/v2/host-partners/members/invites/mine #
Ask an LLM
“Which team invites have been sent to me?”
“Can I see pending host partner invites for my account?”
Tell an agent
Show my host partner team invites.
List the team invites sent to me.
DELETE /wpcom/v2/host-partners/members/invites/{invite_id} Decline a host partner team invite · DELETE /wpcom/v2/host-partners/members/invites/{invite_id} #
Ask an LLM
“How do I decline an invite to a host partner team?”
“Can I decline a team invite for a specific client?”
Tell an agent destructive · confirm first
Decline invite {invite_id}.
Decline invite {invite_id} for client {client}.
POST /wpcom/v2/host-partners/members/invites/{invite_id}/accept Accept a host partner team invite · POST /wpcom/v2/host-partners/members/invites/{invite_id}/accept #
Ask an LLM
“How do I accept an invite to a host partner team?”
“Can I accept a team invite with a secret?”
Tell an agent
Accept invite {invite_id} for client {client} with secret {secret}.
Join host partner {client} by accepting invite {invite_id}.
POST /wpcom/v2/host-partners/members/invites/{invite_id}/claim Claim a host partner team invite · POST /wpcom/v2/host-partners/members/invites/{invite_id}/claim #
Ask an LLM
“How do I claim a team invite I was sent?”
“Can I claim a host partner invite without a secret?”
Tell an agent
Claim invite {invite_id} for client {client}.
Claim host partner {client}'s invite {invite_id}.
DELETE /wpcom/v2/host-partners/members/{user_id} Remove a host partner team member · DELETE /wpcom/v2/host-partners/members/{user_id} #
Ask an LLM
“How do I remove a member from a host partner team?”
“Can I remove a host partner team member by user ID?”
Tell an agent destructive · confirm first
Remove host partner member {user_id}.
Remove {user_id} from host partner {client}.
POST /wpcom/v2/host-partners/members/{user_id} Add a host partner team member · POST /wpcom/v2/host-partners/members/{user_id} #
Ask an LLM
“How do I add a new member to a host partner team?”
“Can I add a member to a host partner team by user ID?”
Tell an agent
Add {user_id} as {role} to the host partner team.
Add {user_id} as {role} to host partner {client}.
PUT /wpcom/v2/host-partners/members/{user_id} Replace a host partner team member's role · PUT /wpcom/v2/host-partners/members/{user_id} #
Ask an LLM
“How do I change a host partner team member's role?”
“Can I overwrite a team member's role entirely?”
Tell an agent
Replace the role of host partner member {user_id} with {role}.
Overwrite host partner {client}'s member {user_id}'s role as {role}.
PATCH /wpcom/v2/host-partners/members/{user_id} Update a host partner member's role · PATCH /wpcom/v2/host-partners/members/{user_id} #
Ask an LLM
“Can I promote a host partner member to a different role?”
“How do I change the role of a user on my host partner account?”
Tell an agent
Change host partner member {user_id} to role {role}.
Demote {user_id} on my host partner account to {role}.
POST /wpcom/v2/host-partners/metrics/site/{site} Record metrics for a site · POST /wpcom/v2/host-partners/metrics/site/{site} #
Ask an LLM
“How do I send metrics for a site I manage?”
“Can I record metrics for one site without a host partner?”
Tell an agent
Record metrics for site {site}.
Send metrics for site {site} I manage.
DELETE /wpcom/v2/host-partners/payment-method Remove a payment method from a host partner · DELETE /wpcom/v2/host-partners/payment-method #
Ask an LLM
“How do I remove an old card from a host partner?”
“Can I detach a payment method from my host partner account?”
Tell an agent destructive · confirm first
Remove payment method {payment_method_id} from my host partner account.
Detach {payment_method_id} so it's no longer on the host partner.
POST /wpcom/v2/host-partners/payment-method Add a payment method to a host partner · POST /wpcom/v2/host-partners/payment-method #
Ask an LLM
“How do I save a new card on a host partner's account?”
“Can I make a new host partner payment method the default?”
Tell an agent
Add payment method {payment_method_id} to my host partner account.
Save {payment_method_id} as my host partner's default payment method ({use_as_primary_payment_method}).
GET /wpcom/v2/host-partners/payment-methods List a host partner's payment methods · GET /wpcom/v2/host-partners/payment-methods #
Ask an LLM
“What payment methods are saved on my host partner account?”
“Which cards are on the host partner account?”
Tell an agent
List the payment methods on my host partner account.
Show every card saved to the host partner.
GET /wpcom/v2/host-partners/site-meta/{site}/{key} Read a site's metadata · GET /wpcom/v2/host-partners/site-meta/{site}/{key} #
Ask an LLM
“What is stored in a site's metadata?”
“Can I read one key from a site's metadata?”
Tell an agent
Get metadata key {key} for site {site}.
Read site {site} metadata key {key}.
POST /wpcom/v2/host-partners/wpcloud Apply to become a WP Cloud host partner · POST /wpcom/v2/host-partners/wpcloud #
Ask an LLM
“How do I apply to host WordPress sites on WP Cloud?”
“Can I list my hosting method and how many sites I manage?”
Tell an agent
Apply to WP Cloud as {first_name} {last_name} of {business_name}, email {email}.
Apply as a {business_type} host with {wp_sites_management_count} sites managed.
POST /wpcom/v2/host-partners/wpcloud/api-access Request API access for a host partner · POST /wpcom/v2/host-partners/wpcloud/api-access #
Ask an LLM
“How do I get API access for my host partner account?”
“What IP addresses do I need to list for API access?”
Tell an agent
Request API access for {first_name} {last_name} at {email} with IP range {ip_addresses}.
Grant API access to {email} from {ip_addresses}.
GET /wpcom/v2/host-partners/wpcloud/api-keys List a host partner's API keys · GET /wpcom/v2/host-partners/wpcloud/api-keys #
Ask an LLM
“What API keys does my host partner account have?”
“Can I see the API keys for a client_id?”
Tell an agent
List my host partner API keys.
Show the API keys for client {client_id}.
POST /wpcom/v2/host-partners/wpcloud/api-keys/action Rotate or change a host partner API key · POST /wpcom/v2/host-partners/wpcloud/api-keys/action #
Ask an LLM
“How do I rotate a host partner API key?”
“Can I change which endpoints an API key covers?”
Tell an agent
Rotate the API key for client {client_id} with action {action}.
Set API key {client_id} to cover endpoints {endpoints}.
GET /wpcom/v2/host-partners/wpcloud/api-keys/mfa Check MFA status for a host partner API key · GET /wpcom/v2/host-partners/wpcloud/api-keys/mfa #
Ask an LLM
“Is multi-factor authentication set up on my host partner API key?”
“Can I check MFA for a client_id?”
Tell an agent
Check MFA status for my host partner API key.
Show MFA for client {client_id}.
POST /wpcom/v2/host-partners/wpcloud/api-keys/mfa/start Start MFA setup for a host partner API key · POST /wpcom/v2/host-partners/wpcloud/api-keys/mfa/start #
Ask an LLM
“How do I set up multi-factor authentication on my host partner API key?”
“Can I start MFA setup and return to it later?”
Tell an agent
Start MFA setup for my host partner API key with return URL {return_url}.
Begin MFA setup for client {client_id} returning to {return_url}.
POST /wpcom/v2/host-partners/wpcloud/api-keys/mfa/validate Complete MFA setup for a host partner API key · POST /wpcom/v2/host-partners/wpcloud/api-keys/mfa/validate #
Ask an LLM
“How do I finish setting up MFA on my host partner API key?”
“What code do I need to confirm MFA setup?”
Tell an agent
Validate MFA setup for my host partner API key with code {code}.
Confirm MFA for client {client_id} using verification token {verification_token}.
GET /wpcom/v2/host-partners/wpcloud/billing View a host partner's billing details · GET /wpcom/v2/host-partners/wpcloud/billing #
Ask an LLM
“What are my billing details as a WP Cloud host partner?”
“Can I see my host partner account's billing information?”
Tell an agent
Show my host partner billing details.
Open the billing page for my WP Cloud host partner account.
GET /wpcom/v2/host-partners/wpcloud/billing/invoices List a host partner's invoices · GET /wpcom/v2/host-partners/wpcloud/billing/invoices #
Ask an LLM
“Which invoices have I received as a host partner?”
“Can I page through my host partner invoices?”
Tell an agent
List my host partner invoices.
Show page {page} of host partner invoices.
POST /wpcom/v2/host-partners/wpcloud/billing/invoices/{invoice_id}/payment Pay a host partner invoice · POST /wpcom/v2/host-partners/wpcloud/billing/invoices/{invoice_id}/payment #
Ask an LLM
“How do I pay an invoice as a host partner?”
“Can I pay a WP Cloud invoice by its ID?”
Tell an agent
Pay invoice {invoice_id} as a host partner.
Settle host partner invoice {invoice_id}.
GET /wpcom/v2/host-partners/wpcloud/billing/invoices/{invoice_id}/usage-report View a host partner invoice's usage report · GET /wpcom/v2/host-partners/wpcloud/billing/invoices/{invoice_id}/usage-report #
Ask an LLM
“What did my host partner invoice cover?”
“Can I see a usage report for a WP Cloud invoice?”
Tell an agent
Show the usage report for invoice {invoice_id}.
Break down host partner invoice {invoice_id}.
GET /wpcom/v2/host-partners/wpcloud/clients List a host partner's clients · GET /wpcom/v2/host-partners/wpcloud/clients #
Ask an LLM
“Which clients does my host partner account manage?”
“Can I see the list of sites hosted for a partner?”
Tell an agent
List my host partner clients.
Show the clients managed by my WP Cloud host partner account.
GET /wpcom/v2/host-partners/wpcloud/inventory Search a host partner's inventory · GET /wpcom/v2/host-partners/wpcloud/inventory #
Ask an LLM
“What sites are in my host partner inventory?”
“Can I search my host partner inventory by keyword?”
Tell an agent
Search my host partner inventory for {s}.
List host partner inventory ordered by {order_by}.
GET /wpcom/v2/host-partners/wpcloud/news Read host partner news · GET /wpcom/v2/host-partners/wpcloud/news #
Ask an LLM
“What's new for host partners on WP Cloud?”
“Can I read the latest host partner news?”
Tell an agent
Show host partner news.
Read the latest WP Cloud partner updates.
GET /wpcom/v2/host-partners/wpcloud/onboarding View host partner onboarding · GET /wpcom/v2/host-partners/wpcloud/onboarding #
Ask an LLM
“What onboarding steps do I need to complete as a host partner?”
“Can I check my host partner onboarding progress?”
Tell an agent
Show the host partner onboarding checklist.
Open my WP Cloud partner onboarding.
POST /wpcom/v2/host-partners/wpcloud/onboarding Complete host partner onboarding · POST /wpcom/v2/host-partners/wpcloud/onboarding #
Ask an LLM
“How do I finish onboarding as a host partner?”
“Can I submit my onboarding key to finish setup?”
Tell an agent
Complete host partner onboarding with key {key}.
Finish partner onboarding using {key}.
GET /wpcom/v2/host-partners/wpcloud/pricing Get pricing for a host partner site · GET /wpcom/v2/host-partners/wpcloud/pricing #
Ask an LLM
“How much does it cost to host a site as a partner?”
“Can I see pricing for a specific number of sites?”
Tell an agent
Get pricing for {count} sites on {site}.
Show partner pricing for {site} with {count} sites.
GET /wpcom/v2/host-partners/wpcloud/pricing/simple Get simple host partner pricing · GET /wpcom/v2/host-partners/wpcloud/pricing/simple #
Ask an LLM
“What is the simple pricing for a host partner?”
“Can I get a basic partner pricing quote?”
Tell an agent
Show simple host partner pricing.
Get the basic partner pricing quote.
GET /wpcom/v2/host-partners/wpcloud/stripe/configuration Get Stripe setup for a host partner · GET /wpcom/v2/host-partners/wpcloud/stripe/configuration #
Ask an LLM
“What Stripe configuration does my host partner account use?”
“Can I see the Stripe setup for a partner?”
Tell an agent
Show the Stripe configuration for my host partner account.
Get partner Stripe setup details.
GET /wpcom/v2/host-partners/wpcloud/stripe/setup-intent Get a Stripe setup intent for a host partner · GET /wpcom/v2/host-partners/wpcloud/stripe/setup-intent #
Ask an LLM
“How do I set up Stripe billing for my host partner account?”
“Can I get a Stripe setup intent?”
Tell an agent
Get a Stripe setup intent for my host partner account.
Start Stripe billing setup for partner.
POST /wpcom/v2/host-partners/wpcloud/support Open a WP Cloud support ticket · POST /wpcom/v2/host-partners/wpcloud/support #
Ask an LLM
“How do I open a support ticket for a WP Cloud partner?”
“Can I attach a file when reporting a WP Cloud issue?”
Tell an agent
Open a WP Cloud support ticket from partner {partner_name} for {user_name} ({user_email}) with subject {subject}.
Report a WP Cloud issue for {user_name} ({user_email}) from partner {partner_name} with subject {subject} and attachment {attachment}.
GET /wpcom/v2/host-partners/wpcloud/usage Get WP Cloud partner usage · GET /wpcom/v2/host-partners/wpcloud/usage #
Ask an LLM
“How much WP Cloud storage and bandwidth has my partner account used?”
“Can I see WP Cloud usage by day or month?”
Tell an agent
Show WP Cloud usage for my partner account.
Show partner WP Cloud usage at {granularity} granularity.
GET /wpcom/v2/host-partners/wpcloud/warden/events List WP Cloud Warden events · GET /wpcom/v2/host-partners/wpcloud/warden/events #
Ask an LLM
“What security events has Warden logged for my partner?”
“Can I filter Warden events by indicator level?”
Tell an agent
List Warden events for partner {client_id}.
Show Warden events for partner {client_id} with indicator level at least {min_indicator}.
DELETE /wpcom/v2/host-partners/wpcloud/{wpcom_user_id} Remove a WP Cloud partner account · DELETE /wpcom/v2/host-partners/wpcloud/{wpcom_user_id} #
Ask an LLM
“How do I remove a partner's WP Cloud account?”
“Can I delete a WP Cloud partner account by WordPress.com user ID?”
Tell an agent destructive · confirm first
Delete WP Cloud partner account {wpcom_user_id}.
Remove partner {wpcom_user_id} from WP Cloud.

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:automattic-host-partners-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

automattic-host-partners-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WordPress.com REST API — wpcom/v2 namespace Host Partners…
  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 (44 KB total) ---
# Full source: https://artifacts.apis.io/automattic/openapi/automattic-host-partners-api-openapi.yml