All things API and SDK related
Recently active
Hello,We use DocuSign for the signature of all our sales orders. With the support of DocuSign, we have created an integration (or Connect) between DocuSign and Box. This captures sales orders as they are signed. We are also hoping to use this connection to download a bulk history of a load of DocuSign signed envelopes.We have tried this a number of times - from different browsers, clearing cache & cookies etc - to sync these legacy envelopes to Box. The publish and sync works, but each time, it delivers a different amount of envelopes to our connected Box folder. DocuSign are saying that because the CSV publish worked on their end (and shows 514 envelopes), the issue is with Box. However, we’re not getting that many envelopes in Box - maximum is around 250, but varies between approx 130 and 290.What else can I try to ensure the integration works as expected?Many thanks,Tom.
What type of permissions one has to have in order to get a User Activity Report on a file that they own? I can’t obtain a User Activity Report at all. I’m part of an Enterprise + Plan.
Hello all, I’m trying to upload my first app on box. I’m coding in python, using JWT authorization and my company Admin has authorized the application. When I make my authorization call to box, I am returned the following error: {'error': 'invalid_client', 'error_description': 'The client credentials are invalid'} At the moment, I’ve bypassed it with a developer token, but would still like to know what is causing the issue. Please help! Here is my code:'Import two classes from the boxsdk module - Client and OAuth2'from boxsdk.client import Client 'Configure the JSON'import jsonimport osos.chdir('C:\\Users\\Kanayo\\anaconda3')config = json.load(open('219128_0poxwjnz_config.json'))'decrypt private key'from cryptography.hazmat.backends import default_backendfrom cryptography.hazmat.primitives.serialization import load_pem_private_key appAuth = config["boxAppSettings"]["appAuth"]privateKey = appAuth["privateKey"]passphrase = appAuth["passphrase"]key = load_pem_private_key( data=privateK
We are using box sdk and we are facing issues in injecting data to our System as connector is taking a lot of time in retrieving the data from Box. We are investigating the performance issue.Need your help to check:1. Is there any API to check how many API calls are done and how many are remaining for a account? (Account having multiple users and groups) Is there any method in box sdk which we can use to log all the API calls so that we will be sure how many API calls are happening? We see there is an option of box report in console to check API calls. How is that working and is the API value shown there is per minute or total calls?
I am trying to search if a folder exists within a parent folder My code returns all items in the parent folder parentFolder=folder = user_client_archive.folder(folder_id=mainFolderID).get() print("Parent Folder "+parentFolder.name) items = user_client_archive.search().query(query='MyFolder_NoCollab',ancestor_folders=[parentFolder],content_types=['name',]) for item in items: print(f'The item ID is {item.id} and the item name is {item.name}')
for some reason, I can create a shared link on the site, but it is not displayed during API requests. I tried to create a shared link to the file through the api, however, I get the 403 Forbidden error. What could be wrong? Do I need any special permissions?
I found this out only through errors beginning to show up in API responses.Previously, the following token url worked for getting an access tokenhttps://www.box.com/api/oauth2/token However, that endpoint is no longer functional as of around 12pm Pacific 1/21/2025The endpoint in the current documentation however does work:https://api.box.com/oauth2/tokenJust wanted to share in case anyone else runs into this as well as Box provided 0 notification of this change
Hello Box Team! Couldn’t find this in the documentation so I figured I’d ask here! When a webhook is created, will it notify me when permissions on a file/folder has changed?
I have been messing around a bit with metadata templates and Box API. I found that I’m required to use the PUT method when updating a file or folder, but I cannot for the life of me figure out why I keep getting errors from the server.https://developer.box.com/guides/metadata/instances/update/#:~:text=To%20update%20the%20metadata%20to,data%20on%20the%20template%20instance.Using the link above, I have been trying to get the payload to match this exactly, but to no avail.I have tried using “PUT” to post the payload, but I receive an unsupported media type, if I wing it and put POST, it says it’s a bad request.I use POST to apply the template in question, and it works just fine, but I seem to be missing the connection between Powershell, PUT, and updating metadata via Box API.Does anyone have an example of a successful metadata update via powershell? For a folder, specifically.
Hello. I’m hoping someone can help with this…I am trying to set up an app, to support the migration of some files from Box to a different storage system.I’ve set up the app on the developer console and it is showing as ‘Pending authorisation’, waiting for our admin to approve.But I am the admin and I’ve not received any emails or contact about it.Any advice on how I can get authorised?Thank you!
Hello I need some help finding the email address value for a file uploaded from the embed widget in the API. I’m using Box.Sdk.Gen. Currently if a file is uploaded from the embedded widget, I cannot see fileUploadedBy (the value is null). Also, file.CreatedBy, and file.ModifiedBy are tracked with an ‘Anonymous User’ value. I can see the value displayed in the folder under the column ‘Updated’ on box.com. Can someone help me get to the field for the email address that submitted the file?
Hello.Uploading is subject to the following limits 240 file upload requests per minute, per userWhen a service account acts on behalf of an App-User in an application using JWT authentication, is this limit per service account or per App-User?A service account is trying to act on behalf of multiple App-User.I want to know if the rate limitation is per App-User or total of App-User.
Bubo Defense (www.bubodefense.com) announced a collaboration with Box Inc., the leading Intelligent Content Management platform, to transform work in the enterprise with generative AI. Box will now support key technologies provided by Bubo Defense, including mxHERO’s Mail2Cloud Intelligent Email Management (IEM) platform, to help customers achieve better results in digital content management, enterprise content security, and workflow automation. Together, we will create new AI-driven features that make it easier for customers to process and analyze data stored in Box’s Intelligent Content Cloud. Read the full story here: https://bubodefense.com/bubo-defense-announces-collaboration-with-box/
Let’s say i have a subfolder like parent/subfolder1/subfolder2. Is there any way i can use this relative path parent/subfolder1/subfolder2 in rest api for listing items under the folder? or to download a file under a folder parent/subfolder1/subfolder2/file1 ?
Is there a way to tell if a folder/file has been deleted from the /files/{file_id} endpoint? Should I be including a specific field in the fields query param to get this data? Was looking at the example API response and it looks like there’s a field called "trashed_at" that indicated when a folder was deleted but if it hasn’t been deleted will that field be null or not even be returned? Same for Groups/Users?
When displaying the attached image to users, I would like them to enter their Box-registered email address and password every time. How should I implement this?
We want to use hosted box file picker as followinghttps://app.box.com/index.php?rm=box_select_view&client_id=123&link_type=folder&multiselect=false&picker_id=uniquePickerIdFile selection works fine but we cannot select folders. Is there an option that we can use to enable folder selection as well?
We need to extract a full list of all folders in our Box repository for external security analysis. We thought using a query of NOT XXX might do so, but NOT seems to require a predecessor criteria, How can we use the API to return a full list of all folders even if we need to do multiple iterations?
Hello,I'm creating an user via .NET SDK (boxClient.Users.CreateUserAsync method) but user is being created with different email address. In the body request I'm setting email as <personal information-redacted> but in the result I'm getting something like "AppUser_2317968_daP2ZOIUIW@boxdeveditition.com". How I can create user with proper email address?Best regards,Damian Kochmański
I have problem about Access Token, I am trying to use Box API to upload file to box drive from other web, the problem is access tokens expire after 60min. And my app was built for normal User who don’t know how to get Access Token.Is there a work around about it ? Or is there anyway I can make that process to be automatic ?! My company have box drive Account paid version, Can that give me unexpired token !?
Hello,I am getting this error when I try to authorize using client id and secret client id : tulqzn7d3r33gqg90mblowikphufuo84It’s app access only and also the app is authorized.
I am trying to implement a particular functionality where i am trying to retrieve the download url of a file in one of the folders using box’s api.I have created a box application with OAuth 2.0 with JSON Web Tokens (Server Authentication).below mentioned is my application’s scope:Application AccessAll UsersApplication ScopesManage groups Manage retention policies Manage signature requests Read and write all files and folders stored in Box Manage app users Enable integrations Manage enterprise properties Manage users Manage Relay Admin can make calls on behalf of users Manage webhooks v2 Generate user access tokens I am using boxsdk python to write my functions / api’s. Below is my code snippet which mentions how my client is initialized and the api where i am facing the issue “Message: Access denied - insufficient permission”.user_to_impersonate = client.user(user_id='[USER_ID]')user_client = client.as_user(user_to_impersonate)def get_download_url(): """ API endpoint to get the
Hi All, we had a box developer sandbox created from enterprise admin user to integrate box sign service. we accidently deleted that that sandbox, we want to recover that because sandbox admin was not a enterprise user eg. myName+boxsign@companydomain.com within that sanbox/ admin user there is many important data, how can we recover that recently deleted sandbox. Any help is appreciated.
Hi community - we recently implemented Box GxP for Box Sign and we are used to having DocuSign send us the signing log as an appendix to the signed document itself. With Box Sign, the document is separated from the signing log though you can download the latter from clicking on the three dots inside the Box Sign details screen for the document. To that end, I want to know if there is a way to download the Box Sign log as an API call or somehow magic it so that both documents can be downloaded simultaneously. I don’t necessarily need them joined like DocuSign would do but I definitely need to be able to pull down that Box Signing log with each document. If it exists in the details screen, my assumption is there must be a way to retrieve it via the API. Any and all suggestions are welcome!! Nate
1. Data is available in reports but not via APIDespite being able to output data for events after December 13, 2024, using the BOX report feature, I am unable to retrieve the same data via the BOX API. The API consistently returns only events up to December 13, 2024. Could you help clarify why this is happening and how to resolve it?2. Scheduled executions do not save data after December 13When I set up scheduled executions of my script to fetch event data, no events after December 13, 2024, are saved in my system. Could you explain why the API is not retrieving or saving these events during automated runs, even though the data exists in the reports? // Function to fetch events from BOX API using the current stream_positionfunction fetchBoxEvents() { const sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet(); const scriptProperties = PropertiesService.getScriptProperties(); const accessToken = scriptProperties.getProperty("BOX_ACCESS_TOKEN"); if (!accessToken) { Logger
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.