PixelDance
V1Projects

Create a project

POST
/v1/projects

Authorization

cookieAuth
better-auth.session_token<token>

Session cookie set by Better Auth. Login via the app to obtain.

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "http://localhost:3002/v1/projects" \  -H "Content-Type: application/json" \  -d '{    "type": "image"  }'
{
  "success": true,
  "projectId": "string",
  "error": "string"
}