cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
If you’ve changed your email address, now's the perfect time to update it on your Dropbox account and we’re here to help! Learn more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to upload file in specific team space folder?

How to upload file in specific team space folder?

Dmitry Moschik
Explorer | Level 3

Hi I am using 

Post Request

https://content.dropboxapi.com/2/files/upload

endpoint to upload file in Dropbox

 

Authorization => access token of dropbox app
Content-Type => application/octet-stream
Dropbox-API-Arg => {"path":"folderpath/filename.png","mode":{".tag":"add"}} 

Here is reference I found API documentation https://www.dropbox.com/developers/documentation/http/documentation#files-upload

Able to upload file in user folder.

But want to know how to upload file in specific team space folder.

When I upload the file in Dropbox folder name start with /home/username/foldername/filename.png

 

Please let me know the way to upload file in specific Dropbox team space folder.

1 Reply 1

Greg-DB
Dropbox Staff

Dropbox API calls operate in  the member folder by default, not the team space, but you can access the team space when desired. To do so, you'll need to specify an additional header to configure that. Please refer to the Team Files Guide for information on how to do so:

 

https://www.dropbox.com/lp/developers/reference/dbx-team-files-guide 

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?