Questions tagged [box-api]

Questions about the API provided by Box, Inc. for their online storage service.

The Box API lets you create applications and web sites that integrate with Box. By leveraging Box's RESTful API, you can add simple, yet secure file management, sharing, and collaboration to your app.

Please consult http://developers.box.com for full API documentation.

Box, Inc. was formerly known as Box.net.

1055 questions
6
votes
2 answers

Gradle release build with proguard: java.lang.IncompatibleClassChangeError and java.lang.NoSuchMethodError

I recently migrated a project from Eclipse/Ant to Android Studio/Gradle. I am able to successfully build a signed release version of the project with proguard enabled. However, while testing the release version, I'm getting crashes from certain…
ashughes
  • 7,155
  • 9
  • 48
  • 54
6
votes
2 answers

OAuth2 returns invalid_client error

good day, I'm having trouble with getting the access token. I've followed the guide here: http://developers.box.com/oauth/ and already get my client_id, client_secret, and set the redirect_uri on the App settings (OAuth2 parameters) section. Here is…
user3072698
  • 63
  • 1
  • 1
  • 5
6
votes
2 answers

how can i upload a file using PHP

On this page: http://developers.box.com/docs/ Upload a file using cURL: METHOD POST /files/content EXAMPLE REQUEST curl https://api.box.com/2.0/files/content \ -H "Authorization: BoxAuth api_key=API_KEY&auth_token=AUTH_TOKEN" \ -F…
user1822862
  • 61
  • 1
  • 2
5
votes
1 answer

Downloading file though Box API 2.0 giving 200 as response instead of 302 found

I'm trying to download a file from Box.com through API using the following code.
Rajesh Manilal
  • 1,104
  • 9
  • 20
5
votes
3 answers

Upload file with Box.com PHP API

I am trying to upload a file to box.com using Box API. According to the docs, the curl request has to look like this: curl https://upload.box.com/api/2.0/files/content \ -H "Authorization: Bearer ACCESS_TOKEN" -X POST \ -F…
Prakhar
  • 2,270
  • 19
  • 26
5
votes
2 answers

Box.com Search API to retrieve all files in a determined folder

I'm searching a way to obtain all files of a specific folder. But I can't find sufficient informations in the official documentation I think about something like this: (I assume also to set a custom header with the…
RikyTres
  • 676
  • 9
  • 31
5
votes
2 answers

Authentication to Box in a C# desktop application using the Box Windows SDK v2 library

Seems like this should be a simple thing to do, but I can't find an example or thorough enough documentation to figure it out. I have a C# desktop application that I'd like to integrate with Box via the Box API. I assume that using the Box Windows…
jpreed00
  • 893
  • 8
  • 25
5
votes
4 answers

Best way to upload files to Box.com programmatically

I've read the whole Box.com developers api guide and spent hours on the web researching this particular question but I can't seem to find a definitive answer and I don't want to start creating a solution if I'm going down the wrong path. We have a…
user1110938
  • 153
  • 4
  • 11
5
votes
1 answer

Get non expiring Access Token from Box or Get access token from box by passing UserName and Password.?

I got the Access Token using Box Api but it is expiring in 1 hour. What I want here is, Either I need non expiring access token or get the access token by passing my Box User Id and Password to API. If above things are possible let me know the…
user2003167
  • 121
  • 1
  • 2
  • 5
5
votes
2 answers

OAuth2 refresh token only valid for 14 days

I have just upgraded our Box code to OAuth2. We have implemented code that allow users to transfer files between our web server and their Box (as well as SkyDrive, Dropbox, Google Drive) accounts. The users's access and refresh tokens are stored in…
MikeLim
  • 1,189
  • 1
  • 9
  • 11
5
votes
2 answers

Using the new OAuth 2 in Box

I'm trying to use the new Box authentication API with OAuth. I would like to use the credential of the the box account I'm currently using to authorize my application. The configuration of OAuth requests a redirection URI and I don't know what must…
user1466502
  • 101
  • 2
  • 7
4
votes
0 answers

How to add custom logo to OAuth 2.0 app created from Box developer console?

We want to add our product logo here instead of the default logo listed by Box. Is there a way to do it?
Bharath PS
  • 163
  • 5
4
votes
3 answers

Using As-User in Box Request

I was trying to make Box Enterprise API work using As-User. I have a admin account which i used to try to retrieve the Contents in a sub account. I first used the admin account to retrieve the User ID of the sub account. And added the User ID as a…
Kai Wu Toh
  • 236
  • 2
  • 17
4
votes
1 answer

Can you get tag of a folder with box API?

Box allows you to create a tag for your folder, but how do you get that info out of the API? I don't see tag returning in the GET /folders/{id} API. Tag is not considered as a metadata either.
CppLearner
  • 16,273
  • 32
  • 108
  • 163
4
votes
1 answer

Box API token request enterprise configuration issue

I am making a call to https://api.box.com/oauth2/token to get a token for a user. I get a 400 with the following error: Cannot obtain token based on the enterprise configuration for your app I don't see this error message defined anywhere. Any…
srt32
  • 1,260
  • 1
  • 14
  • 27
1
2
3
70 71