cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more right 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: 

Dropbox Business API for PHP

Dropbox Business API for PHP

Manish1974
New member | Level 2

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]

3 Replies 3

Greg-DB
Dropbox Staff

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.

Manish1974
New member | Level 2

Do we have any example in PHP?

Greg-DB
Dropbox Staff

@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.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Manish1974 New member | Level 2
What do Dropbox user levels mean?