---
title: "Creates a Release"
method: POST
path: "/{spaceId}/releases/create/v1"
tags: ["Releases"]
---

# Creates a Release

`POST /{spaceId}/releases/create/v1`

## Path parameters

- `spaceId` string, required

## Request body

- CreateReleaseCommandV1
  - `ChannelName` string
  - `CustomFields` object
  - `GitCommit` string
  - `GitRef` string
  - `GitResources` string[]
  - `IgnoreChannelRules` boolean
  - `IgnoreIfAlreadyExists` boolean
  - `PackagePrerelease` string
  - `Packages` string[]
  - `PackageVersion` string
  - `ProjectName` string, required
  - `ReleaseNotes` string
  - `ReleaseVersion` string
  - `SpaceId` string, required
  - `SpaceIdOrName` string, required

## Response `201`

Created

- CreateReleaseResponseV1
  - `ReleaseId` string, required
  - `ReleaseVersion` string, required

## Other responses

- `400` — Bad request. Either the payload was not structurally valid or business rules did not permit the operation.
- `404` — Not found. One or more of the entities involved in the operation was not found.

---

[API](https://skmtc.net/octopus/apis/octopus-server-api.md) · [All operations](https://skmtc.net/octopus/apis/octopus-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/octopus/octopus-server-api/versions/835047dab520/schema)
