Contents

Create a Workflow

Create a new Xcode Cloud workflow for an Xcode Cloud product.

URL

POST https://api.appstoreconnect.apple.com/v1/ciWorkflows

Response Codes

StatusReasonTypeDescription
201Created
Content-Type: application/json
CiWorkflowResponse

The request completed successfully and a new Workflows resource has been created.

400Bad Request
Content-Type: application/json
ErrorResponse

An error occurred with your request.

401Unauthorized
Content-Type: application/json
ErrorResponse

403Forbidden
Content-Type: application/json
ErrorResponse

Request not authorized.

409Conflict
Content-Type: application/json
ErrorResponse

The provided resource data is not valid.

422
Content-Type: application/json
ErrorResponse

429
Content-Type: application/json
ErrorResponse

Discussion

The example request below creates a new workflow that performs the archive action. App Store Connect returns the 201 HTTP status code to indicate the successful creation of the workflow and returns information about the workflow. Use the data to access additional information or to start a new build.

Example Request and Response

HTTP Body

The request body you use to create a new Xcode Cloud workflow.

See Also

Managing Xcode Cloud Workflows