Skip to main content
POST
Create or Update Project
If id is provided, updates the existing project. Otherwise creates a new project.

Authentication

string
Bearer token. Bearer <supabase-jwt>.

Body

string
Project ID to update. Omit to create a new project.
string
required
Display name for the project.
string
required
Project type, e.g. "slideshow".
object
required
The full project data (slides, texts, images, etc.). Schema is type-dependent.
string
URL for the project thumbnail.
string
default:"draft"
Project status. Defaults to "draft".