Automattic · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for WordPress.com REST API — wpcom/v2 namespace Agency Client…

11 actions 11 updates phrasing extends openapi/automattic-agency-client-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Automattic's API. It is a proposal applied on top of the contract, not a document Automattic publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 11

$.info
$.paths['/wpcom/v2/agency-client/agency/{agency_id}/referrals/{referral_id}'].get
$.paths['/wpcom/v2/agency-client/agency/{agency_id}/referrals/{referral_id}'].post
$.paths['/wpcom/v2/agency-client/license'].delete
$.paths['/wpcom/v2/agency-client/public/pricing'].get
$.paths['/wpcom/v2/agency-client/public/products'].get
$.paths['/wpcom/v2/agency-client/referrals'].get
$.paths['/wpcom/v2/agency-client/stripe/invoices'].get
$.paths['/wpcom/v2/agency-client/stripe/payment-method'].post
$.paths['/wpcom/v2/agency-client/stripe/payment-method'].delete
$.paths['/wpcom/v2/agency-client/stripe/payment-methods'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for WordPress.com REST API — wpcom/v2 namespace Agency Client…
  version: 1.0.0
extends: openapi/automattic-agency-client-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-12-02'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 10
- target: $.paths['/wpcom/v2/agency-client/agency/{agency_id}/referrals/{referral_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an agency referral
      effect: read
      questions:
      - How do I look up a referral a client sent to my agency?
      - What does a specific referral record contain?
      instructions:
      - text: Get referral {referral_id} for agency {agency_id}.
        slots:
          referral_id: path.referral_id
          agency_id: path.agency_id
      - text: Show referral {referral_id} from agency {agency_id} using secret {secret}.
        slots:
          referral_id: path.referral_id
          agency_id: path.agency_id
          secret: query.secret
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/agency-client/agency/{agency_id}/referrals/{referral_id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Send a referral to an agency
      effect: write
      questions:
      - How do I send a referral to an agency through the API?
      - Can I post a referral to an agency client?
      instructions:
      - text: Send referral {referral_id} to agency {agency_id}.
        slots:
          referral_id: path.referral_id
          agency_id: path.agency_id
      - text: Post referral {referral_id} for agency {agency_id} with secret {secret}.
        slots:
          referral_id: path.referral_id
          agency_id: path.agency_id
          secret: requestBody.secret
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/agency-client/license'].delete
  update:
    x-apievangelist-phrasing:
      intent: Cancel the agency client license
      effect: destructive
      questions:
      - How do I cancel the license for the agency client?
      - Can I revoke the agency client license?
      instructions:
      - text: Cancel the agency client license.
      - text: Revoke the agency client license with args {args}.
        slots:
          args: query.args
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/agency-client/public/pricing'].get
  update:
    x-apievangelist-phrasing:
      intent: List agency client pricing
      effect: read
      questions:
      - What pricing plans are available to agency clients?
      - How much does the agency client plan cost?
      instructions:
      - text: Show the agency client pricing plans.
      - text: List public pricing for agency clients.
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/agency-client/public/products'].get
  update:
    x-apievangelist-phrasing:
      intent: List agency client products
      effect: read
      questions:
      - Which products can I sell to agency clients?
      - What agency client products are on offer?
      instructions:
      - text: List the agency client products.
      - text: Show public products available to agency clients.
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/agency-client/referrals'].get
  update:
    x-apievangelist-phrasing:
      intent: List agency referrals
      effect: read
      questions:
      - Which referrals has my agency received?
      - Can I see all referrals sent to my agency?
      instructions:
      - text: List my agency's referrals.
      - text: Show referrals received by my agency.
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/agency-client/stripe/invoices'].get
  update:
    x-apievangelist-phrasing:
      intent: List agency client Stripe invoices
      effect: read
      questions:
      - What Stripe invoices has my agency client received?
      - Can I filter agency client invoices by status?
      instructions:
      - text: List agency client Stripe invoices.
      - text: Show agency client invoices with status {status}.
        slots:
          status: query.status
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/agency-client/stripe/payment-method'].post
  update:
    x-apievangelist-phrasing:
      intent: Attach a Stripe payment method
      effect: write
      questions:
      - How do I attach a credit card to my agency client account?
      - Can I set a Stripe payment method as the default?
      instructions:
      - text: Attach Stripe payment method {payment_method_id}.
        slots:
          payment_method_id: requestBody.payment_method_id
      - text: 'Attach {payment_method_id} as the primary payment method: {use_as_primary_payment_method}.'
        slots:
          payment_method_id: requestBody.payment_method_id
          use_as_primary_payment_method: requestBody.use_as_primary_payment_method
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/agency-client/stripe/payment-method'].delete
  update:
    x-apievangelist-phrasing:
      intent: Detach a Stripe payment method
      effect: destructive
      questions:
      - How do I remove a credit card from my agency client account?
      - Can I make a Stripe payment method the new primary?
      instructions:
      - text: Detach Stripe payment method {payment_method_id}.
        slots:
          payment_method_id: query.payment_method_id
      - text: Detach {payment_method_id} and make {primary_payment_method_id} the primary.
        slots:
          payment_method_id: query.payment_method_id
          primary_payment_method_id: query.primary_payment_method_id
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/agency-client/stripe/payment-methods'].get
  update:
    x-apievangelist-phrasing:
      intent: List agency client Stripe payment methods
      effect: read
      questions:
      - Which credit cards are on file for my agency client?
      - Can I page through the agency client's payment methods?
      instructions:
      - text: List the agency client's Stripe payment methods.
      - text: Show payment methods after {starting_after}.
        slots:
          starting_after: query.starting_after
      method: generated
      generated: '2026-12-02'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/automattic-agency-client-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.