Programmatically downloading files by external clients?

  • 1
  • Question
  • Updated 1 month ago
A ShareFile account holder has provided us with access;
we typically receive email notifications, then we click on the link to login in at the browser, then click to download file.

In order to automate this process,
do we need to have an OAuth key? ie get a client_id and secret?  And do we go through that by asking the account holder?
Thanks.
Photo of Ted Tea

Ted Tea

  • 2 Posts
  • 0 Reply Likes

Posted 1 month ago

  • 1
Photo of Luke Skrzypek

Luke Skrzypek, Employee

  • 52 Posts
  • 7 Reply Likes
Do you have a user on the ShareFile account? (i.e a username/password as opposed to the account holder sharing a file with you that only requires you enter your name)

If so, you can automate the download using our api (http://api.sharefile.com/rest/).
You will need a client id and secret to authenticate with the api, which can be requested here: http://api.sharefile.com/rest/login.aspx?displayMessage=1&referrer=/rest/oauth2-request.aspx (you'll need your ShareFile credentials)

If your user doesn't have the necessary permissions ("Can Manage Account"), then the account holder will need to request them for you via the same link.
(Edited)
Photo of Ted Tea

Ted Tea

  • 2 Posts
  • 0 Reply Likes
  • I have a user account; ie i need to login with username and password;
    when I log in, I can see the name of the account holder at the top left where it reads Subdomain

  • I did try to request for the client id/secret but have no permissions - I guess the account holder has to do it for me!

Thanks for confirming, Luke.