Skip to main content
POST
/
projects
cURL
curl --request POST \
  --url https://api.youappz.dev/projects \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "a-project-name",
  "teamId": "<string>",
  "alias": "<string>",
  "buildCommand": "<string>",
  "devCommand": "<string>",
  "installCommand": "<string>",
  "framework": "<string>",
  "outputDirectory": "<string>",
  "commandForIgnoringBuildStep": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "teamId": "<string>",
  "alias": "<string>",
  "buildCommand": "<string>",
  "devCommand": "<string>",
  "installCommand": "<string>",
  "framework": "<string>",
  "outputDirectory": "<string>",
  "commandForIgnoringBuildStep": "<string>",
  "createdAt": 123,
  "updatedAt": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string | null

The desired name for the project

Maximum string length: 100
Example:

"a-project-name"

teamId
string | null
alias
string | null
buildCommand
string | null
devCommand
string | null
installCommand
string | null
framework
string | null
outputDirectory
string | null
commandForIgnoringBuildStep
string | null

Response

The project was successfuly created

id
string
required
name
string | null
required
teamId
string | null
required
alias
string | null
required
buildCommand
string | null
required
devCommand
string | null
required
installCommand
string | null
required
framework
string | null
required
outputDirectory
string | null
required
commandForIgnoringBuildStep
string | null
required
createdAt
number
required
updatedAt
number
required