---
title: "Add Storage"
method: POST
path: "/storages"
tags: ["Storage"]
---

# Add Storage

`POST /storages`

## Request

- Base URL: `https://api.crowdin.com/api/v2`
- URL: `https://api.crowdin.com/api/v2/storages`
- Auth: none declared. Required headers: `Content-Type`, `Crowdin-API-FileName`
- TypeScript: <https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/docs/storages/post.ts> (a function with typed inputs; its response is checked against the schema)

## Headers

- `Content-Type` string, required
- `Crowdin-API-FileName` string, required

## Request body `application/octet-stream`

- string: File content. Text of file or any other raw binary data.

## Response `201`

File was successfully uploaded to storage

- StorageResource: 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` Storage, required
    - `id` integer
    - `fileName` string

## Other responses

- `400`: Invalid Request Parameters
- `405`: Method Not Allowed

---

[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)
