cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

Retrieve file id after upload, from session_finish

Retrieve file id after upload, from session_finish

brian q.
Helpful | Level 6

I don't see any way to retrieve the file ID, ie, "id:ABAASD123422" from a session_finish call, ie what is returned is the path of the uploaded file, not an id.

 

I can use the alpha calls (getmetadata) supplying the "path" but of course these are alpha calls.

 

Any way to force the V2 call of session finish to return id's vrs literal names?

 

V2 --  'user' http interface

1 Reply 1

Greg-DB
Dropbox Staff

@brian q. The /2/files/upload_session/finish endpoint should already be returning full FileMetadata objects, per the documentation. That includes both the path_lower and id for the uploaded file. Is that not what you're getting? 

 

If not, please share a full sample request/response so we can take a look. (Just redact the access token of course.)

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?