Skip to main content
POST
/
applications
/
v1
/
projects
Create project
curl --request POST \
  --url https://api.case.dev/applications/v1/projects \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "gitRepo": "<string>",
  "gitBranch": "main",
  "framework": "<string>",
  "buildCommand": "<string>",
  "installCommand": "<string>",
  "outputDirectory": "<string>",
  "rootDirectory": "<string>"
}
'

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Body

application/json
name
string
required

Project name

gitRepo
string
required

GitHub repository URL or "owner/repo"

gitBranch
string
default:main

Git branch to deploy

framework
string

Framework (e.g., "nextjs", "remix", "astro")

buildCommand
string

Custom build command

installCommand
string

Custom install command

outputDirectory
string

Build output directory

rootDirectory
string

Root directory of the project

Response

Success