---
title: "Create a release for a specific project (stub for sentry-cli compatibility)."
method: POST
path: "/0/projects/{org_slug}/{project_slug}/releases/"
tags: ["sentry-compat"]
---

# Create a release for a specific project (stub for sentry-cli compatibility).

`POST /0/projects/{org_slug}/{project_slug}/releases/`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/0/projects/{org_slug}/{project_slug}/releases/`
- Auth: none declared

sentry-cli calls this endpoint (instead of /organizations/.../releases/) when
both SENTRY_ORG and SENTRY_PROJECT env vars are set. Behaves identically to
the organizations endpoint but validates the project slug.

## Path parameters

- `org_slug` string, required
- `project_slug` string, required

## Request body

- SentryCreateReleaseRequest
  - `projects` string[]: Project slugs this release belongs to
  - `version` string, required: Release version identifier

## Response `201`

Release created

- SentryReleaseResponse
  - `dateCreated` string, required
  - `dateReleased` string, nullable
  - `projects` SentryReleaseProjectRef[], required
    - `name` string, required
    - `slug` string, required
  - `shortVersion` string, required
  - `version` string, required

## Other responses

- `401`: Unauthorized
- `404`: Project not found

## Changes

- **2026-04-25** `774be20905f2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/0/projects/:org_slug/:project_slug/releases/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
