Search code examples
box-apiboxboxapiv2

BOX- API get shared folders/files data from box using the rest API without using Oauth


I am trying to get data from Box api without using the access token, the folder containing data is a shared folder containing files that can be updated by box admin.I want to use the rest api and get the metadata of changed files and use that in the app.

so far i have not been able to access the data without using the oauth auth_token.

is there any way, that i can access the data without using the auth_token(i.e without making the user to log into the app?)


Solution

  • You cannot access the Box API without an OAuth2 access token. The user must authorize your application, or, if you're working within an enterprise you can use an administrative access token (i.e. a 'service' token) to access the data.