---
title: "Create a release"
method: POST
path: "/release"
tags: ["Release"]
---

# Create a release

`POST /release`

Create a new release within an existing application.

## Request body

- ReleaseCreate
  - `status` 'active' | 'pending' | 'deprecated' | 'failed' | 'unstable', required — The status of the release.
  - `build_id` integer, required — The ID of the build to which this release belongs.
  - `application_id` integer, required — The ID of the application to which this release belongs.
  - `semver` string, required — A version identifier following Semantic Versioning (SemVer) conventions."

## Response `200`

The operation was successful.

- Release
  - `id` integer, required — A system-wide unique ID for the release.
  - `semver` string, required — A version identifier following Semantic Versioning (SemVer) conventions."
  - `buildId` integer, required — The ID of the build to be released.
  - `status` 'active' | 'pending' | 'deprecated' | 'failed' | 'unstable', required — The status of the release.
  - `asset` Asset, required
    - `id` integer, required — The unique ID for the asset.
    - `buildId` integer, required — The unique ID of the build this asset belongs to.
    - `type` string, required — A string identifying the asset type.
    - `url` string, required — A URL that locates or provides access to the asset.
    - `metadata` string, required — Arbitrary data providing additional context for the asset.
  - `created_at` string, date-time, required — The timestamp when the entity was created.
  - `updated_at` string, date-time, required — The timestamp when the entity was created.

## Other responses

- `4XX` — Client error responses due to invalid input or missing parameters.
- `5XX` — Server error responses indicating an issue on the API side.

---

[API](https://skmtc.dev/nullplatform/apis/nullplatform-api.md) · [All operations](https://skmtc.dev/nullplatform/apis/nullplatform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nullplatform/nullplatform-api/revisions/1c4ea154b159/schema)
