Liftbay
API referenceProjects

Create a project

POST
/v1/orgs/{org}/projects

Creates the project with development, preview and production environments.

Authorization

cookielb_session<token>

Dashboard session cookie, set by the sign-in endpoints.

Path Parameters

org*string

Organization slug

Request Body

application/json
  1. body
name*string
Length1 <= length <= 64
slug*string
Match^[a-z0-9]+(?:-[a-z0-9]+)*$
Length1 <= length <= 48
framework*Framework
Value in"expo""react-native""brownfield"
bundleId?|
Lengthlength <= 200
androidPackage?|
Lengthlength <= 200
repo?|
Lengthlength <= 300

Response Body

Created

application/json
  1. response
id*string
orgId*string
slug*string
name*string
framework*Framework
Value in"expo""react-native""brownfield"
repo*string|null
bundleId*string|null
androidPackage*string|null
iosEngine*|

Where iOS store builds run unless a build picks: null prefers a connected Xcode Cloud

Value in"github-actions""xcode-cloud"null
createdAt*string
curl -X POST "https://example.com/v1/orgs/string/projects" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "slug": "string",    "framework": "expo"  }'
{  "id": "string",  "orgId": "string",  "slug": "string",  "name": "string",  "framework": "expo",  "repo": "string",  "bundleId": "string",  "androidPackage": "string",  "iosEngine": "github-actions",  "createdAt": "string"}