We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here. 

Forum Discussion

GaryH_BAR01's avatar
GaryH_BAR01
Helpful | Level 5
31 days ago

Replicate Dropbox Transfer Functionality VIA API

I really enjoy the use of the Dropbox Transfer functionality to send copies of files to end users that may or may not have a Dropbox account, require that the use a password, be notified that the file was downloaded and have the access to the files deactivated after a deadline.

 

My understanding is that there is currently no way via the Dropbox API to automate this process using Dropbox Transfer.  (If I am mistaken, I would love to be shown how I can do this)

 

In the meantime, while we wait for Dropbox to expand the API to cover Transfer, it has been suggested to me that I just create folders and share them to the intended users. 

 

A) Is there a way to password protect these folders for a particular user to access them? Especially if they may or may not have an existing Dropbox Account?

 

B) Is there a way to be notified if the files are accessed or downloaded from these folders?

 

C) Is there a way at creation to set a date that would expire/deactivate the share on a particular date?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Dropbox does not currently offer API functionality for Dropbox Transfer, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

     

    A) The Dropbox API does offer the ability to programmatically create shared links with passwords, via the /2/sharing/create_shared_link_with_settings endpoint. Click on "SharedLinkSettings" in the /2/sharing/create_shared_link_with_settings API documentation to see all of the settings that are available. Note that some settings are only available to some account types though.

     

    B) Unfortunately the Dropbox API does not offer a way to be notified if/when the files are accessed/downloaded from shared links, but I'll pass this along as a feature request as well; likewise, I can't promise if or when that might be implemented. (If you're on a team however, you can monitor activity using /2/team_log/get_events[/continue], though that may be noisy.)

     

    C) The /2/sharing/create_shared_link_with_settings endpoint also supports an 'expires' setting for configuring the expiration of the shared link.

    • GaryH_BAR01's avatar
      GaryH_BAR01
      Helpful | Level 5
      Greg

      Thank you for the guidance I will be looking into this more

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,876 PostsLatest Activity: 4 hours ago
325 Following

If you need more help you can view your support options (expected response time for an email or 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!