Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hello Support Team,
We are looking for Drop Box Business API for PHP which can upload files in any shared folders with the team using our application & share the link of that upload files to all users which access on that particular folder.
We use used https://content.dropboxapi.com/2/files/upload for uploading files bit it's not uploading files in any shared folder outside apps folder.
So please let me know how awe can resolve this major issue & share some sample link.
With Regards,
Manish Rustagi
[email address removed by moderation for security reasons]
It sounds like you've registered a Dropbox API app with the "app folder" permission. Apps with that permission only have access to the special app folder created for the app, and not any other folders, such as shared folders.
If you need to access shared folders, you'll need to register an app with a different permission.
You can find information on the user-linked permissions here. If you only need to link to individual accounts and access shared folders in those accounts, you can use the "full Dropbox" permission.
You can find information on the team-linked permissions here. If you need to be able to connect to entire teams and access the contents of any member's accounts, you should use the "team member file access" permission.
Do we have any example in PHP?
@Manish1974 No, unfortunately we don't offer an SDK or examples for PHP in particular.
There are some third party libraries listed here that may be helpful:
https://www.dropbox.com/developers/documentation/communitysdks
Otherwise, you would need to use the HTTPS endpoints directly, and write code to call those directly with HTTPS client you're using, based on the documentation and curl example, e.g., for /2/files/upload.
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!