How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Automattic Blocks API

The blocks API from Automattic — 6 operation(s) for blocks.

Automattic Blocks API is one of 385 APIs that Automattic publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Blocks. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and a getting-started guide.

This API exposes 13 operations across 6 paths, and defines 1 schema. It is described by OpenAPI 3.2.0, at version v2.

Requests are made against a single base URL, https://public-api.wordpress.com.

13 operations 6 paths 1 schemas 2 DELETE6 GET1 PATCH3 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v2
Base URL
https://public-api.wordpress.com/rest/v1.1
Authentication
OAuth 2.0, HTTP Bearer
Contact
Resource Areas
1

Authentication & Security 2

Automattic Blocks API declares 2 security schemes for authenticating requests. It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 21 scopes. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • oauth2 — WordPress.com OAuth 2.1, per https://public-api.wordpress.com/.well-known/openid-configuration

Paths & Operations 13

Across 6 paths, the API surfaces 13 operations — 2 DELETE, 6 GET, 1 PATCH, 3 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

blocks 13
GET
/wp/v2/sites/{wpcom_site}/blocks
GET /wp/v2/sites/{wpcomsite}/blocks
getWpV2SitesbyWpcomSiteBlocks 21 params → 200401404
POST
/wp/v2/sites/{wpcom_site}/blocks
POST /wp/v2/sites/{wpcomsite}/blocks
postWpV2SitesbyWpcomSiteBlocks 1 param body → 200401404
GET
/wp/v2/sites/{wpcom_site}/blocks/{id}
GET /wp/v2/sites/{wpcomsite}/blocks/{id}
getWpV2SitesbyWpcomSiteBlocksbyId 5 params → 200401404
POST
/wp/v2/sites/{wpcom_site}/blocks/{id}
POST /wp/v2/sites/{wpcomsite}/blocks/{id}
postWpV2SitesbyWpcomSiteBlocksbyId 2 params body → 200401404
PUT
/wp/v2/sites/{wpcom_site}/blocks/{id}
PUT /wp/v2/sites/{wpcomsite}/blocks/{id}
putWpV2SitesbyWpcomSiteBlocksbyId 2 params body → 200401404
PATCH
/wp/v2/sites/{wpcom_site}/blocks/{id}
PATCH /wp/v2/sites/{wpcomsite}/blocks/{id}
patchWpV2SitesbyWpcomSiteBlocksbyId 2 params body → 200401404
DELETE
/wp/v2/sites/{wpcom_site}/blocks/{id}
DELETE /wp/v2/sites/{wpcomsite}/blocks/{id}
deleteWpV2SitesbyWpcomSiteBlocksbyId 3 params → 200401404
GET
/wp/v2/sites/{wpcom_site}/blocks/{id}/autosaves
GET /wp/v2/sites/{wpcomsite}/blocks/{id}/autosaves
getWpV2SitesbyWpcomSiteBlocksbyIdAutosaves 4 params → 200401404
POST
/wp/v2/sites/{wpcom_site}/blocks/{id}/autosaves
POST /wp/v2/sites/{wpcomsite}/blocks/{id}/autosaves
postWpV2SitesbyWpcomSiteBlocksbyIdAutosaves 2 params body → 200401404
GET
/wp/v2/sites/{wpcom_site}/blocks/{parent}/autosaves/{id}
GET /wp/v2/sites/{wpcomsite}/blocks/{parent}/autosaves/{id}
getWpV2SitesbyWpcomSiteBlocksbyParentAutosavesbyId 4 params → 200401404
GET
/wp/v2/sites/{wpcom_site}/blocks/{parent}/revisions
GET /wp/v2/sites/{wpcomsite}/blocks/{parent}/revisions
getWpV2SitesbyWpcomSiteBlocksbyParentRevisions 11 params → 200401404
GET
/wp/v2/sites/{wpcom_site}/blocks/{parent}/revisions/{id}
GET /wp/v2/sites/{wpcomsite}/blocks/{parent}/revisions/{id}
getWpV2SitesbyWpcomSiteBlocksbyParentRevisionsbyId 4 params → 200401404
DELETE
/wp/v2/sites/{wpcom_site}/blocks/{parent}/revisions/{id}
DELETE /wp/v2/sites/{wpcomsite}/blocks/{parent}/revisions/{id}
deleteWpV2SitesbyWpcomSiteBlocksbyParentRevisionsbyId 4 params → 200401404

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is WPRestError (3 properties). Each schema is shown below with its type and property counts.

WPRestError
object
WordPress REST API error envelope (observed on public-api.wordpress.com).
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

automattic-blocks-api-openapi.yml Raw ↑

Other APIs Automattic publishes across the network.

WordPress.com MCP Server
WordPress VIP Platform API
Automattic A8c Lore API
Automattic A8cmentorship API
Automattic Abilities API
Automattic Activity API
Automattic Activity Log Events API
Automattic Activitypub API
Automattic Adflow API
Automattic Admin Bar API
Automattic Admin Color API
Automattic Admin Menu API
Where this information came from

This is an independent, third-party profile of Automattic Blocks API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.