-
Recently active
For the search interface, Search for content - API Reference - Box Developer DocumentationI am wondering how to know the folder layers from the response. I see there is a property named Path_Collection, which seems has all folder names, but the sequence_id property is always 0 or null. How can we know which is the direct parent folder, which is the second level? Can we relay on the item sequence of the collection? For example, for below response, can we consider the folder path is All Files/B/A ? "path_collection": { "total_count": 4, "entries": [ { "type": "folder", "id": "0", "sequence_id": null, "etag": null, "name": "All Files" }, { "type": "folder", "id": "230155851619", "sequence_id": "0",
I have tick all the permissions from App Console but still not able to update collaborator role from co-owner to owner of a user(Member not admin,co-admin) I am using PUT method /collaborations/{collaboration_id}\
Can anyone suggest the latest way to get shared file Download url? I got next js 13 with react 18 project . There is no JS SDK currently so using CDN v21.0.0. I need to get picked file download url from the file picker window and send it to the Back End to be downloaded there and fetch it then from different endpoint to my project. Thanks.
Hello,I tried to use box webhooks to catch a new collaboration acceptation after having created it with box API. I notice that it works perfectly when the account already exists for this new collaboration on a folder. But if the account doesn't exist, there is no trigger on "COLLABORATION.ACCEPTED".I’m looking for a solution for the webhook to let me know when a user creates his box account and accept the collaboration at the same time.Thanks a lot.Christophe
Hi, I want to set up a webhook or event detection whenever we request signature via Docusign on a Box file.We are using the Docusign integration where you can click into a PDF file, open up the Activity Sidebar, and then click on “Send with Docusign”. I’ve attached a screenshot below displaying how we are currently doing this. Anytime this happens, I would like for a Box Webhook or the Events API to detect this event.
Hi everyone,I'm seeking assistance with configuring a Box application to retrieve files from a specific folder using their API. I have an admin account on Box.com where the files reside.My goal is to achieve this using Client Credentials Grant authentication. However, when I create a new app in the Developer Console, it requires authorization before I can obtain an access token.Here's the challenge: I want to deploy a script on my WordPress website that automatically downloads a file daily from the Box folder and utilizes it for specific tasks. However, the Developer Console currently identifies me as an admin, not a developer. This restricts my app from accessing the files via API.Previous Attempt:I tried creating a separate developer account and adding it as a collaborator to the main (admin) account. This allowed me to verify and authorize the app, obtaining an access token. However, I'm concerned that a developer account wouldn't grant access to the specific files within the folder
Hello community, Need your help i’m always getting this error when hitting that api
Previously, the Get Box Sign request by ID endpoint at https://api.box.com/2.0/sign_requests/**:sign_request_id** would return a filled in document_tag_id if one existed, as shown at https://developer.box.com/reference/get-sign-requests-id/ e.g. "inputs": [ { "document_tag_id": "1234", "text_value": "text", "checkbox_value": true, "date_value": "2021-04-26", "type": "text", "content_type": "signature", "page_index": 4, "read_only": true } However, now document_tag_id is always null for all inputs on sign requests made June 13th and after. Prior to that (June 12th and before) those requests seem to be functioning correctly still and returning document_tag_id as expected. My assumption would be this is just a bug that was introduced in the API endpoint? Expected behavior: document_tag_id is not null Actual: document_tag_id is null
I’ve integrated box with my dotnet application, I’ve created folder via our application in box and after uploaded few files in the particular folder. After I tried to search that specific file with file name and parent folder id it returning empty result at the time of file uploaded, after few minutes(around 5-10 minutes) later when we try with the same API call, it bring the expected results. Please find the used code in below and suggest or share your thoughts. Client.SearchManager.QueryAsync( fileName, ancestorFolderIds: new List<string>() { parentFolderId }, fields: new[] { "id,name,type,path_collection,size,created_at,modified_at" }, limit: 30)
Hello I am Using Box Search API and Also Try To Search With dll When I Give the Search Keyword “disposition” In response I Get the files Which contain “disposition” in file name and file content.But ,Here i also get files Which Contain Different Keyword “dispositive” and “disposal”Hello ,Box Team Can You explain me this ?and i also try with Exact Match using operator “disposition” but return same result.
I am currently developing an application using the Box Sign API and encountering a persistent 404 Not Found error when attempting to create a sign request. Here are the details of the issue: API Endpoint: URL: https://api.box.com/2.0/sign_requests HTTP Method: POST Access Token: Full-authorization Payload Sent: { "signers": [ { "role": "signer", "email": "<personal email-redacted>" } ], "source_files": [ { "type": "file", "id": "1611107706949" } ], "parent_folder": { "type": "folder", "id": "278098710623" }, "is_document_preparation_needed": true } Response Received: { "type": "error", "code": "not_found", "status": 404, "message": "Not found", "help_url": "https://developer.box.com/guides/api-calls/permissions-and-errors/common-errors/", "request_id": "0e33bee75ee29cf32c3c2aefc0b0b7adb", "context_info": { "
Hi -We have a JWT service account that was used more than 1 1/2 year and that stopped working.Auth token generates but can't connect to shared folder with our client. Getting follow error message.{"type":"error","status":404,"code":"not_found","context_info":{"errors":[{"reason":"invalid_parameter","name":"parent","message":"Invalid value 'd_XXXXXXXX'. 'parent' with value 'd_XXXXXXXX' not found"}]},"help_url":"http:\/\/developers.box.com\/docs\/#errors","message":"Not Found","request_id":"----"}Out client have shared the folder again with service account (AutomationUser_XXXXX_XXXXX@boxdevedition.com). But it seems service account needs to accept the shared folder invite. Not sure how to accept the invite.Would you be able to assist please?
I’d like to apply a metadata template from another enterprise (let’s call it Enterprise B) to files from my enterprise (Enterprise A). When I attempt to do so via the Box API, I receive 403 Forbidden. I’ve tried a number of variations, to get an idea of what responses I can expect: If Enterprise B doesn’t exist - 400 Bad Request, Invalid metadata scope. If Enterprise B does exist but the metadata template does not - 404 Not Found, Specified Metadata Template not found. If Enterprise B does exist and the metadata template does exist - 403 Forbidden. I suspect that the user making the call needs permissions that they don’t have, but it’s not clear to me what permissions that user needs - there don’t appear to be any permissions specific to metadata. What must I do to allow a user from Enterprise A to apply a metadata template from Enterprise B to files in Enterprise A?
I am Searching For File Which Have Keyword “Disposition” I am Getting the Files Which have Keyword “Disposition” But Getting files Which Have Keyword “Dispositive” Which is not appropriate or match the keyword .Check This For Reference..
I know that calls to api.box.com count against an API limit of 50k to 100k calls. Do requests to `dl.boxcloud.com` count against that limit as well? e.g., if I call `https://api.box.com/2.0/files/:file_id/content`, is that two chargeable requests counting the redirect, or one?
Hi,At this time, there appears to be no way to search for managed users by email alias.So if I want to find a user by email alias, I have to get all users and check each user's email alias one by one, which requires a lot of API calls.To reduce unnecessary API calls, could you provide an API endpoint to search for users by email alias?Akihiko
I'm seeing an error when moving folders between different owners.The request contents and response are as follows.It has been pointed out that a new owner should be specified, but how should I specify it?Request:PUT: https://api.box.com/2.0/folders/277094708559raw body:{ “parent”: { “owned_by”:{“id”:“34690427263”}, “id”:“277094005474” }} Response:{ “type”:“error”, “status”:400, “code”:“cannot_make_collaborated_subfolder_private”, “help_url”:“http://developers.box.com/docs/#errors”, “message”:“Cannot move a collaborated subfolder to a private folder unless the new owner is explicitly specified”, “request_id”:“cajrjnhs2ugc7ixz”}
Hi,I am generating a token following the tutorial for JWTs (grant_type: "urn:ietf:params:oauth:grant-type:jwt-bearer"). The API does return an access token, and it does work, but it doesn't seem to have the structure of a JWT (3 sections separated by dots...).I am requesting it using a RSA key pair to sign the request.I wonder if the tokens are encoded in a particular way, encrypted, or it is just an access token and not really a JWT.Thanks!
Hello, I hope this email finds you well. I am writing to inquire about the status of my custom app Auth 2.0, which was submitted for approval on 27th June. It appears to still be under review. Could you kindly provide an update on when it is expected to be approved?
I use Claris FileMaker to upload a file via https://upload.box.com/api/2.0/files/contentI use following cURL: "--location --header \"Content-Type: multipart/form-data\" --header \"Authorization: Bearer XXX\" --form \"attributes=@$JSON\" --form \"file=@$Fil\" -D $header"I get HTTP/1.1 400 Bad Request with this in return: {"code":"bad_request","help_url":"http://developers.box.com/docs/#errors","status":400,"message":”API upload contained multiple file parts","type":"error"}I dont see any info on “API upload contained multiple file parts” in the link, or on the web. Someone knows what it mean and how to solve it?
Hello Box Developer Community, I hope this message finds you well. I am currently experiencing an issue with the Box UI Element’s Content Preview feature in our application. We are using this feature to preview PDFs, but we have noticed that the preview becomes unavailable after approximately 10 to 15 minutes. We have confirmed that this issue also occurs in the official documentation, where the preview times out after the same duration. We are seeking a solution to prevent this from happening without requiring our users to clear their cache. Additionally, we have identified that URLs from the domain dl.boxcloud.com, which are provided by Box for downloading, expire after 15 minutes. We suspect this might be related to the issue we are experiencing with the content preview timing out. Could anyone confirm if this expiration is affecting the preview functionality and provide guidance on how to handle it? Here are a few considerations and questions we have: Session Expiration: It seems
Good morning, I have a long running process that starts by reading the directory contents of between 70k + 700k files, when running the process on a very small set of data, it works 100%, on my side of the process it then runs a series of ‘things’ on that data, then generates a metadata template and stamps it on the file. This works 100% until, what I think is, the token becoming stale/invalid/expired. I say this because if this process runs for like 4-6hrs, nothing. It works perfect, but around 24hr, when i stamp the template i get 401 errors. So the first thing i did (my program is in Rust) is re-build my auth before stamping the templates. Example Code: let client = Client::builder().build().unwrap(); let params = [ (“client_id”, “”), (“client_secret”, “”), (“grant_type”, “client_credentials”), (“box_subject_type”, “enterprise”), (“box_subject_id”, “534608”), ]; //Get client token let response = client .post(“https://api.box.com/oauth2/token”) .form(&params) .send() .await .un
Hi Box Team I have a Box business account that has a monitoring system in place to track which files are being downloaded by each user. I would like to exclude a specific user (identified by their user ID or email address) from this monitoring system. Is there a manual process within the Box admin console to achieve this? Or is it possible to do this programmatically via the Box API? Please provide the steps for both the manual process and the API method, if available. I want to understand how to selectively skip monitoring for a single user while keeping it enabled for all other users. Let me know if you need any clarification on the question. I appreciate you taking the time to provide a detailed response on how to accomplish this in Box. Thanks
hi,everyone the api : List enterprise users is not work from yesterday. the api is ok before yesterday .why and how to it work? I want to get user id by login email. API link: developer.box.com List enterprise users - API Reference - Box Developer Documentation Explore the Box APIs and SDKs to use for app development, API documentation, developer support resources, and access the Box Developer Console
Question about the Collaboration Limit Is the maximum number of collaborators that can be invited to a file 500 people? When trying to invite collaborators with 500 already present, the following response is returned: Unexpected API Response [403 Forbidden | xxxx ] access_denied_insufficient_permissions - Access denied - insufficient permission I have confirmed that more than 1000 people can be invited to a folder, but is there a limit on the number of collaborators that can be invited to a folder?
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.