Automattic · OpenAPI Overlay 1.0.0

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

6 actions 6 updates phrasing extends openapi/automattic-wordads-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 6

$.info
$.paths['/wpcom/v2/sites/{wpcom_site}/wordads/site-info'].get
$.paths['/wpcom/v2/wordads/redirect'].get
$.paths['/wpcom/v2/wordads/send-email'].post
$.paths['/wpcom/v2/wordads/send-guides-email'].post
$.paths['/wpcom/v2/wordads/send-notification'].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 Wordads API
  version: 1.0.0
extends: openapi/automattic-wordads-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: 5
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/wordads/site-info'].get
  update:
    x-apievangelist-phrasing:
      intent: Get WordAds site info for a site
      effect: read
      questions:
      - How do I see WordAds earnings and settings for my site?
      - What WordAds site info is available for a site?
      instructions:
      - text: Get WordAds site info for site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Show WordAds earnings and settings for {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/wordads/redirect'].get
  update:
    x-apievangelist-phrasing:
      intent: Redirect a WordAds click
      effect: read
      questions:
      - How do I track a WordAds click through a redirect?
      - Can I verify a WordAds redirect signature?
      instructions:
      - text: Redirect {redirect} from {source} {medium} {id} {campaign} {content} with signature {signature}.
        slots:
          redirect: query.redirect
          source: query.source
          medium: query.medium
          id: query.id
          campaign: query.campaign
          content: query.content
          signature: query.signature
      - text: Track a WordAds click on {redirect} using {source} {medium} {id} {campaign} {content} and signature {signature}.
        slots:
          redirect: query.redirect
          source: query.source
          medium: query.medium
          id: query.id
          campaign: query.campaign
          content: query.content
          signature: query.signature
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/wordads/send-email'].post
  update:
    x-apievangelist-phrasing:
      intent: Send an email to a WordAds contact
      effect: write
      questions:
      - How do I email a WordAds contact from my site?
      - Can I send a WordAds contact an email with a subject and content?
      instructions:
      - text: Send {email} an email with subject {subject} and content {content}.
        slots:
          email: requestBody.email
          subject: requestBody.subject
          content: requestBody.content
      - text: Email {email} about {product} with subject {subject} and content {content}.
        slots:
          email: requestBody.email
          product: requestBody.product
          subject: requestBody.subject
          content: requestBody.content
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/wordads/send-guides-email'].post
  update:
    x-apievangelist-phrasing:
      intent: Send a WordAds guides email
      effect: write
      questions:
      - How do I send a WordAds guide email to a user?
      - Can I email a WordAds guide with a credit amount and expiry?
      instructions:
      - text: Send a {type} WordAds guide email to user {wpcom_user_id} on site {wpcom_site_id} with {credits_amount} credits expiring {expire_date} ({expire_seconds} seconds).
        slots:
          type: requestBody.type
          wpcom_user_id: requestBody.wpcom_user_id
          wpcom_site_id: requestBody.wpcom_site_id
          credits_amount: requestBody.credits_amount
          expire_date: requestBody.expire_date
          expire_seconds: requestBody.expire_seconds
      - text: Email {wpcom_user_id} a {type} guide for site {wpcom_site_id} worth {credits_amount} credits, valid until {expire_date}.
        slots:
          wpcom_user_id: requestBody.wpcom_user_id
          type: requestBody.type
          wpcom_site_id: requestBody.wpcom_site_id
          credits_amount: requestBody.credits_amount
          expire_date: requestBody.expire_date
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/wordads/send-notification'].post
  update:
    x-apievangelist-phrasing:
      intent: Send a WordAds notification
      effect: write
      questions:
      - How do I notify a user about a WordAds campaign?
      - Can I send a WordAds notification for a post and ad type?
      instructions:
      - text: Send a {type} notification to user {user_id} on blog {blog_id} about post {post_id}, campaign {campaign_id}, ad type {ad_type}, title {title}.
        slots:
          type: requestBody.type
          user_id: requestBody.user_id
          blog_id: requestBody.blog_id
          post_id: requestBody.post_id
          campaign_id: requestBody.campaign_id
          ad_type: requestBody.ad_type
          title: requestBody.title
      - text: Notify {user_id} on blog {blog_id} of WordAds campaign {campaign_id} for {ad_type} ad {post_id}, title {title}.
        slots:
          user_id: requestBody.user_id
          blog_id: requestBody.blog_id
          campaign_id: requestBody.campaign_id
          ad_type: requestBody.ad_type
          post_id: requestBody.post_id
          title: requestBody.title
      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-wordads-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.