Could not upload file by providing path using sharefile API

  • 1
  • Problem
  • Updated 3 weeks ago


I am using Sharefile API to transfer the files from the local folder to Sharefile path.

I can send the file by providing the folder id as mentioned below:


However, if I change the id to the folder path, I am not getting the response from the server.

I tried:

https://<mycompany> folder/EMP1/Archive/Upload


https://<mycompany> folder/EMP1/Archive//Upload

I am getting error 404 in the above 2 cases.

I need help with creating the URI for Upload providing the SF folder path.

Thanks in anticipation.



Photo of Prashant Bhatt

Prashant Bhatt

  • 5 Posts
  • 0 Reply Likes

Posted 3 weeks ago

  • 1
Photo of Dale Smith

Dale Smith, Employee

  • 121 Posts
  • 17 Reply Likes
Hi Prashant,

The /ByPath endpoint is only a GET endpoint. Our upload endpoint only allows by the folder id that you want to upload to. You will need to first do the GET on the ByPath, retrieving the id of the parent folder you want to upload to, and then upload using that id.

For more information on the endpoints we expose, you can look here:

Dale Smith