---
title: "Create a release file"
method: POST
path: "/v3/release-files"
tags: ["ReleaseFiles"]
---

# Create a release file

`POST /v3/release-files`

Creates a new release file.

## Request body

- ReleaseFileRequestModel
  - `name` string, required — Name of the file.
  - `url` string, uri, required — Download URL of the file.
  - `size` integer, required — Size of the file.
  - `checksum` string, nullable — MD5 checksum of the file.
  - `secured` boolean, required — Secured release files require license key for download.
  - `releaseId` string, required — Unique identifier for the release.

## Response `201`

Created

- ReleaseDto
  - `id` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `name` string, required
  - `channel` string, required
  - `version` string, required
  - `platforms` string[], required
  - `notes` string, required
  - `totalFiles` integer, required
  - `publishedAt` string, date-time, nullable
  - `files` ReleaseFileDto[], nullable
    - `id` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `name` string, required
    - `url` string, required
    - `size` integer, required
    - `downloads` integer, required
    - `extension` string, required
    - `checksum` string, required
    - `secured` boolean, required
    - `published` boolean, required
    - `releaseId` string, required
    - `releaseName` string, required
  - `published` boolean, required
  - `private` boolean, required
  - `archived` boolean, required
  - `productId` string, required
  - `tenantId` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `409` — Conflict
- `429` — Too Many Requests
- `500` — Server Error

---

[API](https://skmtc.net/cryptlex/apis/cryptlex-web-api.md) · [All operations](https://skmtc.net/cryptlex/apis/cryptlex-web-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cryptlex/cryptlex-web-api/revisions/ec1259c12475/schema)
