Box

Learn how to use Box with Composio

Overview

Enum

BOX

Description

Cloud content management and file sharing service for businesses.

Authentication Details

client_id
stringRequired
client_secret
stringRequired
oauth_redirect_uri
stringDefaults to https://backend.composio.dev/api/v1/auth-apps/add
scopes
string
base_url
stringDefaults to https://api.box.com/2.0

Actions

Retrieves a thumbnail, or smaller image representation, of a file. sizes of 32x32,64x64, 128x128, and 256x256 can be returned in the .png format and sizes of 32x32, 160x160, and 320x320 can be returned in the .jpg format. thumbnails can be generated for the image and video file formats listed [found on our community site][1]. [1]: https://community.box.com/t5/migrating-and-previewing-content/file-types-and-fonts-supported-in-box-content-preview/ta-p/327

Action Parameters

file_id
stringRequired
extension
stringRequired
min_height
integer
min_width
integer
max_height
integer
max_width
integer

Action Response

data
object
successful
boolean
error

Lists teams integration mappings in a users’ enterprise. you need admin or co-admin role to use this endpoint.

Action Parameters

partner_item_type
string
partner_item_id
string
box_item_id
string
box_item_type
string

Action Response

data
object
successful
boolean
error

Retrieves information about a task assignment.

Action Parameters

task_assignment_id
stringRequired

Action Response

data
object
successful
boolean
error

Adds a comment by the user to a specific file, or as a reply to an other comment.

Action Parameters

fields
array
message
stringRequired
tagged_message
string
item__id
string
item__type
string

Action Response

data
object
successful
boolean
error

Permanently deletes a file that is in the trash. this action cannot be undone.

Action Parameters

file_id
stringRequired

Action Response

data
object
successful
boolean
error

Removes the watermark from a file.

Action Parameters

file_id
stringRequired

Action Response

data
object
successful
boolean
error

Deletes an individual device pin.

Action Parameters

device_pinner_id
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves shield information barrier segment based on provided id..

Action Parameters

shield_information_barrier_segment_id
stringRequired

Action Response

data
object
successful
boolean
error

Creates a single task on a file. this task is not assigned to any user and will need to be assigned separately.

Action Parameters

item__id
string
item__type
string
action
stringDefaults to review
message
string
due_at
string
completion_rule
stringDefaults to all_assignees

Action Response

data
object
successful
boolean
error

Retrieves the files and/or folders contained within this collection.

Action Parameters

collection_id
stringRequired
fields
array
offset
integer
limit
integer

Action Response

data
object
successful
boolean
error

Creates a teams integration mapping by mapping a teams channel to a box item. you need admin or co-admin role to use this endpoint.

Action Parameters

Action Response

data
object
successful
boolean
error

Creates an ai agent. at least one of the following capabilities must be provided: ask, text gen, extract.

Action Parameters

type
stringRequired
name
stringRequired
access_state
stringRequired
icon_reference
string
allowed_entities
array
ask__type
string
ask__access__state
string
ask__description
string
ask__custom__instructions
string
text__gen__type
string
text__gen__access__state
string
text__gen__description
string
text__gen__custom__instructions
string
extract__type
string
extract__access__state
string
extract__description
string
extract__custom__instructions
string

Action Response

data
object
successful
boolean
error

Removes a domain from the list of domains that have been deemed safe to create collaborations for within the current enterprise.

Action Parameters

collaboration_whitelist_entry_id
stringRequired

Action Response

data
object
successful
boolean
error

Sends an ai request to supported large language models (llms) and returns extracted metadata as a set of key-value pairs. for this request, you either need a metadata template or a list of fields you want to extract. input is either a metadata template or a list of fields to ensure the structure. to learn more about creating templates, see creating metadata templates in the admin console or use the metadata template api.

Action Parameters

items
arrayRequired
metadata__template__template__key
string
metadata__template__type
string
metadata__template__scope
string
fields
array

Action Response

data
object
successful
boolean
error

