Kaha
Kaha

Reputation: 31

box.com api without Oauth2

I created box.com application and want to access files and folders under my account using api sdk https://github.com/box/box-windows-sdk-v2. Is it possible to not use OAuth2 for authentication(something like curl https://api.box.com/2.0/folders/FOLDER_ID/items?limit=2&offset=0 \ - H Authorization: client_id=MY_CLIENT_ID client_secret=MY_CLIENT_SECRET) and get access only for my data.

Upvotes: 1

Views: 674

Answers (2)

austriacus
austriacus

Reputation: 123

as user1989104 said: you won't get around the OAuth process. Check my answer on another thread for kind of a workaround to this issue: Best way to upload files to Box.com programmatically

Upvotes: 0

paapfly
paapfly

Reputation: 241

You'll need to go through the oauth process and get a bearer token to use the Box API.

Upvotes: 1

Related Questions