Getting File ID in Return Response after Uploading

  • 1
  • Question
  • Updated 7 months ago
We are uploading the files to a specific folder using the ShareFile Upload API and it uploads successfully to a specific place. However, we need a File Id of a file after successfully uploading in the return response. But we are only getting the response as Ok. Can you please let us know how we can get the id of the file after uploading?
Photo of Grant Owens

Grant Owens

  • 1 Post
  • 0 Reply Likes

Posted 7 months ago

  • 1
Photo of Ross Bender

Ross Bender

  • 62 Posts
  • 10 Reply Likes
We're using Threaded upload and are able to get the Item ID after the upload is done. From the docs (https://api.sharefile.com/rest/docs/resource.aspx?name=Items):

If using the Threaded Uploader, the client can add the parameter fmt=json to the ChunkUri to retrieve the Item ID of the file after the upload is completed.