A community space to collaborate on Box APIs, explore SDKs, and build powerful applications
Recently active
I followed this: https://medium.com/box-developer-blog/box-python-next-gen-sdk-getting-started-with-ccg-81be0abc82d9 And it worked but this stops at `user_client.users.get_user_me()`. I want to be able to list files in my folder and download them. How can I do that? I use python.
Current State:The downscoped token used for this has the permission for “base_explorer item_delete item_download item_upload item_preview” The app that’s being used has Co-Owner permission as well. The Content Explorer renders based on the following settings: We had a response Interceptor to the Box Content Explorer, but even after removing that and using OOB Box Content Explorer functionality, the download doesn’t work. I would only get something if I were to manually copy paste the download link from the response to a browser: The download doesn’t work, neither does Preview I’ve been following the documentation provided here: https://developer.box.com/docs/box-content-explorer I believe something is wrong here and need your assistance. What needs to happen for the download to work?
I was having the same problem as the following thread:When i try to generate a token by API with the box_subject_type: user, i get this messege: I noticed that i dont have access to an Admin account, but I intent on using the api to upload files to my personal box. Do I have to publish my app before hand? But its to much of a trouble for a simple use.
Hi,I was looking for a way to delete a user using this method : curl -i -X DELETE "https://api.box.com/2.0/users/$userID?force=true" -H "authorization: Bearer $mytoken"HTTP/1.1 404 Not Founddate: Fri, 13 Jun 2025 10:20:28 GMTcontent-type: application/jsonx-envoy-upstream-service-time: 110box-request-id: 084aa24f457de6630b1c1719f0ffcea0ecache-control: no-cache, no-storestrict-transport-security: max-age=31536000Transfer-Encoding: chunked{"type":"error","status":404,"code":"not_found","help_url":"http:\/\/developers.box.com\/docs\/#errors","message":"Not Found","request_id":"9qmpq2i2dviyjv95"}I have replaced personal data $userID and $mytokenA GET request is working properly.Many thanks
I’ve created the platform app, to list files in the folder shared with me. This app has a “Client Credentials Grant” authentication This app has “Make calls using as-user header” permissionIn my account ( which is an enterprise admin) I have two folders: “XXX” and “My Box Notes”.When I list my root folder using https://api.box.com/2.0/folders/0/items I can only see “My Box Notes”. What should I do to see the “XXX” folder which was shared with me?
Hi there,I'm trying to understand whether it's possible to use the Box API with a free account. I’ve successfully created an application, but it seems like it remains unapproved indefinitely.From what I can tell, without this approval, the API doesn't function properly. Could someone clarify whether free accounts can gain approval for apps or if API access is restricted to paid plans?Thanks in advance for your help!Best regards,
If I have created an app with client_credentials grant, what happens if the user account with which the app was created gets deleted/removed. Will the app still function? https://support.box.com/hc/en-us/community/posts/360049153294-What-happens-to-custom-apps-created-by-a-user-when-that-user-s-account-is-removed-Above post suggests that the app will be orphaned, and once the collaborator is added to the app, it will function. But my query is mostly related to client_credentials grant app, as I’m using the app creds with box_subject_type as user and box_subject_id as user_id of the user who created the app. If the user gets deleted, will I get invalid grant_credentials error? And can I still use the app with other user’s user_id?
Hi, I’m trying to create an application which will read the content of a box folder, shared with me, on schedule.OAuth client_credentials grant type fit my needs well. I’ve created a platform app with authentication using “Client Credentials Grant” to test the authentication. I’ve tried to obtain the token using the following bash script (it uses httpie) having CLIENT_ID, CLIENT_SECRET, USER_ID set to the appropriate values:CLIENT_ID="client_id"CLIENT_SECRET="client_secret"USER_ID="user_id"http --print=hHbB --form POST https://api.box.com/oauth2/token \ box_subject_type=user \ box_subject_id=${USER_ID} \ client_id="${CLIENT_ID}" \ client_secret="${CLIENT_SECRET}" \ scope="root_readonly" \ grant_type=client_credentialsand I keep getting the following error:HTTP/1.1 400 Bad RequestAlt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000Transfer-Encoding: chunkedcache-control: no-storecontent-type: application/jsondate: Thu, 12 Jun 2025 11:36:01 GMTset-cookie: box_visitor_id=684abba132c8c2
need to create an app on a box enterprise accountan external application will upload files to box. Box account has added users who will check the files Organization is recommending to use oauth the external app is automated and need to run without having someone enter credentials everytimeis this workflow possible?
Hello we need to temporarily raise our rate limit so we can bulk create and permission box folders to onboard a large new customer
I’ve got a small Box AI application and we’re considering exposing the output of it to the public. Has anyone got some best practices for profanity and inappropriate content filtering with Box AI? It would be enough to just have Box AI say “I’m sorry. I can’t answer that question.” or something like that, when the user asks an inappropriate question. Do I just handle that through the prompt in the API call, or is there some other functionality I should be using that provides more structured content filtering?
I have a list of users for whom I need to change status from Active to Inactive. Is there any way to do this in bulk?
Hi team, I’m trying to set up box app with client_credentials grant_type. I have followed these steps: https://developer.box.com/guides/authentication/client-credentials/client-credentials-setup/I have setup an app with App + Enterprise Access, and have provided all the permission including the all files and folders access permissions.Now I am trying to create a client, and fetch folders and files data with enterprise box_subject_type, but it gives empty list. If I try the same with user box_subject_id, then it works and gives all the files and folders from root folder. But as I understand, this will give give admin level to the client(or the user with which I have authenticated). Is there any way to fetch all files and folders using enterprise access, and which do not need user id?I have tried by collaborating a folder with the service user which was created for my app, but with this it only gives access to the shared folder, and couldn’t find a way to share all the folders and files
When you open the first file in Box, the file_id is set correctly to the ID of the first file opened, but if you then open a second file, the file_id may remain the ID of the first file. If you then reopen the second file, the file_id will be correctly updated to the ID of the second file, but please check to see if this is an issue on the BOX side.
Recently, we deployed Box Enterprise Advanced and have been building it into our own core technology stack. We’ve partnered with Box to explore solution development using Box Enterprise Advanced and the Box AI Studio feature set. We’ve also partnered with mxHERO to provide intelligent email capabilities to our customers. This collaboration will lead to the creation of numerous agent candidates for industries tailored to meet the needs of users. Initially, we focused on developing a basic Intelligent Project Management Agent—a common use case that addresses the challenges project teams face. The result is a lightweight assistant experience when using Box AI, facilitating seamless interaction with content and related communications. The agent has content, context and can provide value to any given project manager. This experience can be further extended through APIs to integrate other relevant tools such as external data sources, LLMs and SLMs, Voice, Vision, and XR technologies. Read th
I am creating a workflow from our website. I have set up the necessary Developer tokens and IDs and submitted for authorisation but it has been over a day and no response. I am unable to move forward with the integration without the authorisation.Any assistance would be much appreciated. This is the message I am getting from my account!
Problem StatementThe /events API, when used with the stream_type parameter set to admin_logs or admin_logs_streaming, returns limited metadata in the source field — typically including only basic attributes like id, name, parent, and owned_by.However, when the same endpoint is used without explicitly setting the stream_type parameter (which defaults to all), the source field includes significantly more detailed information. This includes attributes like path_collection, file_version, timestamps (created_at, modified_at, etc.), and ownership metadata. Proposed Enhancement We request that the /events API be enhanced to return a more complete source object structure across all stream_type values — especially for admin_logs and admin_logs_streaming. Alternative Suggestion If a uniform response structure cannot be guaranteed across all stream types, we propose introducing an optional API query parameter that allows clients to explicitly request extended metadata in the response (e.g., field
I have a UWP application that has a file picker and it launches PickerHost.exe when I want to attach a file from Box.When I attach a single file from the Box node in the windows file explorer, it works fine. But when I try to attach 2 or more files, it doesn’t work saying there’s insufficient memoryThe thing is, if I go to directly to the folder location of Box (ie. C:\Users\Username\Box) and select multiple files from there then it works fine. But not when I select from the Box node in the file explorer.I don’t face this issue on other cloud storage applications, only on Box.Wondering if this is a known issue and this line in the Box Drive beta for Windows announcement would address it? Folder redirection to seamlessly sync root folders from their local hard drive directly into Box, providing a more integrated experience (coming later in this beta)
Where can I get the material &/or recording data by used the below workshop?
Hi, I hope I'm not asking what I've already asked in another post, but I couldn't find it.I'm a bit lost regarding the best option for implementing automatic access to the Box API from a backend program (I only want to download a file every so often).Since it will be automated, I also need the token generation to be automated (if applicable), but using OAuth2.0 makes things more complicated because the refresh_token is dynamic, the auth code to generate it is also dynamic, and I haven't found a way to generate each one through code or CURLs.I have a way to store client_id, secret_id because they don't change, but I can't save dynamic values, I would need to generate them all in session, at the moment.For the account I want to implement it is enterprise.Thanks
Hi there! I am using Box.Sdk.Get and getting timeouts of 100 seconds on the client.Upload.UploadFileAsync. How do I increase the timeout value? Thank you!
Hello,An Excel document layout changes from portrait to landscape and becomes 2 pages when uploaded to box sign. is there any way to keep the original layout of the document?
Hi, we are using the AI API to extract structured metadata. The format of the response from the Box API keeps changing, sometimes multiple times a day. Sometimes it has the below structure, which shows the key name, the prompt, the type and value. Answer: {fields: [ { key: financialYear, prompt: What financial year, if any, does this document relate to? Financial years run from 1 July to 30 June. Return the year only (for example the 2023/24 financial year would return 2024), type: string, value: 2024 } ]} And other times it simply returns the below:Answer: {financialYear: 2024} Every time it changes we are forced to update how the response is treated. Why would this keep changing? Can we force it to stay with the second example? Thanks.
Using .NET sdk and OAuth2 we give login to box application in our embedded browser. But the box cdn js files ( showing syntax errors) are not getting loaded in our embedded browser. Maybe due to updated features the files are not getting loaded. Can you help us here?
I’ve integrated the Box Java SDK (v4.11.1) into my Spring Boot application:<dependency> <groupId>com.box</groupId> <artifactId>box-java-sdk</artifactId> <version>4.11.1</version> </dependency> All required configuration properties (OAuth2 credentials, PEM key, client ID/secret, etc.) have been supplied, but the application fails to start with the following exception:… 33 common frames omitted Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.box.sdk.BoxAPIConnection]: Factory method ‘boxAPIConnection’ threw exception; nested exception is java.lang.NullPointerException: Cannot invoke “org.bouncycastle.openssl.PEMKeyPair.getPrivateKeyInfo()” because “keyPair” is null at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) … 47 c
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.