cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We've been busy working on some major updates to the Community, so check out what's changing, what’s staying the same and what you can expect from the Dropbox Community 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: 

Fulfilling a File Request via HTTP

Fulfilling a File Request via HTTP

Artem C.2
New member | Level 1

If I generated a file request URL, is there any way to upload a file to it programmatically? For example, here is a pseudo-curl request that I imagine:

curl -XPOST https://www.dropbox.com/request/2PY0o6x3LlNSZy38Yjsj?name --data @file.jpg

I know I could use the HTTP API to upload a file to an app folder instead, but it gives the client both read and write access to the target directory, and it requires me to share my access token if I’m to give this upload script to a friend or a colleague.

12 Replies 12

Greg-DB
Dropbox Staff

Unfortunately, no, there currently isn't an API for uploading to a file request, but I'll be sure to pass this along as a feature request.

Artem C.2
New member | Level 1

Ok, I hope to see it in the future versions of your API. Thank you Gregory!

Steve M.62
New member | Level 1

Has this changed? I am trying to automate anonymous upload (to a business account) via curl. Is this possible now? Thanks.

Richard P.
Super User alumni

No, no change.

Greg-DB
Dropbox Staff

That's correct, no change on this for file requests.

Steve, depending on your use case though, using the Dropbox API to upload directly may work for you:

https://www.dropbox.com/developers/documentation/http/documentation#files-upload

Steve M.62
New member | Level 1

Hmm. In my use case, the auth token could potentially fall into untrusted hands. I did not see anything in the API that would let me limit token permissions to strictly uploading a file. It seems like the token would be granted read as well as write permissions, plus some account-related stuff as well.

Is there a way to restrict a token to only permit uploading and no other access? Thanks!

Greg-DB
Dropbox Staff

I see, unfortunately, no, there isn't a way to restrict tokens to that level. I'll send this along as a feature request. 

cbrislain
New member | Level 2

I'm actually also interested in such a feature. Still no support in API? 

Hans Kristian M
New member | Level 2
+1
would be an easy and powerful way to ship files between systems and add to the usefulness of dropbox
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    jagada77 Explorer | Level 3
  • User avatar
    Hans Kristian M New member | Level 2
  • User avatar
    cbrislain New member | Level 2
What do Dropbox user levels mean?