# Website Publisher AI API

**Canonical:** https://apis.io/apis/websitepublisher-ai/websitepublisher-ai-api/  
**Provider:** Website Publisher AI — https://apis.io/providers/websitepublisher-ai/  
**Base URL:** https://api.websitepublisher.ai  
**Documentation:** https://www.websitepublisher.ai/docs/mapi

Website Publisher AI API is published by [Website Publisher AI](https://apis.io/providers/websitepublisher-ai/) on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

Website Publisher AI API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-28); not the provider's own document.

## Operations (33)

| Method | Path | Summary |
|---|---|---|
| GET | `/mapi/debug/check-key` | Validate your token with GET /mapi/debug/check-key . |
| GET | `/mapi/entities` | List all entities in the project. Returns name, plural, property definitions, and public_read status for each entity. |
| POST | `/mapi/entities` | POST /mapi/entities |
| DELETE | `/mapi/entities/{name}` | Delete an entity and all its records. |
| PUT | `/mapi/entities/{name}` | Update entity metadata. Use this to toggle public_read access or change the description. |
| POST | `/mapi/entities/{name}/properties` | Add a new property to an existing entity. |
| DELETE | `/mapi/entities/{name}/properties/{propertyId}` | Remove a property from an entity. |
| GET | `/mapi/entities/{name}/schema` | Get the OpenAPI schema for a specific entity, including all property definitions and their types. |
| POST | `/mapi/project/{projectId}/{entity}` | Create a new record. |
| POST | `/mapi/project/{projectId}/{entity}/bulk` | MAPI — Dynamic Data API — WebsitePublisher.ai Docs |
| POST | `/mapi/project/{projectId}/{entity}/search` | MAPI — Dynamic Data API — WebsitePublisher.ai Docs |
| DELETE | `/mapi/project/{projectId}/{entity}/{recordId}` | MAPI — Dynamic Data API — WebsitePublisher.ai Docs |
| GET | `/mapi/project/{projectId}/{entity}/{recordId}` | Get a specific record by ID. |
| PUT | `/mapi/project/{projectId}/{entity}/{recordId}` | Update an existing record. Send only the fields you want to change. |
| GET | `/mapi/public/{projectId}/{entity}` | MAPI — Dynamic Data API — WebsitePublisher.ai Docs |
| GET | `/mapi/public/{projectId}/{entity}/{recordId}` | MAPI — Dynamic Data API — WebsitePublisher.ai Docs |
| GET | `/papi/project/{projectId}/assets` | List all assets in the project. |
| POST | `/papi/project/{projectId}/assets` | Upload a new asset. |
| POST | `/papi/project/{projectId}/assets/bulk` | Upload multiple assets in one request. |
| DELETE | `/papi/project/{projectId}/assets/{slug}` | Delete an asset. Removes the file from S3 and CDN. |
| GET | `/papi/project/{projectId}/assets/{slug}` | Get a specific asset. Returns metadata and base64-encoded content for binary files, or plain text for code assets (JS, CSS, JSON, SVG). |
| PATCH | `/papi/project/{projectId}/assets/{slug}` | Apply targeted text patches to a code asset (JS, CSS, JSON, SVG) without re-uploading the full file. |
| GET | `/papi/project/{projectId}/pages` | List the pages in the project, each with its content. |
| DELETE | `/papi/project/{projectId}/pages/_fragment/{name}` | Delete a fragment. Pages that reference it will render with the tag removed (graceful degradation). |
| PUT | `/papi/project/{projectId}/pages/_fragment/{name}` | Update a fragment. Cache is automatically invalidated — all pages using it serve the new content on the next request. |
| DELETE | `/papi/project/{projectId}/pages/{slug}` | Delete a page and all its version history. |
| GET | `/papi/project/{projectId}/pages/{slug}` | Get a specific page by slug. Returns the source HTML (with include-tags intact for pages using fragments). |
| PATCH | `/papi/project/{projectId}/pages/{slug}` | Apply one or more patch operations to a page. |
| PUT | `/papi/project/{projectId}/pages/{slug}` | Replace an existing page with new content. Creates a new version. |
| POST | `/papi/project/{projectId}/pages/{slug}/rollback` | Rollback a page to a previous version. Creates a new version with the content of the target version. |
| GET | `/papi/project/{projectId}/pages/{slug}/versions` | Get version history for a page. Returns metadata (no content) sorted newest-first. |
| DELETE | `/papi/project/{projectId}/tracking` | Remove all tracking scripts from a project. |
| GET | `/papi/project/{projectId}/tracking` | Get the current tracking scripts for a project. |

## Machine-readable artifacts (8)

- **OpenAPI** — https://artifacts.apis.io/websitepublisher-ai/openapi/_ae-authored/websitepublisher-ai-openapi-generated.yml
- **JSONSchema** — https://artifacts.apis.io/websitepublisher-ai/json-schema/websitepublisher-ai-patch-papi-project-projectid-assets-slug-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/websitepublisher-ai/json-schema/websitepublisher-ai-post-papi-project-projectid-assets-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/websitepublisher-ai/json-schema/websitepublisher-ai-post-mapi-entities-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/websitepublisher-ai/json-schema/websitepublisher-ai-patch-papi-project-projectid-pages-slug-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/websitepublisher-ai/json-schema/websitepublisher-ai-post-mapi-entities-name-properties-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/websitepublisher-ai/json-schema/websitepublisher-ai-put-mapi-entities-name-request-schema.json
- **APIsJSON** — https://artifacts.apis.io/websitepublisher-ai/apis.yml

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/websitepublisher-ai` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/websitepublisher-ai/websitepublisher-ai-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/websitepublisher-ai/.
