---
title: "Create Files"
method: POST
path: "/filestorage/files"
tags: ["filestorage/files"]
---

# Create Files

`POST /filestorage/files`

Create Files in any supported Filestorage software

## Query parameters

- `remote_data` boolean

## Headers

- `x-connection-token` string, required

## Request body

- UnifiedFilestorageFileInput
  - `name` string, nullable, required — The name of the file
  - `file_url` string, nullable, required — The url of the file
  - `mime_type` string, nullable, required — The mime type of the file
  - `size` string, nullable, required — The size of the file
  - `folder_id` string, nullable, required — The UUID of the folder tied to the file
  - `drive_id` string, nullable, required — The UUID of the drive tied to the file
  - `permissions` string, nullable, required — The UUID of the permission tied to the file
  - `shared_link` string, nullable, required — The UUID of the shared link tied to the file
  - `field_mappings` object, nullable — The custom field mappings of the object between the remote 3rd party & Panora

## Response `201`

- UnifiedFilestorageFileOutput
  - `name` string, nullable, required — The name of the file
  - `file_url` string, nullable, required — The url of the file
  - `mime_type` string, nullable, required — The mime type of the file
  - `size` string, nullable, required — The size of the file
  - `folder_id` string, nullable, required — The UUID of the folder tied to the file
  - `drive_id` string, nullable, required — The UUID of the drive tied to the file
  - `permissions` string, nullable, required — The UUID of the permission tied to the file
  - `shared_link` string, nullable, required — The UUID of the shared link tied to the file
  - `field_mappings` object, nullable — The custom field mappings of the object between the remote 3rd party & Panora
  - `id` string, nullable — The UUID of the file
  - `remote_id` string, nullable — The id of the file in the context of the 3rd Party
  - `remote_data` object, nullable — The remote data of the file in the context of the 3rd Party
  - `remote_folder_id` string, nullable — The id of the parent folder in the context of the 3rd Party
  - `remote_drive_id` string, nullable — The id of the parent drive in the context of the 3rd Party
  - `created_at` string, date-time, nullable — The created date of the object
  - `modified_at` string, date-time, nullable — The modified date of the object
  - `remote_created_at` string, date-time, nullable — The created date of the object in the context of the 3rd Party
  - `remote_modified_at` string, date-time, nullable — The modified date of the object in the context of the 3rd Party
  - `remote_was_deleted` boolean — Whether the object was deleted in the context of the 3rd Party

## Changes

- **2024-12-19** `feecca84f132` — 1 info
  - added the optional property `remote_was_deleted` to the response with the `201` status
- **2024-12-16** `37e33fd8b040` — 2 breaking, 1 warning, 1 info
  - added the new required request property `permissions`
  - removed the required property `permission` from the response with the `201` status
  - removed the request property `permission`
  - added the required property `permissions` to the response with the `201` status
- **2024-12-14** `69df76288cd9` — 1 breaking, 4 info
  - added the new required request property `drive_id`
  - added the optional property `remote_created_at` to the response with the `201` status
  - added the optional property `remote_drive_id` to the response with the `201` status
  - added the optional property `remote_modified_at` to the response with the `201` status
  - …1 more
- **2024-12-12** `5d304550b429` — 1 info
  - added the optional property `remote_folder_id` to the response with the `201` status

[Change history](https://skmtc.dev/panoratech/apis/panora-api/changes/filestorage/files/post.md)

---

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