All things API and SDK related
Recently active
Hello! I'd like Salesforce field values to pull into the document template dynamically so that the completed document is specific to the client and the values entered in Salesforce. I'd then like to send that document for signature via Adobe Sign that is integrated through Box. Ideally, everything done within the Salesforce UI. I'm not finding specific documentation for this (probably since it’s across 3 different tools). Any insights would be helpful! Thanks,Stephanie
HelloI’m trying to integrate Box into my app for file storage. I think I want JWT Auth as the app will only ever store files in its own Box account. I’m getting a typescript error: Type '{ clientId: string; clientSecret: string; jwtKeyId: string; privateKey: string; privateKeyPassphrase: string; enterpriseId: string; }' is missing the following properties from type 'JwtConfig': tokenStorage, privateKeyDecryptor with the following code: const config = { clientId: BOX_CLIENT_ID, clientSecret: BOX_CLIENT_SECRET, jwtKeyId: '8495cr9l', privateKey: Buffer.from(BOX_PRIVATE_KEY_BASE64, 'base64').toString('ascii'), privateKeyPassphrase: BOX_PASSPHRASE, enterpriseId: BOX_ENTERPRISE_ID,}const jwtAuth = new BoxJwtAuth({config})
I’m trying to send a sign request using a template and it doesn’t seem to be working - the recipient is not getting the email invite.I also tried sending an invite via api with the new Box Developer Playground (with an embed link) and even though the response is 200 OK and the sign request status is “created” the returned embed_url doesn’t work properly - when I use the link the sign page shows a message “Invalid Link”.It worked fine earlier today, is anyone else experiencing the same issue?
If you have been to developer.box.com in the last few minutes, you may notice a lot has changed. We are now live on Mintlify! All the guides and API reference materials you are used to are there. But with Mintlify, the site is built on AI. Thing are now much easier to find, and with the AI Assistant, you don’t even have to find it. Check out all the improvements in this blog.There are more improvements coming, but check it out and let us know what you think!
Hi!I’ve created a custom app using client credentials. After authorizing the app, I noticed that the automation user has a default storage limit of 10 GB.I attempted to increase the storage by first retrieving the user ID via the endpoint “api.box.com/2.0/users/me”, and then sending a PUT request to “api.box.com/2.0/users/{id}”.However, I received a 403 error:error="insufficient_scope", error_description="The request requires higher privileges than provided by the access token."I also verified the app permissions and confirmed that “Manage users” is enabled.Any suggestions on what might be causing this issue?Thanks in advance!
I’m trying to find a way to trigger some automations when a tag is added to a file or folder. I saw this post: and understand there is not currently a webhook event that can do this, but I’m wondering if anyone has figured out a clever workaround? It doesn’t look like there are any Relay events associated with tags either. I see that there is a “TAG_ITEM_CREATE” event type in the Events endpoint: https://developer.box.com/guides/events/, but only by user (i.e., there’s no way to filter enterprise events by that event type)?
Application that persists User Access and Refresh token works with .Net SDK v10.1.0, fails with :"The given key 'Retry-After' was not present in the dictionary" error at System.ThrowHelper.ThrowKeyNotFoundException[T](T key) at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Box.Sdk.Gen.BoxRetryStrategy.RetryAfter(FetchOptions fetchOptions, FetchResponse fetchResponse, Int32 attemptNumber) at Box.Sdk.Gen.Internal.BoxNetworkClient.<Box-Sdk-Gen-INetworkClient-FetchAsync>d__3.MoveNext() at Box.Sdk.Gen.Managers.FoldersManager.<GetFolderByIdAsync>d__8.MoveNext() at Program.<<Main>$>d__0.MoveNext() in C:\Users\xxxxx\source\repos\BoxTestTokenStore\Program.cs:line 28 A sample console test app code fragments to recreate: Simple Model for token persistence:namespace BoxTestTokenStore{ internal class TokenData { public string AccessToken { get; set; } = string.Empty; public string RefreshToken { get; set; } = string.Empty; }}C
When I click 'Run App Diagnostic Report', it gives me an error saying 'Something went wrong. The report did not initiate.'
Hello, I am new to developing for the Box platform and having a hard time understanding the first steps. I went through Getting started with Box for Salesforce development: Part 1 and Part 2, but they are using the box Toolkit which doesn’t offer the full API functionality. I’ve installed the Box SDK in my Salesforce Sandbox but there’s so many classes and seemingly no guide for how to get started. Can I use the box.Toolkit along with the SDK? My initial tasks will be to maintain a folder structure separate from the default to hold archived files, and to push files into this separate folder structure.
Most teams think they need custom model training to get real context. But in practice? Training is slow, expensive, brittle, and hard to govern. And for 95% of company use cases, you can get better results faster by pulling in your content at runtime using secure RAG, tailored instructions, and task-specific agents. In this episode of our AI Explainer Series with Box CTO, Ben Kus, we break down: When training actually makes sense (rare, high-risk, ultra-specialized workflows) Why most companies don’t need it — and how RAG + instructions deliver grounded, auditable answers instantly Real patterns from the field: caching, hybrid RAG, and policy-aware prompting to reduce latency, cost, and risk Ben and I would love to hear from you…What is one task in your org that feels like it “needs” a custom model — and what problem are you trying to solve with it? If you’re catching up, you can also check out other highly-requested explainers: Secure RAG for the Enterprise AI-powered Data Ex
This is an old question from stackoverlow which uses boxselect aka box file picker popup. The usage is very simple and straight forward but very old. But when i went through the dev docs none of them showed how to use the box file picker only using client id. Below example shows only via access token. In integration apps page it mentions “strongly recommend that you do not send it to an end-user client for both primary and secondary access token”https://developer.box.com/guides/embed/ui-elements/picker/#sample-html if I use the client id in above example, no files are loaded. Now how do i integrate box in my web app.
Our in-house service implements a Python SDK for creating folders and uploading files to BOX. User inputs consist of the target BOX folder path and the file to be uploaded. We execute the Python SDK using the "API execution account" provided by the user and upload the file to BOX. The processing logic works as follows: when the input folder path is "/Test/User", we first check if a "Test" folder exists at the root of the "API execution account". We then verify if a "User" folder exists directly under "Test", and if it does, we upload the file to that "User" folder. If "User" does not exist, we create it directly under "Test" and then upload the file. For example, if both "Account1" and "Account2" create folders named "Test" and grant collaboration access to the "API execution account", the root of the "API execution account" will display two "Test" folders. In this scenario, when the input folder path is "/Test/User", the "API execution account" cannot determine which "Test" folder to
The API that I use is this :{{BASE_URL}}/enterprise_configurations/{{ENTERPRISE_ID}}?categories=user_settings,securityAnd I always have 404 response. I have made sure the enterprise scope is present in token. Infact I tried to login from my docs using same oauth and receive 404 so is it something that needs to be enabled in account?
Hello,I'm running a program that automatically creates folders and shared links using the Box API.After creating a folder, when I execute the shared link creation (PUT /folders/{id}) for the newly created folder,I receive the following error:Status: 404Details: trashedBoth the folder creation and shared link creation are performed by the same user. Also, although the error message says "trashed," the folder is not in the trash and can be viewed normally in the Box Web UI. Therefore, I'm unable to determine why the 404 error is occurring and am stuck. If anyone has experienced a similar problem or knows a solution, I would appreciate your guidance. Thank you in advance.
I was trying to login to box.com with existing organizational email id, since there is transition in email id inadvertently, I deleted the account from which I already logged in. The new mail id should have been the primary one which i am not able to login as i get the pop-up message as “Account already exists for that mail id” (which was inadvertently deleted - [removed by moderator] ). As of now I already logged in to box with my secondary organizational email id which may stop working anytime. i need to switch my email id for the Box.com login. Could someone please help me out on this scenario.
Hello, I'm trying to connect to the BOX MCP server. I referred to the guide here. I couldnt get it working. How do I get the auth credentials?Is this endpoint correct? I'm trying to connect to my our Agent Platform targeted at enterprise deployments I wanted to try it with how we enabled shopify endpoints. Best,Arun
Could you please provide guidance on BoxSDK?When retrieving folder IDs using BoxSDK, we are encountering an issue where multiple folder IDs are returned even though only one folder should exist.The following method is being looped, and more than 200 folder IDs are being obtained.Since we have specified modified_at for sorting, we suspect that this issue occurs because the timing of folder updates overlaps with the timing of the loop that retrieves folder IDs. Is this assumption correct?Also, could you please advise on how to avoid this issue?method : BoxClient.SearchManager.QueryAsync()parameter : limit:200,sort: "modified_at",offset:[1+200*n]
https://www.linkedin.com/posts/box_the-box-mcp-server-is-now-in-the-github-mcp-activity-7389044785325600768-GD3F/I just configured this and it is spectacular. All of our knowledge and best practices in one place. My team can simply use the ai_qa_hub tool to ask a question about our style and best practices. We have some specific SQL conventions we use and I had Github Copilot / Box MCP update the file. It came back with the specifics we needed. Exactly what I was looking for.I know other dev platforms allow you to put knowledge in their systems, but we have all of our other corporate knowledge in Box so this just keeps everything consistent and easy to reference.
Hi All,We are a Box enterprise customer having developer licence and are currently working on a integration project involving our developer account and the Box REST API. Specifically, we are building api to perform CRUD operations on the Box User object.We need to utilize the User Tracking Codes functionality to accurately tag our users upon creation. the issue is: The User Tracking Codes section is currently not visible in our Box Admin Console under Enterprise Settings > User Settings. Attempts to create a user via the API using the tracking_codes parameter result in a 400 Bad Request error, which is expected if the feature is not active. Question: Please help use to enable the tracking_codes feature for the our account.
Files uploaded years ago using OAuth2.0 were being re-uploaded recently as indicted by the dates on my box.com folder files. I checked the website which it originated from and it wasn’t updated recently. The old files were even actually deleted already from the website it originated from. Any ideas on why this is happening?
Hello, whenever I send a document for signature and I add in an attachment, the final signed version does not include in the attachment. EG I have file 1 and file 2. File 1 contains the signature requests but file 2 does not. After all parties sign the document, the finalized signed document only contains file 1 but not file 2. Is there a way to have Box export both the finalized signed file 1 and file 2 combined into one PDF automatically?
I am trying to move a file to another folder where a file with that name already exists. Right now this operation throws 409 “item_name_in_use”. I want to enable versioning on this file move operation. Is there any way to do this or do I need to download and reupload the file for versioning to work?AI suggested using `conflict_resolution = "replace" ` in the body but it did nothing. Is this hallucination?
Dear all.I have a business requirement involving multiple files of different formats that are uploaded at different times to the same folder. I need to extract data from these files and consolidate it into a single file. It is important to note that these files cannot be downloaded to the local machine; the entire process needs to be carried out on the BOX platform.My question is: Is it possible to use the BOX API to write this logic and then have it run automatically in the background at scheduled intervals on BOX?If anyone has experience with similar implementations or solutions, I would appreciate your insights or suggestions. Thank you for your help!
Hello! Has anyone used the no code platform n8n to create workflows? I am currently working on an image tagging workflow that would trigger when a folder is created in a specified box location, and then send those images to be tagged and then update the metadata being stored in a json file. When I create actions in the workflow like get files or get folders, I have no issues. But when I use a box trigger node to start the workflow, I get the following error message : Forbidden - perhaps check your credentials? Show Details Box Trigger: 403 - “”
SalesForce内の取引先、取引先責任者、商談に対して、同じ名前でBOXにフォルダが作成されるように設定されていたが、現在フォルダを作成することができない状態です。どうしたら、いいのか分かりません。
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.