Liftbay
API referenceXcode Cloud

Connect Xcode Cloud

POST
/v1/orgs/{org}/projects/{project}/xcode-cloud/connect

Finds the app by bundle id, its Xcode Cloud product and the repository, and creates the "Liftbay" workflow (manual start, liftbay/build/* branches only). Returns the first step that isn't done yet, with what to do: enabling Xcode Cloud for the app is a one-time step in App Store Connect. Call again until step is ready.

Authorization

cookielb_session<token>

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

Path Parameters

org*string

Organization slug

project*string

Project slug

Request Body

application/json
  1. body
teamId?string
Match^[A-Z0-9]{10}$
workspacePath?string
Match^[\w./ -]+\.xcworkspace$
Lengthlength <= 300
scheme?string
Length1 <= length <= 200

Response Body

OK

application/json
  1. response
connected*boolean
step*XcodeCloudStep
Value in"apple_key""app_record""product""repository""workflow""ready"
message*string
actionUrl*string|null
teamId*string|null
appId*string|null
productId*string|null
workflowId*string|null
repository*string|null
workspacePath*string|null
scheme*string|null
hours*|null
curl -X POST "https://example.com/v1/orgs/string/projects/string/xcode-cloud/connect" \  -H "Content-Type: application/json" \  -d '{}'
{  "connected": true,  "step": "apple_key",  "message": "string",  "actionUrl": "string",  "teamId": "string",  "appId": "string",  "productId": "string",  "workflowId": "string",  "repository": "string",  "workspacePath": "string",  "scheme": "string",  "hours": {    "usedThisMonth": 0,    "included": 0,    "estimate": true  }}