A community space to collaborate on Box APIs, explore SDKs, and build powerful applications
Recently active
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
Hi,We’re under the business subscription.Via the Web UI, we have the option to ask a question or summarize a file using AI.Trying to use the ask API (/ai/ask) via postman, I get back status: 403, code: insufficient_scope and message: The request requires higher privileges than provided by the access token.In the scopes (Scopes - Box Developer Documentation), there is a scope for AI APIs, ai.readwrite, though in my box integration setup it is not listed as an option to be added to the app scope being used. For a test, even after enabling all scopes, its the same.If I try to add this scope via the postman scope config options (see screenshot below), and regenerate the Access Token, than get “Authentication failed” with “Error: invalid_scope”, probably as it does not correlated with the scopes for the app integration (client_id and secret) being used.Any idea how this scope can be added? Is that maybe restricted for the business subscription? If so, what is the min subscription needed for
Hi everyone,I'm exploring options to allow users to edit .docx documents directly within my application using Box.While researching, I came across the ui.openWith() method in the UI Elements documentation, but I see it's now marked as deprecated. Before I go further, I wanted to ask: What is the recommended alternative to ui.openWith() for opening and editing Word documents? Does the ContentPreview UI Element support editing, or is it strictly for viewing? Are there other supported ways to integrate an editing experience for .docx files stored in Box? I'd love to hear what the best practices are for this type of functionality.Thanks in advance!
Tengo un problema complejo. ¿A Soporte técnico de Box se le puede enviar la duda y pantallazos de alguna manera? Al entrar en Open Box.com, me salen las carpetas azules compartidas de una en una, correcto, no duplicadas, pero si entro desde la pestaña de arriba y abro el desplegable (carpetas azules compartidas en pequeño), entonces si salen duplicadas.Otro problema que veo, es que en las carpetas "grandes azules", (no las del desplegable), entro y a parte de otras carpetas azules compartidas, en mi versión web hay más archivos pdf, jpg, excels, etc. que al abrir la misma carpeta en el desplegable, no salen y en las de la persona con quien las comparto, tampoco salen.
Question came up on our roundtable with Federal Contractors yesterday.
The file is still not uploading via the API. The response returned was '401 Unauthorized'.It worked fine approximately 2 hours ago.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.