Automattic Posts API

The posts API from Automattic — 34 operation(s) for posts.

Operations 42

GET /me/posts Get a list of posts across all the user's sites #
GET /sites/{site}/dropdown-pages/ Get a list of pages to be displayed as options in a select-a-page-dropdown #
GET /sites/{site}/posts/ Get a list of matching posts #
POST /sites/{site}/posts/delete Delete multiple posts. #
POST /sites/{site}/posts/new Create a post #
POST /sites/{site}/posts/restore Restore multiple posts #
GET /sites/{site}/posts/slug:{post_slug} Get a single post (by slug) #
GET /sites/{site}/posts/{post_ID} Get a single post (by ID) #
POST /sites/{site}/posts/{post_ID} Edit a post #
POST /sites/{site}/posts/{post_ID}/delete Delete a post. #
GET /sites/{site}/posts/{post_ID}/likes/ Get a list of the likes for a post #
GET /sites/{site}/posts/{post_ID}/likes/mine/ Get the current user's like status for a post #
POST /sites/{site}/posts/{post_ID}/likes/mine/delete Unlike a post #
POST /sites/{site}/posts/{post_ID}/likes/new Like a post #
GET /sites/{site}/posts/{post_ID}/reblogs/mine Get reblog status for a post #
POST /sites/{site}/posts/{post_ID}/reblogs/new Reblog a post #
POST /sites/{site}/posts/{post_ID}/restore Restore a post or page from the trash to its previous status #
POST /sites/{site}/posts/{post}/related Search within a site for related posts #
GET /sites/{site}/posts/{post}/subscribers/ Get a list of the specified post's subscribers #
GET /sites/{site}/posts/{post}/subscribers/mine Get subscription status of the specified post for the current user #
POST /sites/{site}/posts/{post}/subscribers/mine/delete Unsubscribe the current user from the specified post #
POST /sites/{site}/posts/{post}/subscribers/mine/update Subscribe current user to be notified of the specified post's comments #
POST /sites/{site}/posts/{post}/subscribers/new Subscribe current user to be notified of the specified post's comments #
GET /users/{user_id}/posts Get a list of published posts authored by a specified user across their public… #
GET /wp/v2/sites/{wpcom_site}/posts GET /wp/v2/sites/{wpcom_site}/posts #
POST /wp/v2/sites/{wpcom_site}/posts POST /wp/v2/sites/{wpcom_site}/posts #
GET /wp/v2/sites/{wpcom_site}/posts/{id} GET /wp/v2/sites/{wpcom_site}/posts/{id} #
POST /wp/v2/sites/{wpcom_site}/posts/{id} POST /wp/v2/sites/{wpcom_site}/posts/{id} #
PUT /wp/v2/sites/{wpcom_site}/posts/{id} PUT /wp/v2/sites/{wpcom_site}/posts/{id} #
PATCH /wp/v2/sites/{wpcom_site}/posts/{id} PATCH /wp/v2/sites/{wpcom_site}/posts/{id} #
DELETE /wp/v2/sites/{wpcom_site}/posts/{id} DELETE /wp/v2/sites/{wpcom_site}/posts/{id} #
GET /wp/v2/sites/{wpcom_site}/posts/{id}/autosaves GET /wp/v2/sites/{wpcom_site}/posts/{id}/autosaves #
POST /wp/v2/sites/{wpcom_site}/posts/{id}/autosaves POST /wp/v2/sites/{wpcom_site}/posts/{id}/autosaves #
GET /wp/v2/sites/{wpcom_site}/posts/{parent}/autosaves/{id} GET /wp/v2/sites/{wpcom_site}/posts/{parent}/autosaves/{id} #
GET /wp/v2/sites/{wpcom_site}/posts/{parent}/revisions GET /wp/v2/sites/{wpcom_site}/posts/{parent}/revisions #
GET /wp/v2/sites/{wpcom_site}/posts/{parent}/revisions/{id} GET /wp/v2/sites/{wpcom_site}/posts/{parent}/revisions/{id} #
DELETE /wp/v2/sites/{wpcom_site}/posts/{parent}/revisions/{id} DELETE /wp/v2/sites/{wpcom_site}/posts/{parent}/revisions/{id} #
POST /wpcom/v2/sites/{wpcom_site}/posts/auto-draft POST /wpcom/v2/sites/{wpcom_site}/posts/auto-draft #
GET /wpcom/v2/sites/{wpcom_site}/posts/map-url GET /wpcom/v2/sites/{wpcom_site}/posts/map-url #
GET /wpcom/v2/sites/{wpcom_site}/posts/{postId}/map-url GET /wpcom/v2/sites/{wpcom_site}/posts/{postId}/map-url #
POST /wpcom/v2/sites/{wpcom_site}/posts/{postId}/publicize POST /wpcom/v2/sites/{wpcom_site}/posts/{postId}/publicize #
GET /wpcom/v2/sites/{wpcom_site}/posts/{postId}/publicize/published-actions GET /wpcom/v2/sites/{wpcom_site}/posts/{postId}/publicize/published-actions #

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-posts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

automattic-posts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Automattic Posts API
  x-derived-by: API Evangelist enrichment pipeline
  x-refined-note:
  - x-derived-from differs across the merged source definitions and was not carried
  version: '1.0'
  description: 'Operations tagged posts across 4 of this provider''s published API definitions: automattic-wordpress-com-rest-v1-1-openapi.yml, automattic-wordpress-com-rest-v1-2-openapi.yml, automattic-wordpress-com-wp-v2-openapi.yml, automattic-wordpress-com-wpcom-v2-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://public-api.wordpress.com/rest/v1.1
- url: https://public-api.wordpress.com/rest/v1.2
- url: https://public-api.wordpress.com
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (220 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/automattic/refs/heads/main/openapi/automattic-posts-api-openapi.yml