Projects

Create a project

Creates a new project.

If projectData is not provided, an empty project is created based on the provided type.

post/projects

Request

  • Base URL
    https://api.grapesjs.com/v1
  • Auth
    HTTP bearer

Request body

namestring

Project name.

descriptionstring nullable

Short project description.

type'web' | 'email' required
isTemplateboolean

Whether the project should be treated as a template.

projectDataProjectData

JSON payload produced by the editor that contains the full project structure and content.

Response

Project created successfully

projectDataProjectData

JSON payload produced by the editor that contains the full project structure and content.

Changes

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