Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Damien C.2
10 years agoNew member | Level 1
HTTP Core Api <path> Example?
Hi,
I'm trying to make a /shares call from Zoho Creator to dropbox using the HTTP Core Api, could someone please provide an example of the <path> needed?
https://api.dropbox.com/1/shares/auto/<path>???
Thanks,
Damien.
4 Replies
Replies have been turned off for this discussion
- Greg-DB10 years ago
Dropbox Community Moderator
The path in the API call should just be the path to the file in the Dropbox that you want to operate on. In this case, if you want to get the shared link for a file named "example.txt" in a folder named "Documents", the path would be "/Documents/example.txt".
Note that apps using the app folder permission implicitly have a root of the app folder, so you don't need to do anything special in that case. For example, if your app has the app folder permission and you wanted to access a file in the app folder named "example.txt" in a folder named "Documents", the path would still be "/Documents/example.txt" (even though on the web site you would see it at /Apps/MyAppName/Documents/example.txt.)
- Damien C.210 years agoNew member | Level 1
So my post url will look like "https://api.dropbox.com/1/shares/auto/<FolderName>/<FileName>"?
- Greg-DB10 years ago
Dropbox Community Moderator
That's correct.
And for further example, if the file is in the root, it's just:
https://api.dropbox.com/1/shares/auto/<FileName>
Or if it's multiple folders deep:
https://api.dropbox.com/1/shares/auto/<FolderName1>/<FolderName2>/<FolderName3>/<FileName>
- Damien C.210 years agoNew member | Level 1
Greg,
Thank You, I have eventually got it working.
Damien.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!