Upload a File


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.


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

Replace mysite.files.com with your site address.

Query parameters

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 Instant Access to Files.com

The button below will take you to our Free Trial signup page. Click on the white "Start My Free Trial" button, then fill out the short form on the next page. Your account will be activated instantly. You can dive in and start yourself or let us help. The choice is yours.

Start My Free Trial

©2024 Files.com. All right reserved


  • Start My Free Trial
  • Pricing
  • Docs
  • API and SDKs
  • Contact



(800) 286-8372


9am–8pm Eastern