Skip to main content

Upload a File

Summary

Upload a file to the provided path in your site. If you provide a folder path that does not exist, it will be created automatically.

Uploads are atomic; it is not possible resume an interrupted upload.

Endpoint

POST https://mysite.files.com/api/v2/resources/upload

Replace mysite.files.com with your site address.

Query parameters

ParameterDescription
pathRequired. The target path you are uploading to.

Request Body

Your request body can either be a multi-part form submission of a file, or you can use the Content-Type: application/octet-stream header and send a request body that contains only the bytes to be stored.

Get The File Orchestration Platform Today

4,000+ organizations trust Files.com for mission-critical file operations. Start your free trial now and build your first flow in 60 seconds.

No credit card required • 7-day free trial • Setup in minutes