Automattic · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for WordPress.com REST API — wpcom/v2 namespace Invites API

8 actions 8 updates phrasing extends openapi/automattic-invites-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 8

$.info
$.paths['/wpcom/v2/sites/{wpcom_site}/invites/are-users-invited'].post
$.paths['/wpcom/v2/sites/{wpcom_site}/invites/delete'].post
$.paths['/wpcom/v2/sites/{wpcom_site}/invites/is-invited'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/invites/links/disable'].post
$.paths['/wpcom/v2/sites/{wpcom_site}/invites/links/generate'].post
$.paths['/wpcom/v2/sites/{wpcom_site}/invites/new'].post
$.paths['/wpcom/v2/sites/{wpcom_site}/invites/resend'].post

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 Invites API
  version: 1.0.0
extends: openapi/automattic-invites-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: 7
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/invites/are-users-invited'].post
  update:
    x-apievangelist-phrasing:
      intent: Check whether users are already invited to a site
      effect: read
      questions:
      - Are these users already invited to my site?
      - Can I check pending invites for several people at once?
      instructions:
      - text: Check whether {users} are already invited to site {wpcom_site}.
        slots:
          users: requestBody.users
          wpcom_site: path.wpcom_site
      - text: Tell me which of {users} have pending invites on site {wpcom_site}.
        slots:
          users: requestBody.users
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/invites/delete'].post
  update:
    x-apievangelist-phrasing:
      intent: Revoke invites by ID
      effect: destructive
      questions:
      - How do I revoke invites I sent by mistake?
      - Can I remove specific invite IDs from a site?
      instructions:
      - text: Revoke invites {invite_ids} on site {wpcom_site}.
        slots:
          invite_ids: requestBody.invite_ids
          wpcom_site: path.wpcom_site
      - text: Delete invite IDs {invite_ids} from site {wpcom_site}.
        slots:
          invite_ids: requestBody.invite_ids
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/invites/is-invited'].get
  update:
    x-apievangelist-phrasing:
      intent: Check whether an email is invited to a site
      effect: read
      questions:
      - Has a particular email address been invited to my site?
      - Can I check one user's invite status before sending another?
      instructions:
      - text: Check whether {email_or_username} has been invited to site {wpcom_site}.
        slots:
          email_or_username: query.email_or_username
          wpcom_site: path.wpcom_site
      - text: Tell me if {email_or_username} is already invited on site {wpcom_site}.
        slots:
          email_or_username: query.email_or_username
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/invites/links/disable'].post
  update:
    x-apievangelist-phrasing:
      intent: Disable a site's invite links
      effect: destructive
      questions:
      - How do I turn off the invite links on a site?
      - Can I disable invite links for just one role?
      instructions:
      - text: Disable invite links on site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Disable invite links for role {role} on site {wpcom_site}.
        slots:
          role: requestBody.role
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/invites/links/generate'].post
  update:
    x-apievangelist-phrasing:
      intent: Generate a new invite link for a role
      effect: write
      questions:
      - How do I create a fresh invite link for my site?
      - Can I set an expiry on a new invite link?
      instructions:
      - text: Generate an invite link for site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Generate an invite link for role {role} on site {wpcom_site} that expires {expiry}.
        slots:
          role: requestBody.role
          wpcom_site: path.wpcom_site
          expiry: requestBody.expiry
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/invites/new'].post
  update:
    x-apievangelist-phrasing:
      intent: Invite new people to a site
      effect: write
      questions:
      - How do I invite new people to my site?
      - Can I send invites to several users at once?
      instructions:
      - text: Invite {invitees} to site {wpcom_site}.
        slots:
          invitees: requestBody.invitees
          wpcom_site: path.wpcom_site
      - text: Send invites to {invitees} on site {wpcom_site}.
        slots:
          invitees: requestBody.invitees
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/invites/resend'].post
  update:
    x-apievangelist-phrasing:
      intent: Resend an existing invite
      effect: write
      questions:
      - How do I resend an invite that never got opened?
      - Can I re-send an invite by its slug?
      instructions:
      - text: Resend invite {invite_slug} on site {wpcom_site}.
        slots:
          invite_slug: requestBody.invite_slug
          wpcom_site: path.wpcom_site
      - text: Re-send the invite {invite_slug} to its recipient.
        slots:
          invite_slug: requestBody.invite_slug
      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-invites-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.