---
title: "Release Distribution"
method: POST
path: "/projects/{projectId}/distributions/{hash}/release"
tags: ["Distributions"]
---

# Release Distribution

`POST /projects/{projectId}/distributions/{hash}/release`

## Request

- Base URL: `https://api.crowdin.com/api/v2`
- URL: `https://api.crowdin.com/api/v2/projects/{projectId}/distributions/{hash}/release`
- Auth: none declared
- TypeScript: <https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/docs/projects/:projectId/distributions/:hash/release/post.ts> (a function with typed inputs; its response is checked against the schema)

**Required scopes:** `project.translation` (Read and Write).

## Path parameters

- `projectId` integer, required
- `hash` string, required

## Response `201`

Distribution release was successfully created

- FileBasedDistributionReleaseResource: Base schema of resource container. Container is a wrapper object that contains payload in required `data` property and provides space for adding any other metadata.
  - `data` FileBasedDistributionRelease, required: Class DistributionReleaseResponseModel
    - `status` 'inProgress' | 'success' | 'failed', nullable
    - `progress` integer, nullable
    - `currentLanguageId` string, nullable
    - `date` string, date-time, nullable: in UTC
    - `error` object: Only present when status is "failed"
      - `message` string
    - `currentFileId` integer, nullable

## Other responses

- `400`: Invalid Request Parameters
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Project or distribution was not found
- `409`: Conflict
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2.md) - [All operations](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/revisions/dc68744c5384?raw)
