
Plugin settings page in WordPress admin
Infospica Headless API transforms WordPress into a secure and flexible headless CMS by providing a custom REST API namespace with full CRUD capabilities.
Instead of modifying the default WordPress REST API, this plugin creates an isolated and configurable API layer designed specifically for secure and scalable headless architectures.
?page and ?per_page)All endpoints require authentication.
Supported authentication methods:
X-WP-Nonce header or _wpnonce parameterWrite operations are additionally restricted by WordPress capabilities (e.g., edit_posts, delete_posts).
Base structure:
/wp-json/{namespace}/{version}/
Example:
/wp-json/my-api/v1/
GET /status
GET /pages
GET /pages/{id}
POST /pages
PUT /pages/{id}
PATCH /pages/{id}
DELETE /pages/{id}
GET /posts
GET /posts/{id}
POST /posts
PUT /posts/{id}
PATCH /posts/{id}
DELETE /posts/{id}
GET /{post-type}
GET /{post-type}/{id}
POST /{post-type}
PUT /{post-type}/{id}
PATCH /{post-type}/{id}
DELETE /{post-type}/{id}
All list endpoints support:
?page=1
&per_page=10 (maximum 50)
Example:
/wp-json/my-api/v1/posts?page=2&per_page=5<h3>License</h3>
This plugin is licensed under GPLv2 or later.