Status

Create a new project

Create a new website project. Each project gets its own subdomain, pages, assets, entities, and vault. Respects plan limits (Free: 1, Starter: 3, Pro: 10, Agency: unlimited). Returns the new project_id and live domain.

post/papi/projects

Request

  • Base URL: https://api.websitepublisher.ai
  • URL: https://api.websitepublisher.ai/papi/projects
  • Auth: OAuth 2 (authorization code, authorization URL https://api.websitepublisher.ai/dapi/oauth/authorize, token URL https://api.websitepublisher.ai/dapi/oauth/token, scopes: write)

Request body

namestring required

Project name (e.g., 'My Portfolio', 'Bakkerij De Gouden Korst')

subdomainstring

Desired subdomain (lowercase, a-z0-9 and hyphens). Auto-generated from name if omitted. Result: {subdomain}.websitepublisher.ai

Example request

{
  "name": "My Portfolio",
  "subdomain": "my-portfolio"
}

Response

Project created

successboolean

Changes

No recorded changes to this operation across all 1 revision of this API.