A community space to collaborate on Box APIs, explore SDKs, and build powerful applications
Recently active
I only used Box and Practice questions with study guide to prepare for the exam for 2 weeks.https://docs.google.com/document/d/1i5y-X-17RVirib6URVZOqzkIMd37Vw_6nBXuk07ahDc/edit?tab=t.0#heading=h.p6lesgmecr55
Specifically, I need to understand:If an app user or service account starts a pre-configured workflow through the API (POST /workflows/{workflow_id}/start) Can they add another app user as a task assignee at the time of starting this workflow? I've checked the Box Developer Documentation but couldn't find specific information about this capability. Any documentation references or real-world experience would be helpful.Thank you in advance for your help!
Hi everyone. I’, relatively new in React and I’ve just started working with Box integration. I managed to use Box by referencing the versions available on Box's CDN (https://github.com/box/box-content-preview?tab=readme-ov-file#including-preview-as-a-library). But, I have the requirement to use it as a NPM package. I’m using React and when I try to install the box-ui-elements and use it, I get the error 00:30:52 [vite] error while updating dependencies:Error: Build failed with 3 errors:node_modules/box-ui-elements/es/elements/content-preview/ContentPreview.js:51:26: ERROR: No matching export in "node_modules/box-ui-elements/es/elements/common/annotator-context/index.js" for import "WithAnnotationsProps"node_modules/box-ui-elements/es/elements/content-preview/ContentPreview.js:51:70: ERROR: No matching export in "node_modules/box-ui-elements/es/elements/common/annotator-context/index.js" for import "WithAnnotatorContextProps"node_modules/box-ui-elements/es/elements/content-sidebar/Activ
We’ve just returned from an exciting BoxWorks conference where we demonstrated groundbreaking AI integrations between Box and HubSpot that are set to transform how businesses handle document processing and customer relationships.Automated PDF Data ExtractionOne of our most compelling demonstrations showcased Box AI’s ability to automatically extract and process metadata from PDFs stored in Box. When triggered by a HubSpot action, the system can intelligently parse this data and update corresponding HubSpot fields automatically. This innovation eliminates manual data entry, reducing both time investment and the risk of human error.Think about the implications:Automated contract processing Streamlined workflow triggers Seamless data synchronization between platforms Reduced administrative overheadCross-Platform IntelligenceWe also unveiled a powerful new capability that leverages Large Language Models (LLMs) across both Box and HubSpot platforms. This integration enables users to make n
I am trying to create a Box sign request and want to highlight the signature box in the document where the user needs to add their signature. In the Box Sign portal, there is an option to drag and drop the signature and other fields, which places the signature box at the desired position in the document. I want to replicate this functionality using code. However, when I tried adding the inputs attribute under signers, it didn’t work as expected.Below is my json request body.{ "email_message": "Hello! Please sign the document below", "email_subject": "Sign Request from UserName", "parent_folder": { "id": "2895123232312", "type": "folder" }, "signers": [ { "email": "<useremail>", "role": "signer", "order": 1, "inputs": [ { "type": "signature", "x": 100, "y": 150, "page_index": 0, "width": 150, "height": 50 } ] } ], "source_files": [ { "id": "1714359484288", "t
I am working on my first Box API calls. I am using Postman at the moment and was finally able to get the API to access a token to work and I have retrieved a token. I then take that token and send as authorization to the API to list the items in a folder. The Box application that was created for this purpose is a CCG application and I am passing the client ID and secret and the box subject type is enterprise.. When I call the API to get the folder items, it tells me “session expired” even though I had just retrieved the access token. What am I doing wrong?
Dear all, I like to create the applications that get the meta data, and enteprirse plus version already 100k PAI calls included. WHat kind of cost will be considered per a request? I would like to get the meta data of the each files, and folder, and structures, and i would like to search those through the app. I will implement the AI around this app. that extract some files contents, and display in the UI. Please help with this cost associated iwth the Box API
Can I change Max File Size from the Account details?or configure it for an user? we need to decrease the max size limit of the uploaded file
I would like a simple working code example of uploading a file via the Chunked APIs using the Typescript SDKI have reviewed the documentation here:https://github.com/box/box-typescript-sdk-gen/blob/main/docs/chunkedUploads.mdhttps://developer.box.com/guides/uploads/chunked/?_gl=1*h4a2ux*_gcl_au*ODIyMTQzNzA5LjE3MzIxNDU5Mjk. and also all available support/community issues related to this but I have but not found anything that clearly shows me how to do itTask is simple: I want to upload a 70mb file using the Chunked Upload APIS (using Typescript SDK)The documentation here is unclear and does not show a proper example: https://github.com/box/box-typescript-sdk-gen/blob/main/docs/chunkedUploads.mdCan anyone kindly provide a simple example in Typescript that will show accomplish this task using the Typescript SDK (not the deprecated Node SDK)I know how to upload smaller files that do not require chunking that is fine, but when it comes to Chunking I believe the TypeScript SDK documentation
I am unable to figure exact syntax for mutiselect field to update metadata. When I attempt following then it throws errorawait boxService._client.FolderMetadata.UpdateFolderMetadataByIdAsync(folderId: "123", scope: UpdateFolderMetadataByIdScope.Enterprise, templateKey: "arms", requestBody: Array.AsReadOnly(new[] { new UpdateFolderMetadataByIdRequestBody() { Op = UpdateFolderMetadataByIdRequestBodyOpField.Replace, Path = "/doctypes", Value = "[\"test\"]" } })); Error:Encountered invalid value for template field key=doctypes I have no issues in using CreateFolderMetadataByIdAsync though.
Iam trying to index the files to Open search using Box. I have a requirement for the incremental indexing. Whenever a file/folder is uploaded in Box, it should trigger the API and the files should be indexed into Opensearch.
I am using the Box Node SDK to upload a file, and the upload is successful because I have the file ID and can download the file. However, the issue I'm facing is that I cannot find the file or the folder I created when uploading it on the 'My Account' page.I would really appreciate any help. Thank you, everyone.
Hi, I am looking for enabling Box managed universal links for iOS devices. I want to set universal links for Box, that when a user receives an email with Box URL it will open the Box app instead of managed browser. Does anyone the correct format?
Hello! We’re a company exploring cloud storage solutions for a project we’re building for our clients, and Box is at the top of our list. Before moving forward, we want to confirm whether the platform can meet some specific requirements, particularly around user access and download control.Below, I’ve outlined our key needs, and we’d greatly appreciate any insights on whether these features are supported natively or can be achieved using the API. Storage Capacity: We require at least 10TB of cloud storage to share with multiple users (between 100 and 1,000 users). Access for Users: Users should be able to access shared folders via the desktop app without requiring local storage space (e.g., files remain in the cloud and download on demand). They will have view-only permissions, allowing them to open and preview files but not edit them. Download Control: It is critical for us to monitor and restrict downloads per user over defined time periods. For example: Users on a trial perio
I put Box Sign projects on hold for a year in hopes box.com would fix various web UI bugs insigning documents.Sadly, I still see an unacceptable overstrike and now even multiple font sizes on that overstrike, etc. But now that I’ve come back, I find that I can no longer get CCG to work with the User ID set inthe app. ( CCGAuth() in Python SDK. ) The initial authorization works when using Enterprise IDBUT that is not what I want because when using the Enterprise ID, it never could access mytemplates--They were only accessible when using the user id. (the User ID in the app config.)( It was previously able to access them when using the “user” argument to CCGAuth(). )I changed nothing. It stopped working. Yes it was still authorized then reauthorized for good measure.Is this a bug or a feature? And is there a way to get the old behavior? Other than this:Sadly I had to switch back to regular OAuth2 using the annoying 1 hour temporary dev tokenswhere it still will access the template
uri = URI('https://api.box.com/oauth2/token') token_request = Net::HTTP::Post.new(uri) token_request['Content-Type'] = 'application/x-www-form-urlencoded' token_request.set_form_data( 'client_id' => BOX_CLIENT_ID, 'client_secret' => BOX_CLIENT_SECRET, 'grant_type' => 'client_credentials', 'box_subject_type' => 'user', 'box_subject_id' => BOX_CLIENT_USER_ID ) response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == 'https') do |http| http.request(token_request) endI have the above Ruby code which has been giving an access token consistently for the past 6 months. However, yesterday it seems to be no longer providing the access token.Instead, now I get the response:{"error"=>"invalid_grant", "error_description"=>"Grant credentials are invalid"}I verified that the Box Dev App is still Enabled and Authorized. I also checked that the credentials hadn't changed. Is something else going on that I'm unawa
Hello, I have a box standard account and want to upload artefacts/files from our Gitlab pipeline to the account. Since the upload is done from a pipeline, I decided I created a box app with client credentials grant authentication. When I execute the authentication command below, I get : {"error":"invalid_grant","error_description":"Grant credentials are invalid"} curl -i -X POST "https://api.box.com/oauth2/token" \ -H "content-type: application/x-www-form-urlencoded" \ -d "client_id=craxv9gzavoiyj5knhu88kot0yv3sej6" \ -d "client_secret=XXXXXXXXXX" \ -d "grant_type=client_credentials" \ -d "box_subject_type=enterprise" \ -d "box_subject_id= 0"The client_id and client_secret are correct. I tried providing “user” as box_subject_type and my user id but it didn’t succeed either.Additionally, I also tried to set the access level to “App + Enterprise Access”. I read that I need to create a service account. However, I can’t find any settings to do this. I read in oth
Quando salvo o arquivo ele ate vai pra pasta, mas retorna esse erro
Box as a platform support multiple types of Users. Here are different user types and their descriptions including use case. Let us know if you want to know more about a user type or have a question on use cases. User Type Description Admin User Overall owner of Box Enterprise instance Configures global security and content settings Responsible for enabling/authorizing Custom Applications – including review of authorized scopes Use Cases: Required for all use cases. Managed User Standard knowledge worker would use this type of account to access the Box first-party applications (web, mobile, drive, etc.) - either through Box credentials or SSO Use OAuth 2.0 to authorize Box partner integrations (Salesforce, Teams, Slack, etc.) Can use JWT Authentication if Custom Application's "Application Access" setting is set to Enterprise and application has been authorized by the Enterprise's Admin Consumes a standard Box license – account is owned by your Box
Hello,Please, anyone has some tips to solve this problem with images storage with BOX platform
Does anyone have some sample code to upload a file with Python SDKGEN? (nothing fancy, just an small file, so I don’t need multipart uploads, etc). I see the following in the docs :parent_client.uploads.upload_file( UploadFileAttributes( name=get_uuid(), parent=UploadFileAttributesParentField(id="0") ), generate_byte_stream(1024 * 1024),)This seems overly complex and I’m not sure how to implement it. Do I really need the generate_bye_steam line? why? And am I supposed to import the UploadFileAttributes and UploadFileAttributesParentField functions and call them? Yuck. In the old SDK I just did this:new_file = box_client.folder(OUTPUT_FOLDERID).upload(file_name)
I’m a developer together with Coro Cybersecurity and we add a layer of security on top of box. The customer gives us access to box, and we make sure there is nothing in this data layer that could compromise their security. One of our requirements is to get a list of all integrations that are active for a given customer.I’ve been playing around with the console and you can clearly see that there is a list of integrations both available and installed in distinct tabs. However, I cannot find an endpoint that allows me to query for them.I’ve got two questions:Is my assumption correct, that you do not allow to programatically get information about these integrations? If the answer to 1 is yes, will this ever be supported?The closest thing I’ve seen to what I want is here: https://developer.box.com/reference/get-integration-mappings-slack/ but the documentation is broken at some points and I’m not sure we would want to offer this feature to our customers without it being fully complete. I t
What happened to all of the request examples on the Box API References? https://developer.box.com/reference/
I’m runng a script on my local machine: from boxsdk import Client, OAuth2from boxsdk.exception import BoxAPIException# Authenticate with Boxoauth2 = OAuth2( client_id='xxxxxxxxx', client_secret='xxxxxxxxx', access_token='xxxxxxx' # Replace with OAuth token for production)client = Client(oauth2)try: # Get the root folder root_folder_id = '0' folder = client.folder(folder_id=root_folder_id) # Print basic folder information folder_info = folder.get() print(f"Accessing folder: {folder_info.name} (ID: {folder_info.id})") print(f"Total item count in folder: {folder_info.item_collection['total_count']}") # Retrieve and list items in the folder with a higher limit items = list(folder.get_items(limit=1000)) # Check if items are in the folder if not items: print("No items found in the root folder.") else: # Print details of all items in the folder for item in items: print(f"Item: {item.name} (Type: {item.type}, ID: {it
A government agency publishes a public folder to share a data set. I have no relationship with the publisher, thus no credentials. With the web browser interface, no authentication is required, works really well, can download every file. The Python SDK is getting super difficult for the task of accessing a public box folder. I can retrieve a list the file and folder names When I try to get anything with the file object file(file_id=item.id).content … download_url(), download… I get a 404 error, Not found. The assumptions I’m making: I need a developer account I need to create a custom app Select an auth method (e.g. OAuth) 3.5 Download the 3 secrets (client_id, client_secret, token) from custom app. Build a client object with the OAuth 5 With either the URL or the folderID get an object to the root folder. Iterate over objects in the root_folder Based on one post from Box engineer, I get the sense these developer accounts and credentials don’t give you “Permissions” on public folders
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.