Retrieves a folder that has been moved to the trash. please note that only if the folder itself has been moved to the trash can it be retrieved with this api call. if instead one of its parent folders was moved to the trash, only that folder can be inspected using the [get /folders/:id/trash](e://get folders id trash) api. to list all items that have been moved to the trash, please use the get /folders/trash/items api.

Action Parameters

folder_id
stringRequired
fields
array

Action Response

data
object
successful
boolean
error

Fetches a specific storage policy.

Action Parameters

storage_policy_id
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves a page of items in a folder. these items can be files, folders, and web links. to request more information about the folder itself, like its size, use the get a folder endpoint instead.

Action Parameters

folder_id
stringRequired
fields
array
usemarker
boolean
marker
string
offset
integer
limit
integer
sort
string
direction
string

Action Response

data
object
successful
boolean
error

Lists all of the assignments for a given task.

Action Parameters

task_id
stringRequired

Action Response

data
object
successful
boolean
error

Creates a copy of a file.

Action Parameters

file_id
stringRequired
fields
array
name
string
version
string
parent__id
string

Action Response

data
object
successful
boolean
error

Updates a task. this can be used to update a task’s configuration, or to update its completion state.

Action Parameters

task_id
stringRequired
action
string
message
string
due_at
string
completion_rule
string

Action Response

data
object
successful
boolean
error

Updates a teams integration mapping. supports updating the box folder id and options. you need admin or co-admin role to use this endpoint.

Action Parameters

integration_mapping_id
stringRequired

Action Response

data
object
successful
boolean
error

Returns information about a file version retention. note: file retention api is now deprecated. to get information about files and file versions under retention, see files under retention or file versions under retention endpoints.

Action Parameters

file_version_retention_id
stringRequired

Action Response

data
object
successful
boolean
error

Creates a shield information barrier segment restriction object.

Action Parameters

type
stringRequired
shield__information__barrier__id
string
shield__information__barrier__type
string
shield__information__barrier__segment__id
string
shield__information__barrier__segment__type
string
restricted__segment__id
string
restricted__segment__type
string

Action Response

data
object
successful
boolean
error

Return a list of the chunks uploaded to the upload session so far. the actual endpoint url is returned by the create upload session and get upload session endpoints.

Action Parameters

upload_session_id
stringRequired
offset
integer
limit
integer

Action Response

data
object
successful
boolean
error

Retrieves the instance of a metadata template that has been applied to a file.

Action Parameters

file_id
stringRequired
scope
stringRequired
template_key
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves a shield information barrier report by its id.

Action Parameters

shield_information_barrier_report_id
stringRequired

Action Response

data
object
successful
boolean
error

Deletes a metadata cascade policy.

Action Parameters

metadata_cascade_policy_id
stringRequired

Action Response

data
object
successful
boolean
error

Validates the roles and permissions of the user, and creates asynchronous jobs to terminate the user’s sessions. returns the status for the post request.

Action Parameters

user_ids
arrayRequired
user_logins
arrayRequired

Action Response

data
object
successful
boolean
error

Retrieves a list of comments for a file.

Action Parameters

file_id
stringRequired
fields
array
limit
integer
offset
integer

Action Response

data
object
successful
boolean
error

Applies or update a watermark on a file.

Action Parameters

file_id
stringRequired
watermark__imprint
string

Action Response

data
object
successful
boolean
error

Used to retrieve all metadata templates created to be used specifically within the user’s enterprise

Action Parameters

marker
string
limit
integer

Action Response

data
object
successful
boolean
error

Copies an existing file request that is already present on one folder, and applies it to another folder.

Action Parameters

file_request_id
stringRequired

Action Response

data
object
successful
boolean
error

Retrieve a specific version of a file. versions are only tracked for box users with premium accounts.

Action Parameters

file_id
stringRequired
fields
array
file_version_id
stringRequired

Action Response

data
object
successful
boolean
error

this is a beta feature, which means that its availability might be limited. returns all app items the file is associated with. this includes app items associated with ancestors of the file. assuming the context user has access to the file, the type/ids are revealed even if the context user does not have view permission on the app item.

Action Parameters

file_id
stringRequired
limit
integer
marker
string
application_type
string

Action Response

data
object
successful
boolean
error

When an enterprise does not yet have any classifications, this api call initializes the classification template with an initial set of classifications. if an enterprise already has a classification, the template will already exist and instead an api call should be made to add additional classifications.

Action Parameters

scope
stringRequired
templateKey
stringRequired
displayName
stringRequired
hidden
boolean
copyInstanceOnItemCopy
boolean
fields
arrayRequired

Action Response

data
object
successful
boolean
error

Returns a list of files under retention for a retention policy assignment.

Action Parameters

retention_policy_assignment_id
stringRequired
marker
string
limit
integer

Action Response

data
object
successful
boolean
error

Deletes a webhook.

Action Parameters

webhook_id
stringRequired

Action Response

data
object
successful
boolean
error

Creates a new metadata cascade policy that applies a given metadata template to a given folder and automatically cascades it down to any files within that folder. in order for the policy to be applied a metadata instance must first be applied to the folder the policy is to be applied to.

Action Parameters

folder_id
stringRequired
scope
stringRequired
templateKey
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves a retention policy assignment

Action Parameters

retention_policy_assignment_id
stringRequired
fields
array

Action Response

data
object
successful
boolean
error

Delete a metadata template and its instances. this deletion is permanent and can not be reversed.

Action Parameters

scope
stringRequired
template_key
stringRequired

Action Response

data
object
successful
boolean
error

Refresh an access token using its client id, secret, and refresh token.

Action Parameters

grant_type
stringRequired
client_id
stringRequired
client_secret
stringRequired
refresh_token
stringRequired

Action Response

data
object
successful
boolean
error

Cancels a sign request.

Action Parameters

sign_request_id
stringRequired

Action Response

data
object
successful
boolean
error

Deletes a shield information barrier segment member based on provided id.

Action Parameters

shield_information_barrier_segment_member_id
stringRequired

Action Response

data
object
successful
boolean
error

Deletes a teams integration mapping. you need admin or co-admin role to use this endpoint.

Action Parameters

integration_mapping_id
stringRequired

Action Response

data
object
successful
boolean
error

Sets the status for a terms of service for a user.

Action Parameters

tos__type
string
tos__id
string
user__type
string
user__id
string
is_accepted
booleanRequired

Action Response

data
object
successful
boolean
error

Adds a collaboration for a single user or a single group to a file or folder. collaborations can be created using email address, user ids, or a group ids. if a collaboration is being created with a group, access to this endpoint is dependent on the group’s ability to be invited. if collaboration is in pending status, the following fields are redacted: - login and name are hidden if a collaboration was created using user id, - name is hidden if a collaboration was created using login.

Action Parameters

fields
array
notify
boolean
item__type
string
item__id
string
accessible__by__type
string
accessible__by__id
string
accessible__by__login
string
role
stringRequired
is_access_only
boolean
can_view_path
boolean
expires_at
string

Action Response

data
object
successful
boolean
error

Deletes a folder lock on a given folder. you must be authenticated as the owner or co-owner of the folder to use this endpoint.

Action Parameters

folder_lock_id
stringRequired

Action Response

data
object
successful
boolean
error

Returns a list of all retention policy assignments associated with a specified retention policy.

Action Parameters

retention_policy_id
stringRequired
type
string
fields
array
marker
string
limit
integer

Action Response

data
object
successful
boolean
error

Retrieves all collections for a given user. currently, only the favorites collection is supported.

Action Parameters

fields
array
offset
integer
limit
integer

Action Response

data
object
successful
boolean
error

Transfers ownership of a specific folder (with id 0) from one user to another in the box cloud storage system. this endpoint should be used when you need to change the owner of a user’s root folder, effectively transferring all of their content to another user. it’s particularly useful in scenarios such as employee offboarding or role transitions within an organization. the operation is irreversible, so it should be used with caution. note that this endpoint specifically targets the folder with id 0, which typically represents a user’s root folder in box.

Action Parameters

user_id
stringRequired
fields
array
notify
boolean
owned__by__id
string

Action Response

data
object
successful
boolean
error

Change status of shield information barrier with the specified id.

Action Parameters

id
stringRequired
status
stringRequired

Action Response

data
object
successful
boolean
error

Uploads a small file to box. for file sizes over 50mb we recommend using the chunk upload apis. the attributes part of the body must come before the file part. requests that do not follow this format when uploading the file will receive a http 400 error with a metadata after file contents error code.

Action Parameters

fields
array
attributes
object
file
object

Action Response

data
object
successful
boolean
error

Returns a users who has been exempt from the collaboration domain restrictions.

Action Parameters

collaboration_whitelist_exempt_target_id
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves all the device pins within an enterprise. the user must have admin privileges, and the application needs the “manage enterprise” scope to make this call.

Action Parameters

enterprise_id
stringRequired
marker
string
limit
integer
direction
string

Action Response

data
object
successful
boolean
error

Retrieves a list of all the metadata cascade policies that are applied to a given folder. this can not be used on the root folder with id 0.

Action Parameters

folder_id
stringRequired
owner_enterprise_id
string
marker
string
offset
integer

Action Response

data
object
successful
boolean
error

Returns a list of users who have been exempt from the collaboration domain restrictions.

Action Parameters

marker
string
limit
integer

Action Response

data
object
successful
boolean
error

Returns the contents of a file in binary format.

Action Parameters

file_id
stringRequired
version
string
access_token
string

Action Response

data
object
successful
boolean
error

Close an upload session and create a file from the uploaded chunks. the actual endpoint url is returned by the create upload session and get upload session endpoints.

Action Parameters

upload_session_id
stringRequired
parts
arrayRequired

Action Response

data
object
successful
boolean
error

Fetches all the storage policy assignment for an enterprise or user.

Action Parameters

marker
string
resolved_for_type
stringRequired
resolved_for_id
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves an overview of users and their status for a terms of service, including whether they have accepted the terms and when.

Action Parameters

tos_id
stringRequired
user_id
string

Action Response

data
object
successful
boolean
error

Retrieves a single collaboration.

Action Parameters

collaboration_id
stringRequired
fields
array

Action Response

data
object
successful
boolean
error

Updates a file request. this can be used to activate or deactivate a file request.

Action Parameters

file_request_id
stringRequired
title
string
description
string
status
string
is_email_required
boolean
is_description_required
boolean
expires_at
string

Action Response

data
object
successful
boolean
error

Fetches a specific storage policy assignment.

Action Parameters

storage_policy_assignment_id
stringRequired

Action Response

data
object
successful
boolean
error

Retrieve the watermark for a file.

Action Parameters

file_id
stringRequired

Action Response

data
object
successful
boolean
error

Delete a storage policy assignment. deleting a storage policy assignment on a user will have the user inherit the enterprise’s default storage policy. there is a rate limit for calling this endpoint of only twice per user in a 24 hour time frame.

Action Parameters

storage_policy_assignment_id
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves the classification metadata template and lists all the classifications available to this enterprise. this api can also be called by including the enterprise id in the url explicitly, for example /metadata templates/enterprise 12345/securityclassification-6vmvochwuwo/schema.

Action Parameters

Action Response

data
object
successful
boolean
error

Retrieves information about a user in the enterprise. the application and the authenticated user need to have the permission to look up users in the entire enterprise. this endpoint also returns a limited set of information for external users who are collaborated on content owned by the enterprise for authenticated users with the right scopes. in this case, disallowed fields will return null instead.

Action Parameters

user_id
stringRequired
fields
array

Action Response

data
object
successful
boolean
error

Creates a new group of users in an enterprise. only users with admin permissions can create new groups.

Action Parameters

fields
array
name
stringRequired
provenance
string
external_sync_identifier
string
description
string
invitability_level
string
member_viewability_level
string

Action Response

data
object
successful
boolean
error

Deletes a user. by default this will fail if the user still owns any content. move their owned content first before proceeding, or use the force field to delete the user and their files.

Action Parameters

user_id
stringRequired
notify
boolean
force
boolean

Action Response

data
object
successful
boolean
error

Returns information about the recent items accessed by a user, either in the last 90 days or up to the last 1000 items accessed.

Action Parameters

fields
array
limit
integer
marker
string

Action Response

data
object
successful
boolean
error

Applies an instance of a metadata template to a folder. in most cases only values that are present in the metadata template will be accepted, except for the global.properties template which accepts any key-value pair. to display the metadata template in the box web app the enterprise needs to be configured to enable cascading folder level metadata for the user in the admin console.

Action Parameters

folder_id
stringRequired
scope
stringRequired
template_key
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves a list of pending and active collaborations for a folder. this returns all the users that have access to the folder or have been invited to the folder.

Action Parameters

folder_id
stringRequired
fields
array
limit
integer
marker
string

Action Response

data
object
successful
boolean
error

Lists ai agents based on the provided parameters.

Action Parameters

mode
array
fields
array
agent_state
array
include_box_default
boolean
marker
string
limit
integer

Action Response

data
object
successful
boolean
error

Update a file’s content. for file sizes over 50mb we recommend using the chunk upload apis. the attributes part of the body must come before the file part. requests that do not follow this format when uploading the file will receive a http 400 error with a metadata after file contents error code.

Action Parameters

file_id
stringRequired
fields
array
attributes
object
file
object

Action Response

data
object
successful
boolean
error

Retrieves the information about a file request.

Action Parameters

file_request_id
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves a collection by its id.

Action Parameters

collection_id
stringRequired

Action Response

data
object
successful
boolean
error

Create a search using sql-like syntax to return items that match specific metadata. by default, this endpoint returns only the most basic info about the items for which the query matches. to get additional fields for each item, including any of the metadata, use the fields attribute in the query.

Action Parameters

from
stringRequired
query
string
query_params
object
ancestor_folder_id
stringRequired
order_by
array
limit
integerDefaults to 100
marker
string
fields
array

Action Response

data
object
successful
boolean
error

Retrieve a list of the past versions for a file. versions are only tracked by box users with premium accounts. to fetch the id of the current version of a file, use the get /file/:id api.

Action Parameters

file_id
stringRequired
fields
array
limit
integer
offset
integer

Action Response

data
object
successful
boolean
error

Used to retrieve all generic, global metadata templates available to all enterprises using box.

Action Parameters

marker
string
limit
integer

Action Response

data
object
successful
boolean
error

Creates a webhook.

Action Parameters

target__id
string
target__type
string
address
stringRequired
triggers
arrayRequired

Action Response

data
object
successful
boolean
error

Retrieves a specific webhook

Action Parameters

webhook_id
stringRequired

Action Response

data
object
successful
boolean
error

Creates a group membership. only users with admin-level permissions will be able to use this api.

Action Parameters

fields
array
user__id
string
group__id
string
role
string
configurable_permissions
object

Action Response

data
object
successful
boolean
error

Retrieves all of the retention policies for an enterprise.

Action Parameters

policy_name
string
policy_type
string
created_by_user_id
string
fields
array
limit
integer
marker
string

Action Response

data
object
successful
boolean
error

Permanently deletes a comment.

Action Parameters

comment_id
stringRequired

Action Response

data
object
successful
boolean
error

Assigns a retention policy to an item.

Action Parameters

policy_id
stringRequired
assign__to__type
string
assign__to__id
string
filter_fields
array
start_date_field
string

Action Response

data
object
successful
boolean
error

Returns the current terms of service text and settings for the enterprise.

Action Parameters

tos_type
string

Action Response

data
object
successful
boolean
error

Retrieves a metadata template by its id.

Action Parameters

template_id
stringRequired

Action Response

data
object
successful
boolean
error

Restores a specific version of a file after it was deleted. don’t use this endpoint to restore box notes, as it works with file formats such as pdf, doc, pptx or similar.

Action Parameters

file_id
stringRequired
file_version_id
stringRequired
trashed_at
string

Action Response

data
object
successful
boolean
error

Permanently deletes a folder that is in the trash. this action cannot be undone.

Action Parameters

folder_id
stringRequired

Action Response

data
object
successful
boolean
error

Permanently deletes a group. only users with admin-level permissions will be able to use this api.

Action Parameters

group_id
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves the instance of a metadata template that has been applied to a folder. this can not be used on the root folder with id 0.

Action Parameters

folder_id
stringRequired
scope
stringRequired
template_key
stringRequired

Action Response

data
object
successful
boolean
error

Deletes a piece of file metadata.

Action Parameters

file_id
stringRequired
scope
stringRequired
template_key
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves a file that has been moved to the trash. please note that only if the file itself has been moved to the trash can it be retrieved with this api call. if instead one of its parent folders was moved to the trash, only that folder can be inspected using the [get /folders/:id/trash](e://get folders id trash) api. to list all items that have been moved to the trash, please use the get /folders/trash/items api.

Action Parameters

file_id
stringRequired
fields
array

Action Response

data
object
successful
boolean
error

Exempts a user from the restrictions set out by the allowed list of domains for collaborations.

Action Parameters

user__id
string

Action Response

data
object
successful
boolean
error

Retrieves all file version retentions for the given enterprise. note: file retention api is now deprecated. to get information about files and file versions under retention, see files under retention or file versions under retention endpoints.

Action Parameters

file_id
string
file_version_id
string
policy_id
string
disposition_action
string
disposition_before
string
disposition_after
string
limit
integer
marker
string

Action Response

data
object
successful
boolean
error

Revoke an active access token, effectively logging a user out that has been previously authenticated.

Action Parameters

client_id
string
client_secret
string
token
string

Action Response

data
object
successful
boolean
error

Retrieves the details about a file.

Action Parameters

file_id
stringRequired
fields
array

Action Response

data
object
successful
boolean
error

Updates a managed or app user in an enterprise. this endpoint is only available to users and applications with the right admin permissions.

Action Parameters

user_id
stringRequired
fields
array
enterprise
string
notify
boolean
name
string
login
string
role
string
language
string
is_sync_enabled
boolean
job_title
string
phone
string
address
string
tracking_codes
array
can_see_managed_users
boolean
timezone
string
is_external_collab_restricted
boolean
is_exempt_from_device_limits
boolean
is_exempt_from_login_verification
boolean
is_password_reset_required
boolean
status
string
space_amount
integer
notification__email__email
string
external_app_user_id
string

Action Response

data
object
successful
boolean
error

Updates a collaboration. can be used to change the owner of an item, or to accept collaboration invites.

Action Parameters

collaboration_id
stringRequired
role
stringRequired
status
string
expires_at
string
can_view_path
boolean

Action Response

data
object
successful
boolean
error

Deletes a file request permanently.

Action Parameters

file_request_id
stringRequired

Action Response

data
object
successful
boolean
error

Updates a webhook.

Action Parameters

webhook_id
stringRequired
target__id
string
target__type
string
address
string
triggers
array

Action Response

data
object
successful
boolean
error

Creates an upload session for an existing file.

Action Parameters

file_id
stringRequired
file_size
integerRequired
file_name
string

Action Response

data
object
successful
boolean
error

Returns the contents of a zip archive in binary format. this url does not require any form of authentication and could be used in a user’s browser to download the archive to a user’s device. by default, this url is only valid for a few seconds from the creation of the request for this archive. once a download has started it can not be stopped and resumed, instead a new request for a zip archive would need to be created. the url of this endpoint should not be considered as fixed. instead, use the [create zip download](e://post zip downloads) api to request to create a zip archive, and then follow the download url field in the response to this endpoint.

Action Parameters

zip_download_id
stringRequired

Action Response

data
object
successful
boolean
error

Returns all defined webhooks for the requesting application. this api only returns webhooks that are applied to files or folders that are owned by the authenticated user. this means that an admin can not see webhooks created by a service account unless the admin has access to those folders, and vice versa.

Action Parameters

marker
string
limit
integer

Action Response

data
object
successful
boolean
error

Returns the download status of a zip archive, allowing an application to inspect the progress of the download as well as the number of items that might have been skipped. this endpoint can only be accessed once the download has started. subsequently this endpoint is valid for 12 hours from the start of the download. the url of this endpoint should not be considered as fixed. instead, use the [create zip download](e://post zip downloads) api to request to create a zip archive, and then follow the status url field in the response to this endpoint.

Action Parameters

zip_download_id
stringRequired

Action Response

data
object
successful
boolean
error

Gets an ai agent using the agent id parameter.

Action Parameters

agent_id
stringRequired
fields
array

Action Response

data
object
successful
boolean
error

Deletes a folder, either permanently or by moving it to the trash.

Action Parameters

folder_id
stringRequired
recursive
boolean

Action Response

data
object
successful
boolean
error

Adds or updates a user avatar.

Action Parameters

user_id
stringRequired
pic
object

Action Response

data
object
successful
boolean
error

Retrieves a specific group membership. only admins of this group or users with admin-level permissions will be able to use this api.

Action Parameters

group_membership_id
stringRequired
fields
array

Action Response

data
object
successful
boolean
error

Creates a new managed user in an enterprise. this endpoint is only available to users and applications with the right admin permissions.

Action Parameters

fields
array
name
stringRequired
login
string
is_platform_access_only
boolean
role
string
language
string
is_sync_enabled
boolean
job_title
string
phone
string
address
string
space_amount
integer
tracking_codes
array
can_see_managed_users
boolean
timezone
string
is_external_collab_restricted
boolean
is_exempt_from_device_limits
boolean
is_exempt_from_login_verification
boolean
status
string
external_app_user_id
string

Action Response

data
object
successful
boolean
error

Updates a retention policy.

Action Parameters

retention_policy_id
stringRequired
policy_name
string
description
string
disposition_action
string
retention_type
string
retention_length
string
status
string
can_owner_extend_retention
boolean
are_owners_notified
boolean
custom_notification_recipients
array

Action Response

data
object
successful
boolean
error

Applies or update a watermark on a folder.

Action Parameters

folder_id
stringRequired
watermark__imprint
string

Action Response

data
object
successful
boolean
error

Request an access token using either a client-side obtained oauth 2.0 authorization code or a server-side jwt assertion. an access token is a string that enables box to verify that a request belongs to an authorized session. in the normal order of operations you will begin by requesting authentication from the authorize endpoint and box will send you an authorization code. you will then send this code to this endpoint to exchange it for an access token. the returned access token can then be used to to make box api calls.

Action Parameters

grant_type
stringRequired
client_id
string
client_secret
string
code
string
refresh_token
string
assertion
string
subject_token
string
subject_token_type
string
actor_token
string
actor_token_type
string
scope
string
resource
string
box_subject_type
string
box_subject_id
string
box_shared_link
string

Action Response

data
object
successful
boolean
error

Creates an upload session for a new file.

Action Parameters

folder_id
stringRequired
file_size
integerRequired
file_name
stringRequired

Action Response

data
object
successful
boolean
error

Returns a list of file versions under retention for a retention policy assignment.

Action Parameters

retention_policy_assignment_id
stringRequired
marker
string
limit
integer

Action Response

data
object
successful
boolean
error

An alternative method that can be used to overwrite and update all box skill metadata cards on a file.

Action Parameters

skill_id
stringRequired
status
stringRequired
metadata__cards
array
file__type
string
file__id
string
file__version__type
string
file__version__id
string
usage__unit
string
usage__value
integer

Action Response

data
object
successful
boolean
error

Searches for files, folders, web links, and shared files across the users content or across the entire enterprise.

Action Parameters

query
string
scope
stringDefaults to user_content
file_extensions
array
created_at_range
array
updated_at_range
array
size_range
array
owner_user_ids
array
recent_updater_user_ids
array
ancestor_folder_ids
array
content_types
array
type
string
trash_content
stringDefaults to non_trashed_only
mdfilters
array
sort
stringDefaults to relevance
direction
stringDefaults to DESC
limit
integerDefaults to 30
include_recent_shared_links
boolean
fields
array
offset
integer
deleted_user_ids
array
deleted_at_range
array

Action Response

data
object
successful
boolean
error

Updates a slack integration mapping. supports updating the box folder id and options. you need admin or co-admin role to use this endpoint.

Action Parameters

integration_mapping_id
stringRequired

Action Response

data
object
successful
boolean
error

Creates a storage policy assignment for an enterprise or user.

Action Parameters

storage__policy__type
string
storage__policy__id
string
assigned__to__type
string
assigned__to__id
string

Action Response

data
object
successful
boolean
error

Updates the status for a terms of service for a user.

Action Parameters

terms_of_service_user_status_id
stringRequired
is_accepted
booleanRequired

Action Response

data
object
successful
boolean
error

Gets box sign templates created by a user.

Action Parameters

marker
string
limit
integer

Action Response

data
object
successful
boolean
error

Lists shield information barrier segment restrictions based on provided segment id.

Action Parameters

shield_information_barrier_segment_id
stringRequired
marker
string
limit
integer

Action Response

data
object
successful
boolean
error

Retrieves a list of pending and active collaborations for a file. this returns all the users that have access to the file or have been invited to the file.

Action Parameters

file_id
stringRequired
fields
array
limit
integer
marker
string

Action Response

data
object
successful
boolean
error

this is a beta feature, which means that its availability might be limited. returns all app items the folder is associated with. this includes app items associated with ancestors of the folder. assuming the context user has access to the folder, the type/ids are revealed even if the context user does not have view permission on the app item.

Action Parameters

folder_id
stringRequired
limit
integer
marker
string
application_type
string

Action Response

data
object
successful
boolean
error

Retrieves all the collaborations for a group. the user must have admin permissions to inspect enterprise’s groups. each collaboration object has details on which files or folders the group has access to and with what role.

Action Parameters

group_id
stringRequired
limit
integer
offset
integer

Action Response

data
object
successful
boolean
error

Retrieves all the groups for a user. only members of this group or users with admin-level permissions will be able to use this api.

Action Parameters

user_id
stringRequired
limit
integer
offset
integer

Action Response

data
object
successful
boolean
error

Removes any classifications from a file. this api can also be called by including the enterprise id in the url explicitly, for example /files/:id//enterprise 12345/securityclassification-6vmvochwuwo.

Action Parameters

file_id
stringRequired

Action Response

data
object
successful
boolean
error

Performs a check to verify that a file will be accepted by box before you upload the entire file.

Action Parameters

name
string
size
integer

Action Response

data
object
successful
boolean
error

Retrieve the watermark for a folder.

Action Parameters

folder_id
stringRequired

Action Response

data
object
successful
boolean
error

Adds a classification to a file by specifying the label of the classification to add. this api can also be called by including the enterprise id in the url explicitly, for example /files/:id//enterprise 12345/securityclassification-6vmvochwuwo.

Action Parameters

file_id
stringRequired
Box__Security__Classification__Key
string

Action Response

data
object
successful
boolean
error

Fetches details of a specific box sign template.

Action Parameters

template_id
stringRequired

Action Response

data
object
successful
boolean
error

Deletes a single collaboration.

Action Parameters

collaboration_id
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves information about a specific task.

Action Parameters

task_id
stringRequired

Action Response

data
object
successful
boolean
error

Removes the watermark from a folder.

Action Parameters

folder_id
stringRequired

Action Response

data
object
successful
boolean
error

Permanently deletes a retention policy.

Action Parameters

retention_policy_id
stringRequired

Action Response

data
object
successful
boolean
error

Sends an ai request to supported large language models (llms) and returns generated text based on the provided prompt.

Action Parameters

prompt
stringRequired
items
arrayRequired
dialogue_history
array

Action Response

data
object
successful
boolean
error

Retrieves a list of shield information barrier objects for the enterprise of jwt.

Action Parameters

marker
string
limit
integer

Action Response

data
object
successful
boolean
error

Delete shield information barrier segment restriction based on provided id.

Action Parameters

shield_information_barrier_segment_restriction_id
stringRequired

Action Response

data
object
successful
boolean
error

Updates a task assignment. this endpoint can be used to update the state of a task assigned to a user.

Action Parameters

task_assignment_id
stringRequired
message
string
resolution_state
string

Action Response

data
object
successful
boolean
error

Retrieves the classification metadata instance that has been applied to a folder. this api can also be called by including the enterprise id in the url explicitly, for example /folders/:id/enterprise 12345/securityclassification-6vmvochwuwo.

Action Parameters

folder_id
stringRequired

Action Response

data
object
successful
boolean
error

Resends a signature request email to all outstanding signers.

Action Parameters

sign_request_id
stringRequired

Action Response

data
object
successful
boolean
error

Creates a new empty folder within the specified parent folder.

Action Parameters

fields
array
name
stringRequired
parent__id
string
sync_state
string

Action Response

data
object
successful
boolean
error

Fetches a specific terms of service.

Action Parameters

terms_of_service_id
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves information about an individual device pin.

Action Parameters

device_pinner_id
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves a shield information barrier segment member by its id.

Action Parameters

shield_information_barrier_segment_member_id
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves the classification metadata instance that has been applied to a file. this api can also be called by including the enterprise id in the url explicitly, for example /files/:id//enterprise 12345/securityclassification-6vmvochwuwo.

Action Parameters

file_id
stringRequired

Action Response

data
object
successful
boolean
error

Return information about an upload session. the actual endpoint url is returned by the create upload session endpoint.

Action Parameters

upload_session_id
stringRequired

Action Response

data
object
successful
boolean
error

Returns the list domains that have been deemed safe to create collaborations for within the current enterprise.

Action Parameters

marker
string
limit
integer

Action Response

data
object
successful
boolean
error

Applies an instance of a metadata template to a file. in most cases only values that are present in the metadata template will be accepted, except for the global.properties template which accepts any key-value pair.

Action Parameters

file_id
stringRequired
scope
stringRequired
template_key
stringRequired

Action Response

data
object
successful
boolean
error

Sends an ai request to supported large language models (llms) and extracts metadata in form of key-value pairs. in this request, both the prompt and the output can be freeform. metadata template setup before sending the request is not required.

Action Parameters

prompt
stringRequired
items
arrayRequired

Action Response

data
object
successful
boolean
error

Removes a retention policy assignment applied to content.

Action Parameters

retention_policy_assignment_id
stringRequired

Action Response

data
object
successful
boolean
error

Removes a task from a file.

Action Parameters

task_id
stringRequired

Action Response

data
object
successful
boolean
error

Lists shield information barrier segment members based on provided segment ids.

Action Parameters

shield_information_barrier_segment_id
stringRequired
marker
string
limit
integer

Action Response

data
object
successful
boolean
error

Deletes a specific task assignment.

Action Parameters

task_assignment_id
stringRequired

Action Response

data
object
successful
boolean
error

Assigns a task to a user. a task can be assigned to more than one user by creating multiple assignments.

Action Parameters

task__id
string
task__type
string
assign__to__id
string
assign__to__login
string

Action Response

data
object
successful
boolean
error

Retrieves folder lock details for a given folder. you must be authenticated as the owner or co-owner of the folder to use this endpoint.

Action Parameters

folder_id
stringRequired

Action Response

data
object
successful
boolean
error

Gets a sign request by id.

Action Parameters

sign_request_id
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves the files and folders that have been moved to the trash. any attribute in the full files or folders objects can be passed in with the fields parameter to retrieve those specific attributes that are not returned by default. this endpoint defaults to use offset-based pagination, yet also supports marker-based pagination using the marker parameter.

Action Parameters

fields
array
limit
integer
offset
integer
usemarker
boolean
marker
string
direction
string
sort
string

Action Response

data
object
successful
boolean
error

Restores a file that has been moved to the trash. an optional new parent id can be provided to restore the file to in case the original folder has been deleted.

Action Parameters

file_id
stringRequired
fields
array
name
string

Action Response

data
object
successful
boolean
error

Promote a specific version of a file. if previous versions exist, this method can be used to promote one of the older versions to the top of the version history. this creates a new copy of the old version and puts it at the top of the versions history. the file will have the exact same contents as the older version, with the the same hash digest, etag, and name as the original. other properties such as comments do not get updated to their former values. don’t use this endpoint to restore box notes, as it works with file formats such as pdf, doc, pptx or similar.

Action Parameters

file_id
stringRequired
fields
array
id
string
type
string

Action Response

data
object
successful
boolean
error

Lists slack integration mappings in a users’ enterprise. you need admin or co-admin role to use this endpoint.

Action Parameters

marker
string
limit
integer
partner_item_type
string
partner_item_id
string
box_item_id
string
box_item_type
string
is_manually_created
boolean

Action Response

data
object
successful
boolean
error

Creates a new entry in the list of allowed domains to allow collaboration for.

Action Parameters

domain
stringRequired
direction
stringRequired

Action Response

data
object
successful
boolean
error

Get shield information barrier based on provided id.

Action Parameters

shield_information_barrier_id
stringRequired

Action Response

data
object
successful
boolean
error

Force the metadata on a folder with a metadata cascade policy to be applied to all of its children. this can be used after creating a new cascade policy to enforce the metadata to be cascaded down to all existing files within that folder.

Action Parameters

metadata_cascade_policy_id
stringRequired
conflict_resolution
stringRequired

Action Response

data
object
successful
boolean
error

Adds a classification to a folder by specifying the label of the classification to add. this api can also be called by including the enterprise id in the url explicitly, for example /folders/:id/enterprise 12345/securityclassification-6vmvochwuwo.

Action Parameters

folder_id
stringRequired
Box__Security__Classification__Key
string

Action Response

data
object
successful
boolean
error

Updates a user’s group membership. only admins of this group or users with admin-level permissions will be able to use this api.

Action Parameters

group_membership_id
stringRequired
fields
array
role
string
configurable_permissions
object

Action Response

data
object
successful
boolean
error

Uploads a chunk of a file for an upload session. the actual endpoint url is returned by the create upload session and get upload session endpoints.

Action Parameters

upload_session_id
stringRequired
file
object

Action Response

data
object
successful
boolean
error

Retrieves a metadata template by its scope and templatekey values. to find the scope and templatekey for a template, list all templates for an enterprise or globally, or list all templates applied to a file or folder.

Action Parameters

scope
stringRequired
template_key
stringRequired

Action Response

data
object
successful
boolean
error

Returns a list of all users for the enterprise along with their user id, public name, and login. the application and the authenticated user need to have the permission to look up users in the entire enterprise.

Action Parameters

filter_term
string
user_type
string
external_app_user_id
string
fields
array
offset
integer
limit
integer
usemarker
boolean
marker
string

Action Response

data
object
successful
boolean
error

Retrieves all of the groups for a given enterprise. the user must have admin permissions to inspect enterprise’s groups.

Action Parameters

filter_term
string
fields
array
limit
integer
offset
integer

Action Response

data
object
successful
boolean
error

Creates a slack integration mapping by mapping a slack channel to a box item. you need admin or co-admin role to use this endpoint.

Action Parameters

Action Response

data
object
successful
boolean
error

Deletes a piece of folder metadata.

Action Parameters

folder_id
stringRequired
scope
stringRequired
template_key
stringRequired

Action Response

data
object
successful
boolean
error

Updates a specific group. only admins of this group or users with admin-level permissions will be able to use this api.

Action Parameters

group_id
stringRequired
fields
array
name
string
provenance
string
external_sync_identifier
string
description
string
invitability_level
string
member_viewability_level
string

Action Response

data
object
successful
boolean
error

Retrieves all the members for a group. only members of this group or users with admin-level permissions will be able to use this api.

Action Parameters

group_id
stringRequired
limit
integer
offset
integer

Action Response

data
object
successful
boolean
error

Creates a folder lock on a folder, preventing it from being moved and/or deleted. you must be authenticated as the owner or co-owner of the folder to use this endpoint.

Action Parameters

locked__operations__move
boolean
locked__operations__delete
boolean
folder__type
string
folder__id
string

Action Response

data
object
successful
boolean
error

Retrieves information about a group. only members of this group or users with admin-level permissions will be able to use this api.

Action Parameters

group_id
stringRequired
fields
array

Action Response

data
object
successful
boolean
error

Retrieves an image of a the user’s avatar.

Action Parameters

user_id
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves all metadata for a given folder. this can not be used on the root folder with id 0.

Action Parameters

folder_id
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves a retention policy.

Action Parameters

retention_policy_id
stringRequired
fields
array

Action Response

data
object
successful
boolean
error

Creates a copy of a folder within a destination folder. the original folder will not be changed.

Action Parameters

folder_id
stringRequired
fields
array
name
string
parent__id
string

Action Response

data
object
successful
boolean
error

Updates a file. this can be used to rename or move a file, create a shared link, or lock a file.

Action Parameters

file_id
stringRequired
fields
array
name
string
description
string
lock__access
string
lock__expires__at
string
lock__is__download__prevented
boolean
disposition_at
string
permissions__can__download
string
collections
array
tags
array

Action Response

data
object
successful
boolean
error

Removes any classifications from a folder. this api can also be called by including the enterprise id in the url explicitly, for example /folders/:id/enterprise 12345/securityclassification-6vmvochwuwo.

Action Parameters

folder_id
stringRequired

Action Response

data
object
successful
boolean
error

Move a file version to the trash. versions are only tracked for box users with premium accounts.

Action Parameters

file_id
stringRequired
file_version_id
stringRequired

Action Response

data
object
successful
boolean
error

Gets signature requests created by a user. if the sign files and/or parent folder are deleted, the signature request will not return in the list.

Action Parameters

marker
string
limit
integer
senders
array
shared_requests
boolean

Action Response

data
object
successful
boolean
error

Updates an ai agent.

Action Parameters

agent_id
stringRequired
type
stringRequired
name
stringRequired
access_state
stringRequired
icon_reference
string
allowed_entities
array
ask__type
string
ask__access__state
string
ask__description
string
ask__custom__instructions
string
text__gen__type
string
text__gen__access__state
string
text__gen__description
string
text__gen__custom__instructions
string
extract__type
string
extract__access__state
string
extract__description
string
extract__custom__instructions
string

Action Response

data
object
successful
boolean
error

Retrieves a shield information barrier segment restriction based on provided id.

Action Parameters

shield_information_barrier_segment_restriction_id
stringRequired

Action Response

data
object
successful
boolean
error

Creates a shield information barrier report for a given barrier.

Action Parameters

shield__information__barrier__id
string
shield__information__barrier__type
string

Action Response

data
object
successful
boolean
error

Returns a domain that has been deemed safe to create collaborations for within the current enterprise.

Action Parameters

collaboration_whitelist_entry_id
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves the message and metadata for a specific comment, as well as information on the user who created the comment.

Action Parameters

comment_id
stringRequired
fields
array

Action Response

data
object
successful
boolean
error

Restores a folder that has been moved to the trash. an optional new parent id can be provided to restore the folder to in case the original folder has been deleted. during this operation, part of the file tree will be locked, mainly the source folder and all of its descendants, as well as the destination folder. for the duration of the operation, no other move, copy, delete, or restore operation can performed on any of the locked folders.

Action Parameters

folder_id
stringRequired
fields
array
name
string

Action Response

data
object
successful
boolean
error

Get the ai agent default config

Action Parameters

mode
stringRequired
language
string
model
string

Action Response

data
object
successful
boolean
error

Returns up to a year of past events for a given user or for the entire enterprise. by default this returns events for the authenticated user. to retrieve events for the entire enterprise, set the stream type to admin logs streaming for live monitoring of new events, or admin logs for querying across historical events. the user making the api call will need to have admin privileges, and the application will need to have the scope manage enterprise properties checked.

Action Parameters

stream_type
stringDefaults to all
stream_position
string
limit
integerDefaults to 100
event_type
array
created_after
string
created_before
string

Action Response

data
object
successful
boolean
error

List the box skills metadata cards that are attached to a file.

Action Parameters

file_id
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves all email aliases for a user. the collection does not include the primary login for the user.

Action Parameters

user_id
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves a list of all the tasks for a file. this endpoint does not support pagination.

Action Parameters

file_id
stringRequired

Action Response

data
object
successful
boolean
error

Creates a request to download multiple files and folders as a single zip archive file. this api does not return the archive but instead performs all the checks to ensure that the user has access to all the items, and then returns a download url and a status url that can be used to download the archive. the limit for an archive is either the account’s upload limit or 10,000 files, whichever is met first. note: downloading a large file can be affected by various factors such as distance, network latency, bandwidth, and congestion, as well as packet loss ratio and current server load. for these reasons we recommend that a maximum zip archive total size does not exceed 25gb.

Action Parameters

items
arrayRequired
download_file_name
string

Action Response

data
object
successful
boolean
error

Removes a user’s exemption from the restrictions set out by the allowed list of domains for collaborations.

Action Parameters

collaboration_whitelist_exempt_target_id
stringRequired

Action Response

data
object
successful
boolean
error

Deletes the shield information barrier segment based on provided id.

Action Parameters

shield_information_barrier_segment_id
stringRequired

Action Response

data
object
successful
boolean
error

Invites an existing external user to join an enterprise. the existing user can not be part of another enterprise and must already have a box account. once invited, the user will receive an email and are prompted to accept the invitation within the box web application. this method requires the “manage an enterprise” scope enabled for the application, which can be enabled within the developer console.

Action Parameters

fields
array
enterprise__id
string
actionable__by__login
string

Action Response

data
object
successful
boolean
error

Finds a metadata template by searching for the id of an instance of the template.

Action Parameters

metadata_instance_id
stringRequired
marker
string
limit
integer

Action Response

data
object
successful
boolean
error

Creates a signature request. this involves preparing a document for signing and sending the signature request to signers.

Action Parameters

Action Response

data
object
successful
boolean
error

Applies one or more box skills metadata cards to a file.

Action Parameters

file_id
stringRequired
cards
arrayRequired

Action Response

data
object
successful
boolean
error

Updates the shield information barrier segment based on provided id..

Action Parameters

shield_information_barrier_segment_id
stringRequired
name
string
description
string

Action Response

data
object
successful
boolean
error

Authorize a user by sending them through the box website and request their permission to act on their behalf. this is the first step when authenticating a user using oauth 2.0. to request a user’s authorization to use the box apis on their behalf you will need to send a user to the url with this format.

Action Parameters

response_type
stringRequired
client_id
stringRequired
redirect_uri
string
state
string
scope
string

Action Response

data
object
successful
boolean
error

Deletes a file, either permanently or by moving it to the trash. the the enterprise settings determine whether the item will be permanently deleted from box or moved to the trash.

Action Parameters

file_id
stringRequired

Action Response

data
object
successful
boolean
error

Update the message of a comment.

Action Parameters

comment_id
stringRequired
fields
array
message
string

Action Response

data
object
successful
boolean
error

Retrieves all pending collaboration invites for this user.

Action Parameters

status
stringRequired
fields
array
offset
integer
limit
integer

Action Response

data
object
successful
boolean
error

Deletes an ai agent using the provided parameters.

Action Parameters

agent_id
stringRequired

Action Response

data
object
successful
boolean
error

Removes an email alias from a user.

Action Parameters

user_id
stringRequired
email_alias_id
stringRequired

Action Response

data
object
successful
boolean
error

Updates a specific terms of service.

Action Parameters

terms_of_service_id
stringRequired
status
stringRequired
text
stringRequired

Action Response

data
object
successful
boolean
error

Retrieves all metadata for a given file.

Action Parameters

file_id
stringRequired

Action Response

data
object
successful
boolean
error

Creates a retention policy.

Action Parameters

policy_name
stringRequired
description
string
policy_type
stringRequired
disposition_action
stringRequired
retention_length
string
retention_type
string
can_owner_extend_retention
boolean
are_owners_notified
boolean
custom_notification_recipients
array

Action Response

data
object
successful
boolean
error

Returns list of workflows that act on a given folder id, and have a flow with a trigger type of workflow manual start. you application must be authorized to use the manage box relay application scope within the developer console in to use this endpoint.

Action Parameters

folder_id
stringRequired
trigger_type
string
limit
integer
marker
string

Action Response

data
object
successful
boolean
error

Initiates a flow with a trigger type of workflow manual start. you application must be authorized to use the manage box relay application scope within the developer console.

Action Parameters

workflow_id
stringRequired
type
string
flow__type
string
flow__id
string
files
arrayRequired
folder__type
string
folder__id
string
outcomes
array

Action Response

data
object
successful
boolean
error

Retrieves details for a folder, including the first 100 entries in the folder. passing sort, direction, offset, and limit parameters in query allows you to manage the list of returned folder items. to fetch more items within the folder, use the get items in a folder endpoint.

Action Parameters

folder_id
stringRequired
fields
array
sort
string
direction
string
offset
integer
limit
integer

Action Response

data
object
successful
boolean
error

Removes an existing user avatar. you cannot reverse this operation.

Action Parameters

user_id
stringRequired

Action Response

data
object
successful
boolean
error

Creates a new metadata template that can be applied to files and folders.

Action Parameters

scope
stringRequired
templateKey
string
displayName
stringRequired
hidden
boolean
fields
array
copyInstanceOnItemCopy
boolean

Action Response

data
object
successful
boolean
error

Updates a specific storage policy assignment.

Action Parameters

storage_policy_assignment_id
stringRequired
storage__policy__type
string
storage__policy__id
string

Action Response

data
object
successful
boolean
error

Retrieves a list of shield information barrier segment objects for the specified information barrier id.

Action Parameters

shield_information_barrier_id
stringRequired
marker
string
limit
integer

Action Response

data
object
successful
boolean
error

Abort an upload session and discard all data uploaded. this cannot be reversed. the actual endpoint url is returned by the create upload session and get upload session endpoints.

Action Parameters

upload_session_id
stringRequired

Action Response

data
object
successful
boolean
error

Deletes a slack integration mapping. you need admin or co-admin role to use this endpoint.

Action Parameters

integration_mapping_id
stringRequired

Action Response

data
object
successful
boolean
error

Returns the status of a user invite.

Action Parameters

invite_id
stringRequired
fields
array

Action Response

data
object
successful
boolean
error

Updates a folder. this can be also be used to move the folder, create shared links, update collaborations, and more.

Action Parameters

folder_id
stringRequired
fields
array
name
string
description
string
sync_state
string
can_non_owners_invite
boolean
tags
array
is_collaboration_restricted_to_enterprise
boolean
collections
array
can_non_owners_view_collaborators
boolean

Action Response

data
object
successful
boolean
error

Validates the roles and permissions of the group, and creates asynchronous jobs to terminate the group’s sessions. returns the status for the post request.

Action Parameters

group_ids
arrayRequired

Action Response

data
object
successful
boolean
error

Retrieves information about the user who is currently authenticated. in the case of a client-side authenticated oauth 2.0 application this will be the user who authorized the app. in the case of a jwt, server-side authenticated application this will be the service account that belongs to the application by default. use the as-user header to change who this api call is made on behalf of.

Action Parameters

fields
array

Action Response

data
object
successful
boolean
error

Adds a new email alias to a user account..

Action Parameters

user_id
stringRequired
email
stringRequired

Action Response

data
object
successful
boolean
error

Creates a terms of service for a given enterprise and type of user.

Action Parameters

status
stringRequired
tos_type
string
text
stringRequired

Action Response

data
object
successful
boolean
error

Sends an ai request to supported llms and returns an answer specifically focused on the user’s question given the provided context.

Action Parameters

mode
stringRequired
prompt
stringRequired
items
arrayRequired
dialogue_history
array
include_citations
boolean

Action Response

data
object
successful
boolean
error

Fetches all the storage policies in the enterprise.

Action Parameters

fields
array
marker
string
limit
integer

Action Response

data
object
successful
boolean
error

Creates a shield information barrier segment.

Action Parameters

shield__information__barrier__id
string
shield__information__barrier__type
string
name
stringRequired
description
string

Action Response

data
object
successful
boolean
error

Lists shield information barrier reports.

Action Parameters

shield_information_barrier_id
stringRequired
marker
string
limit
integer

Action Response

data
object
successful
boolean
error

Removes any box skills cards metadata from a file.

Action Parameters

file_id
stringRequired

Action Response

data
object
successful
boolean
error

The listevents endpoint provides information about the events available in the box system. this options method allows developers to discover the capabilities and requirements for interacting with the /events endpoint. it’s particularly useful for understanding the types of events that can be monitored, the format of event data, and any constraints or limitations on event retrieval. this endpoint should be used when setting up event monitoring or webhook integrations to ensure proper configuration and understanding of the event system. while it doesn’t directly fetch events, it offers crucial metadata for effectively working with box’s event streaming and notification features.

Action Parameters

Action Response

data
object
successful
boolean
error

Creates a shield information barrier to separate individuals/groups within the same firm and prevents confidential information passing between them.

Action Parameters

Action Response

data
object
successful
boolean
error

Deletes a specific group membership. only admins of this group or users with admin-level permissions will be able to use this api.

Action Parameters

group_membership_id
stringRequired

Action Response

data
object
successful
boolean
error

Creates a new shield information barrier segment member.

Action Parameters

type
string
shield__information__barrier__id
string
shield__information__barrier__type
string
shield__information__barrier__segment__id
string
shield__information__barrier__segment__type
string

Action Response

data
object
successful
boolean
error

Retrieve a specific metadata cascade policy assigned to a folder.

Action Parameters

metadata_cascade_policy_id
stringRequired

Action Response

data
object
successful
boolean
error