Learn how to make the most out of the Dropbox Community here 💙!
Forum Discussion
nameless witch
3 months agoNew member | Level 1
Can Dropbox API enable permanent share link extraction?
I used the Dropbox API to export file metadata, including titles, paths, created dates, and Dropbox links, into an Excel sheet for my employer. In my script, I enabled the "file.metadata.read", "sha...
DB-Des
Dropbox Engineer
3 months agoHi nameless witch,
The script you provided is first sending a request to /sharing/create_shared_link_with_settings endpoint, yet you mention you are wanting to "to export file metadata, including titles, paths, created dates, and Dropbox links". This endpoint is to create shared links. To extract metadata from existing shared links, you would need to send a request to /sharing/list_shared_links endpoint.
The second part of the script sends a request to /files/get_metadata endpoint. This endpoint will return metadata of a file or folder, however, the response will not include a "link" (or "url"). Similar to the previous statement, to retrieve shared link URLs, you would need to send a request to /sharing/list_shared_links.
If you are looking to create shared links with this script, the first section of the script—where it calls /sharing/create_shared_link_with_settings—will work. The response of this endpoint will contain a "link" (or "url") field.
As far as your last question, Dropbox does not place any restrictions on sharing links due to the account being a business account.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,975 PostsLatest Activity: 5 years ago
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!