box
v1.0.5Manage files, folders, and team collaboration with access controls
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_file Get File
Retrieves metadata and details for a specific file by its unique identifier. Optionally supports accessing files via a shared link, including password-protected ones.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file to retrieve. The file ID can be found in the Box web app URL when viewing the file. |
boxapi | string | A shared link URL and optional password used to access files that have not been explicitly shared with the authenticated user. Use the format `shared_link=[link]` or `shared_link=[link]&shared_link_pa… |
restore_file Restore File
Restores a file from the trash back to its original location or a specified parent folder. An optional new parent folder can be provided if the original folder no longer exists.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file to restore from the trash. The file ID can be found in the Box web app URL when viewing the file. |
name | string | An optional new name to assign to the file upon restoration, useful if a naming conflict exists in the destination folder. |
parent | object | An optional parent folder object specifying where the file should be restored to, used when the original parent folder has been deleted. |
update_file Update File
Updates a file's metadata or settings, including renaming, moving to a new parent folder, managing shared links, applying locks, updating tags, and modifying collection membership.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file to update. Find this ID in the Box web app by opening the file and copying the numeric ID from the URL. |
access | string | The type of lock to apply to the file. Must be set to 'lock' to lock the file and restrict editing by other users. |
can_download | string | Controls who can download the file: 'open' allows anyone with access, while 'company' restricts downloads to members of the owner's enterprise, overriding collaboration role permissions. |
collections | array | An array of collection objects (each with an 'id') to assign the file to. Currently only the favorites collection is supported. Pass an empty array or null to remove the file from all collections. |
description | string | A text description for the file, visible in the Box web app sidebar and included in search indexing. Maximum 256 characters. |
disposition_at | string | The retention expiration timestamp for the file in ISO 8601 format. Once set, this date can only be extended, never shortened. |
expires_at | string | The date and time at which the file lock automatically expires, in ISO 8601 format. |
is_download_prevented | boolean | Whether downloading the file is prevented while the lock is active. Set to true to block downloads during the lock period. |
name | string | A new name for the file. Must be unique within the parent folder; the uniqueness check is case-insensitive. |
parent | object | The parent folder to move the file into. Provide an object with the target folder's ID to relocate the file. |
shared_link | object | Shared link settings for the file. Provide an object with access level and permission options to create or update the file's shared link. |
tags | array | An array of string tags to associate with the file, visible in the Box web and mobile apps. To modify tags, retrieve the current list, apply changes, and submit the full updated array. Maximum 100 tag… |
delete_file Delete File
Deletes a specified file from Box, either permanently or by moving it to the trash depending on enterprise settings.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file to delete. Visible in the file's URL on the Box web application. |
list_file_app_item_associations List File App Item Associations
Retrieves all app items associated with a file, including associations inherited from ancestor folders. Association type and ID are returned even if the requesting user lacks View permission on the app item.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file whose app item associations should be retrieved. The file ID appears in the Box web app URL when viewing the file. |
application_type | string | Filters results to only include app items belonging to the specified application type. When omitted, associations for all application types are returned. |
limit | string | The maximum number of app item associations to return per page. Must be between 1 and 1000. |
download_file Download File
Downloads the binary content of a file from Box. Supports partial downloads via byte ranges, specific version retrieval, and access to shared link items.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file to download. Visible in the Box web app URL when viewing the file. |
boxapi | string | The shared link URL and optional password for accessing a file that has not been explicitly shared with the authenticated user. Use the format shared_link=[link] or shared_link=[link]&shared_link_pass… |
range | string | Specifies a partial byte range of the file to download, using the format bytes={start_byte}-{end_byte}. Useful for resumable downloads or streaming large files. |
version | string | The specific version ID of the file to download. If omitted, the latest version is returned. |
upload_file_version Upload File Version
Uploads a new version of an existing file's content, optionally renaming it or setting a custom last-modified timestamp. For files over 50MB, use the Chunk Upload APIs instead.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file to update. Visible in the Box web app URL when viewing the file. |
content_modified_at | string | The date and time the file content was last modified, in ISO 8601 format. If omitted, the time of upload is used as the modification time. |
file | string | Base64-encoded file content for upload. The binary content of the file to upload. This part must appear after the attributes part in the multipart request body; reversing the order will result in a 40… |
name | string | An optional new name to rename the file when this new version is uploaded. If omitted, the existing file name is retained. |
upload_file Upload File
Uploads a small file (under 50MB) to a specified Box folder. The attributes must be sent before the file content in the request body, or a 400 error will be returned.
| Parameter | Type | Description |
|---|---|---|
content_created_at | string | The original creation timestamp of the file in ISO 8601 format. Defaults to the upload time if not provided. |
content_modified_at | string | The last modified timestamp of the file in ISO 8601 format. Defaults to the upload time if not provided. |
file | string | Base64-encoded file content for upload. The binary content of the file to upload. Must appear after the attributes part in the multipart request body. |
id | string | The ID of the parent folder where the file will be uploaded. Use `0` to upload to the user's root folder. |
name | string | The name to assign to the uploaded file. Must be unique (case-insensitive) within the destination folder. |
create_upload_session Create Upload Session
Initiates a chunked upload session for uploading a new file, returning a session ID and upload URLs to use for subsequent chunk uploads.
| Parameter | Type | Description |
|---|---|---|
file_name | string | The name to assign to the new file once the upload session is complete. |
folder_id | string | The ID of the destination folder where the new file will be stored upon upload completion. |
create_file_upload_session Create File Upload Session
Creates a chunked upload session for an existing file, enabling large file uploads to be split into multiple parts. Use the returned session to upload individual chunks and complete the upload.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the existing file for which the upload session will be created. The file ID can be found in the file's URL in the Box web application. |
file_name | string | An optional new name to assign to the file upon completing the upload session, replacing the current file name. |
get_upload_session Get Upload Session
Retrieve the current status and details of an active chunked file upload session. The upload session ID is obtained from the Create upload session endpoint.
| Parameter | Type | Description |
|---|---|---|
upload_session_id * | string | The unique identifier of the upload session to retrieve, obtained when the upload session was created. |
upload_file_part Upload File Part
Uploads a single binary chunk of a file as part of an active chunked upload session. Each part must conform to the byte range and part size defined when the upload session was created.
| Parameter | Type | Description |
|---|---|---|
content-range * | string | The inclusive byte range of this chunk within the full file, formatted as `bytes <start>-<end>/<total>`. The start must be a multiple of the session's part size, the end must be a multiple of the part… |
digest * | string | The RFC 3230 message digest of the uploaded chunk used to verify integrity. Must be a base64-encoded SHA1 hash formatted as `sha=<BASE64_ENCODED_DIGEST>`. |
upload_session_id * | string | The unique identifier of the upload session to which this file part belongs. |
body | string | Base64-encoded binary request body. The raw binary content of the file chunk being uploaded for this part. |
abort_upload_session Abort Upload Session
Permanently aborts an active upload session and discards all uploaded data. This action is irreversible and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
upload_session_id * | string | The unique identifier of the upload session to abort, as returned by the Create or Get upload session endpoints. |
list_upload_session_parts List Upload Session Parts
Retrieves a paginated list of all file chunks uploaded so far within a specific upload session, allowing you to track multipart upload progress.
| Parameter | Type | Description |
|---|---|---|
upload_session_id * | string | The unique identifier of the upload session whose uploaded parts you want to list. |
limit | string | The maximum number of uploaded parts to return in a single response. Accepts values up to 1000. |
offset | string | The zero-based index of the first item to return, enabling pagination through large result sets. Must not exceed 10000; requests beyond this limit will be rejected with a 400 error. |
commit_upload_session Commit Upload Session
Finalizes an upload session by assembling all uploaded chunks into a complete file. Must be called after all parts have been uploaded to close the session and persist the file.
| Parameter | Type | Description |
|---|---|---|
digest * | string | The RFC 3230 message digest of the entire file used to verify integrity. Must be a Base64-encoded SHA1 hash formatted as `sha=<BASE64_ENCODED_DIGEST>`. |
upload_session_id * | string | The unique identifier of the upload session to commit. |
parts | array | An ordered list of part details representing all uploaded chunks that should be assembled into the final file. Each item should describe a previously uploaded part. |
copy_file Copy File
Creates a copy of an existing file, optionally placing it in a different folder, renaming it, or copying a specific version. Returns the metadata of the newly created file copy.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file to copy. Visible in the Box web app URL when viewing the file. |
id | string | The ID of the destination folder where the copied file will be placed. Use '0' to copy the file to the root folder. |
name | string | An optional new name for the copied file. Must not exceed 255 characters; non-printable ASCII characters, forward/backward slashes, and reserved names like '.' and '..' are automatically sanitized. |
version | string | The ID of a specific file version to copy. If omitted, the latest version of the file is copied. |
get_file_thumbnail Get File Thumbnail
Retrieves a scaled-down thumbnail image of a file in PNG or JPG format. Supports various sizes for image and video file types.
| Parameter | Type | Description |
|---|---|---|
extension * | string | The image format for the thumbnail. PNG supports sizes up to 256x256; JPG supports sizes up to 320x320. |
file_id * | string | The unique identifier of the file for which to retrieve a thumbnail. The file ID can be found in the URL when viewing the file in the Box web application. |
max_height | integer | The maximum desired height of the thumbnail in pixels. The returned thumbnail will not exceed this height, within the supported size range of 32 to 320 pixels. |
max_width | integer | The maximum desired width of the thumbnail in pixels. The returned thumbnail will not exceed this width, within the supported size range of 32 to 320 pixels. |
min_height | integer | The minimum desired height of the thumbnail in pixels. The returned thumbnail will be at least this tall, within the supported size range of 32 to 320 pixels. |
min_width | integer | The minimum desired width of the thumbnail in pixels. The returned thumbnail will be at least this wide, within the supported size range of 32 to 320 pixels. |
list_file_collaborations List File Collaborations
Retrieves all pending and active collaborations for a specific file, including users who currently have access or have been invited to collaborate.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file whose collaborations you want to retrieve. You can find this ID in the file's URL in the Box web application. |
limit | string | The maximum number of collaboration records to return per page. Accepts values up to 1000. |
list_file_comments List File Comments
Retrieves a paginated list of comments posted on a specific file. Useful for reviewing user feedback or discussion threads associated with a file.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file whose comments you want to retrieve. Find this ID in the file's URL on the Box web application. |
limit | string | The maximum number of comments to return per page. Must be between 1 and 1000. |
offset | string | The zero-based index of the first item to include in the response, used for paginating through results. Offset values exceeding 10000 are not supported. |
list_file_tasks List File Tasks
Retrieves all tasks associated with a specific file, returning the complete list in a single response. Note that this endpoint does not support pagination.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file whose tasks you want to retrieve. You can find this ID in the file's URL in the Box web application. |
get_trashed_file Get Trashed File
Retrieves metadata for a file that was directly moved to the trash. Note: if a parent folder was trashed instead, use the trashed folder endpoint to inspect it.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file to retrieve from the trash. The file ID appears in the Box web app URL when viewing the file. |
permanently_delete_trashed_file Permanently Delete Trashed File
Permanently deletes a file that is currently in the trash, freeing storage and removing it from Box entirely. This action is irreversible and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the trashed file to permanently delete. The file ID can be found in the URL when viewing the file in the Box web application. |
list_file_versions List File Versions
Retrieves the version history of a specific file, returning all past versions in paginated results. Version tracking is available only for Box premium accounts; use the get_file operation to retrieve the current version ID.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file whose version history you want to retrieve. The file ID can be found in the URL when viewing the file in the Box web application. |
limit | string | The maximum number of file versions to return per page. Accepts values up to 1000. |
offset | string | The zero-based index of the item at which to start the response, used for paginating through results. Offset values exceeding 10000 will result in a 400 error. |
get_file_version Get File Version
Retrieves metadata for a specific version of a file by its version ID. Version history is only available for Box accounts with premium subscriptions.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file whose version you want to retrieve. Visible in the file's URL in the Box web application. |
file_version_id * | string | The unique identifier of the specific file version to retrieve. |
restore_file_version Restore File Version
Restores a previously deleted version of a file, making it the current version. Supports standard file formats such as PDF, DOC, and PPTX, but not Box Notes.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file whose version you want to restore. Visible in the file's URL in the Box web application. |
file_version_id * | string | The unique identifier of the specific file version to restore. |
delete_file_version Delete File Version
Moves a specific version of a file to the trash, effectively removing it from the version history. Version tracking is only available for Box accounts with premium subscriptions.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file whose version will be deleted. The file ID can be found in the URL when viewing the file in the Box web application. |
file_version_id * | string | The unique identifier of the specific file version to delete. This targets a single version entry within the file's version history. |
promote_file_version Promote File Version
Promotes an older version of a file to the top of its version history by creating a new copy with the same contents, hash, etag, and name. Suitable for file formats like PDF, DOC, and PPTX, but not for Box Notes.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file whose version you want to promote. Visible in the file's URL in the Box web application. |
id | string | The unique identifier of the specific file version to promote to the top of the version history. |
type | string | The resource type being promoted. Must be set to 'file_version' to indicate a file version promotion. |
list_file_metadata List File Metadata
Retrieves all metadata instances attached to a specific file. Optionally returns full taxonomy node details instead of node identifiers.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file whose metadata instances will be retrieved. The file ID can be found in the URL when viewing the file in the Box web application. |
view | string | Controls how taxonomy field values are represented in the response. When set to 'hydrated', taxonomy values include full taxonomy node details rather than just node identifiers. |
get_file_classification Get File Classification
Retrieves the security classification metadata applied to a specific file. Returns the classification instance associated with the file's enterprise security policy.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file whose security classification you want to retrieve. Visible in the file's Box web URL after '/files/'. |
add_file_classification Add File Classification
Adds a security classification label to a file in Box. Use this to apply an enterprise-defined classification (e.g., Confidential, Sensitive) to control how the file is handled and shared.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file to classify. The file ID can be found in the file's URL in the Box web application. |
Box__Security__Classification__Key | string | The classification label to apply to the file. Must match one of the available classification keys defined in the enterprise's classification template; retrieve valid keys from the classification temp… |
update_file_classification Update File Classification
Updates the security classification label on a file that already has a classification applied. Only classification values defined for the enterprise are accepted.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file whose classification will be updated. The file ID can be found in the file's URL in the Box web application. |
body | array | A list containing exactly one change operation object that specifies the update to apply to the classification label. Order is significant; only a single item describing the classification change shou… |
remove_file_classification Remove File Classification
Removes any existing security classification from a specified file. This permanently strips the classification metadata, and can also be called using an explicit enterprise ID in the endpoint path.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file from which the classification will be removed. The file ID can be found in the URL when viewing the file in the Box web application. |
get_file_metadata_instance Get File Metadata Instance
Retrieves a specific metadata template instance applied to a file, identified by its scope and template key. Optionally returns full taxonomy node details instead of raw node identifiers.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file whose metadata instance you want to retrieve. Find this ID in the file's URL in the Box web application. |
scope * | string | The scope of the metadata template to retrieve, either globally available templates or templates specific to your enterprise. |
template_key * | string | The unique key name of the metadata template whose instance you want to retrieve from the file. |
view | string | Controls how taxonomy field values are represented in the response. Set to 'hydrated' to receive full taxonomy node details instead of the default node identifiers. |
create_file_metadata Create File Metadata
Applies an instance of a metadata template to a file, associating structured key-value data with it. Only keys defined in the specified template are accepted, except for the global.properties template which allows arbitrary key-value pairs.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file to which the metadata instance will be applied. Visible in the file's URL in the Box web application. |
scope * | string | The scope of the metadata template to apply, either global (Box-provided templates) or enterprise (custom templates defined by your organization). |
template_key * | string | The unique key identifying the metadata template within the given scope, corresponding to the template's defined name. |
body | object | A JSON object containing the metadata field key-value pairs to populate on the template instance. Keys must match those defined in the template, unless using the global.properties template. |
update_file_metadata Update File Metadata
Updates an existing metadata instance on a file using JSON Patch operations. The metadata template must already be applied to the file, and all changes are applied atomically — if any operation fails, no changes are made.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file whose metadata instance will be updated. Visible in the file's URL in the Box web application. |
scope * | string | The scope of the metadata template to update, either globally defined templates or enterprise-specific ones. |
template_key * | string | The unique key identifying the metadata template whose instance will be updated on the file. |
body | array | An ordered array of JSON Patch operation objects describing the changes to apply to the metadata instance. Operations are applied in sequence and must conform to RFC 6902 JSON Patch syntax. |
delete_file_metadata Delete File Metadata
Removes a specific metadata instance from a file by deleting the metadata template applied under the given scope. This permanently detaches the metadata from the file without affecting the file itself.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file from which metadata will be removed. The file ID can be found in the URL when viewing the file in the Box web application. |
scope * | string | The scope of the metadata template to delete, either 'global' for Box-wide templates or 'enterprise' for templates specific to your organization. |
template_key * | string | The unique key identifying the metadata template to remove from the file, corresponding to the template's defined key within the specified scope. |
list_file_skills_cards List File Skills Cards
Retrieves all Box Skills metadata cards attached to a specific file. Useful for inspecting AI-generated insights such as transcripts, topics, or keywords extracted by Box Skills.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file whose Box Skills cards you want to retrieve. Visible in the file's URL on the Box web application. |
create_skill_cards Create Skill Cards
Applies one or more Box Skills metadata cards to a specified file, enabling AI-generated insights such as transcripts, topics, or keywords to be attached as structured metadata.
update_skill_cards Update Skill Cards
Updates one or more Box Skills metadata cards on a specified file using JSON-Patch operations, allowing targeted modifications to existing skill card data.
remove_file_skills_cards Remove File Skills Cards
Removes all Box Skills cards metadata from a specified file. This clears any AI-generated skill annotations (such as transcripts, topics, or faces) associated with the file.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file from which Box Skills cards will be removed. The file ID can be found in the file's URL in the Box web application. |
get_file_watermark Get File Watermark
Retrieves the watermark applied to a specific file. Returns watermark details if one exists, or an error if no watermark has been applied.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file whose watermark you want to retrieve. Visible in the file's URL on the Box web application. |
apply_file_watermark Apply File Watermark
Applies or updates a watermark on a specified file in Box. Use this to protect file content by overlaying a visible watermark when the file is viewed or downloaded.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file to watermark. Found in the file's URL in the Box web application. |
imprint | string | The type of watermark to apply to the file. Currently only the default imprint style is supported. |
remove_file_watermark Remove File Watermark
Removes an existing watermark from a specified file in Box. Use this to revoke watermark protection previously applied to a file.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The unique identifier of the file from which the watermark will be removed. Found in the file's URL in the Box web application. |
get_file_request Get File Request
Retrieves detailed information about a specific file request, including its configuration and status. Use this to inspect an existing file request created via the Box web application.
| Parameter | Type | Description |
|---|---|---|
file_request_id * | string | The unique identifier of the file request to retrieve. This ID can be found in the URL of the file request builder in the Box web application. |
update_file_request Update File Request
Updates the properties of an existing file request, such as its title, description, status, and submission requirements. Use this to activate or deactivate a file request or modify its configuration.
| Parameter | Type | Description |
|---|---|---|
file_request_id * | string | The unique identifier of the file request to update. Find this ID in the URL of the file request builder in the Box web application. |
description | string | The new description for the file request, displayed to submitters on the form. If omitted, the existing description is preserved. |
expires_at | string | The expiration date and time after which the file request will no longer accept submissions and its status will automatically become inactive. Provide as an ISO 8601 date-time string. If omitted, the… |
is_description_required | boolean | Whether submitters must provide a description of the files they are uploading on the file request form. If omitted, the existing setting is preserved. |
is_email_required | boolean | Whether submitters must provide their email address on the file request form. If omitted, the existing setting is preserved. |
status | string | The new status of the file request. Setting to 'inactive' stops accepting submissions and returns HTTP 404 to visitors; 'active' resumes acceptance. If omitted, the existing status is preserved. |
title | string | The new title for the file request. If omitted, the existing title is preserved. |
delete_file_request Delete File Request
Permanently deletes a specified file request from Box. This action is irreversible and removes the file request and its associated upload link.
| Parameter | Type | Description |
|---|---|---|
file_request_id * | string | The unique identifier of the file request to delete. This ID can be found in the URL of the file request builder in the Box web application. |
copy_file_request Copy File Request
Copies an existing file request from one folder and applies it to another folder, duplicating its settings and configuration. Useful for reusing file request templates across multiple folders without manual recreation.
| Parameter | Type | Description |
|---|---|---|
file_request_id * | string | The unique identifier of the file request to copy. Find this ID in the URL when viewing a file request in the Box web application's file request builder. |
body | object | The request body specifying the destination folder and any overrides to apply to the copied file request, such as a new title or description. |
get_folder Get Folder
Retrieves metadata and the first 100 items for a specified folder. Use the sort, direction, offset, and limit parameters to control item ordering and pagination within the folder.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder to retrieve. The root folder of any Box account is always ID '0'; other folder IDs can be found in the URL when viewing the folder in the Box web app. |
direction | string | The sort order for returned items, either ascending (ASC) or descending (DESC) alphabetically. |
limit | string | The maximum number of folder items to return in a single response, up to a maximum of 1000. |
offset | string | The zero-based index of the first item to include in the response, used for offset-based pagination. Note that very high offset values may be unreliable for large folders; consider restructuring large… |
sort | string | The secondary attribute by which folder items are sorted. Items are always grouped by type first (folders, then files, then web links); this parameter controls ordering within those groups. Not suppor… |
restore_folder Restore Folder
Restores a folder from the trash to its original location or an optional new parent folder. During the operation, the source folder, its descendants, and the destination folder are locked to prevent concurrent move, copy, delete, or restore actions.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder to restore from trash. The folder ID can be found in the Box web app URL when viewing the folder. |
name | string | An optional new name to assign to the folder upon restoration, useful if a naming conflict exists at the destination. |
parent | object | An optional parent folder object specifying where the folder should be restored to, used when the original parent folder no longer exists. |
update_folder Update Folder
Updates a folder's properties such as name, description, tags, and sharing settings. Can also be used to move the folder to a new parent, manage shared links, and control collaboration permissions.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder to update. Find this ID in the Box web app URL when viewing the folder. The root folder of any Box account always has the ID `0`. |
can_non_owners_invite | boolean | When set to `true`, users who are not the folder owner are allowed to invite new collaborators. When `false`, only the owner can invite collaborators. |
can_non_owners_view_collaborators | boolean | When set to `false`, non-owner collaborators are prevented from viewing other collaborators on the folder and from inviting new ones. If setting this to `false`, `can_non_owners_invite` must also be s… |
collections | array | A list of collection objects to add this folder to. Currently only the `favorites` collection is supported. Pass an empty array or `null` to remove the folder from all collections. Retrieve collection… |
description | string | An optional human-readable description for the folder, up to 256 characters. |
folder_upload_email | object | The email address configuration that allows files to be uploaded to this folder by sending an email. Provide an object with the desired access level, or set to `null` to disable. |
is_collaboration_restricted_to_enterprise | boolean | When set to `true`, new collaboration invitations for this folder are restricted to users within the same enterprise. Existing collaborations are not affected. |
name | string | The new name for the folder. Names must be unique within the parent folder (case-insensitive) and cannot contain non-printable ASCII characters, forward or backward slashes, trailing spaces, or be `.`… |
parent | object | The parent folder to move this folder into. Provide an object with the `id` of the destination parent folder to relocate the folder. |
shared_link | object | Shared link settings for the folder. Provide a shared link object to create or update the shared link, or set to `null` to remove it. |
sync_state | string | Controls whether the folder is synced to a user's device. Applicable only to Box Sync (discontinued); not used by Box Drive. |
tags | array | A list of tags to associate with the folder, visible in the Box web and mobile apps. To modify tags, retrieve the current list, apply changes, and submit the full updated list. Maximum of 100 tags per… |
delete_folder Delete Folder
Deletes a Box folder either permanently or by moving it to the trash. Supports recursive deletion to remove folders that contain content.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder to delete. The folder ID can be found in the URL when viewing the folder in the Box web app, and the root folder is always ID `0`. |
recursive | boolean | When set to true, allows deletion of a non-empty folder by recursively deleting all of its contents along with the folder itself. If omitted or false, the request will fail if the folder contains any… |
list_folder_app_item_associations List Folder App Item Associations
Retrieves all app items associated with a folder, including associations inherited from ancestor folders. App item type and ID are visible to any user with folder access, regardless of View permission on the app item.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder whose app item associations you want to retrieve. The folder ID appears in the URL when viewing the folder in the Box web app. The root folder is always ID 0. |
application_type | string | Filters results to only include app items belonging to the specified application type. When omitted, associations for all application types are returned. |
limit | string | The maximum number of app item associations to return per page. Must be between 1 and 1000. |
list_folder_items List Folder Items
Retrieves a paginated list of files, folders, and web links contained within a specified folder. Use the dedicated Get Folder endpoint if you need metadata about the folder itself, such as its size.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder whose contents you want to list. The root folder of any Box account always uses the ID '0'; for other folders, find the ID in the URL when viewing the folder in the… |
direction | string | The sort direction for results, either ascending or descending alphabetical/numerical order. |
limit | string | The maximum number of items to return in a single page of results. Accepted values range from 1 to 1000. |
offset | string | The zero-based index of the first item to include in the response, used for offset-based pagination. Avoid high offset values on large datasets as reliability is not guaranteed; prefer marker-based pa… |
sort | string | The secondary attribute by which to sort items within their type grouping — items are always sorted by type first (folders, then files, then web links). Sorting by this field is not supported for ma… |
usemarker | boolean | Set to true to enable marker-based pagination, which returns a 'marker' token in the response to fetch the next page. Cannot be combined with offset-based pagination; use one method consistently throu… |
create_folder Create Folder
Creates a new empty folder inside a specified parent folder. The folder name must be unique within the parent (case-insensitive) and must not contain invalid characters or trailing spaces.
| Parameter | Type | Description |
|---|---|---|
folder_upload_email | object | Optional email upload configuration for the folder, allowing files to be uploaded by sending an email to a folder-specific address. |
id | string | The unique ID of the parent folder in which the new folder will be created. Use '0' to create the folder at the root level of the user's account. |
name | string | The display name for the new folder. Must be between 1 and 255 characters, must not contain non-printable ASCII characters, forward or backward slashes, or trailing spaces, and cannot be '.' or '..'.… |
sync_state | string | Specifies the sync state of the folder for Box Sync (discontinued). Accepted values are 'synced' (fully synced), 'not_synced' (not synced), or 'partially_synced' (some contents synced). Not applicable… |
copy_folder Copy Folder
Creates a copy of an existing folder and places it inside a specified destination folder. The original folder and its contents remain unchanged.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder to copy. The folder ID can be found in the Box web app URL when viewing the folder. The root folder (ID '0') cannot be copied. |
id | string | The ID of the destination parent folder where the copied folder will be placed. |
name | string | An optional name for the copied folder. If omitted, the original folder name is used. Names must be between 1 and 255 characters, cannot contain non-printable ASCII characters, forward or backward sla… |
list_folder_collaborations List Folder Collaborations
Retrieves all active and pending collaborations for a specified folder, returning details on users who currently have access or have been invited to collaborate.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder whose collaborations you want to retrieve. Find this ID in the Box web app by opening the folder and copying the numeric ID from the URL. |
limit | string | The maximum number of collaboration records to return in a single page of results. Accepts values up to 1000. |
get_trashed_folder Get Trashed Folder
Retrieves metadata for a specific folder that has been directly moved to the trash. Note: if a parent folder was trashed instead, only that parent folder can be retrieved via this endpoint.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the trashed folder to retrieve. Only folders directly moved to the trash are accessible; folders implicitly trashed via a parent cannot be retrieved by their own ID. |
permanently_delete_trashed_folder Permanently Delete Trashed Folder
Permanently deletes a folder that is currently in the trash, freeing storage and removing it from Box entirely. This action is irreversible and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder to permanently delete from trash. The folder ID can be found in the URL when viewing the folder in the Box web application. |
list_folder_metadata List Folder Metadata
Retrieves all metadata instances attached to a given folder. Cannot be used on the root folder (ID `0`).
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder whose metadata instances will be retrieved. Find this ID in the Box web app URL when viewing the folder. |
view | string | Controls how taxonomy field values are represented in the response. By default, taxonomy values are returned as node identifiers (API view); set to `hydrated` to return full taxonomy node details inst… |
get_folder_classification Get Folder Classification
Retrieves the security classification metadata applied to a specific folder. Returns the classification instance associated with the folder's enterprise security policy.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder whose classification metadata you want to retrieve. The root folder of a Box account is always ID '0'; other folder IDs can be found in the URL when viewing the fol… |
add_folder_classification Add Folder Classification
Applies a security classification label to a specified folder. The classification must exist in the enterprise's classification template.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder to classify. The ID can be found in the folder's URL in the Box web app; the root folder is always ID '0'. |
Box__Security__Classification__Key | string | The classification label to apply to the folder. Must match an existing classification key from the enterprise's security classification template. |
update_folder_classification Update Folder Classification
Updates the security classification label on a folder that already has a classification applied. Only classification values defined for the enterprise are accepted.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder whose classification will be updated. The folder ID can be found in the URL when viewing the folder in the Box web app. The root folder is always ID '0'. |
body | array | A list containing exactly one JSON Patch operation object describing the change to apply to the classification label. Only a single update operation is supported per request. |
remove_folder_classification Remove Folder Classification
Removes any existing security classification from a specified folder. This operation clears all classification metadata applied via the enterprise security classification schema.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder from which the classification will be removed. The root folder of a Box account is always represented by ID '0'. |
get_folder_metadata_instance Get Folder Metadata Instance
Retrieves a specific metadata template instance applied to a folder, returning its field values and associated metadata. Cannot be used on the root folder (ID `0`).
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder whose metadata instance you want to retrieve. Find this ID in the Box web app URL when viewing the folder. The root folder is always ID `0`, but is not supported by… |
scope * | string | The scope of the metadata template to retrieve, either `global` for Box-wide templates or `enterprise` for templates defined within your organization. |
template_key * | string | The unique key name of the metadata template whose instance you want to retrieve from the folder. |
create_folder_metadata Create Folder Metadata
Applies an instance of a metadata template to a folder, attaching structured key-value data based on the specified template. Note that the enterprise must have Cascading Folder Level Metadata enabled in the admin console for the metadata to appear in the Box web app.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder to which the metadata instance will be applied. The root folder of a Box account always uses ID `0`; other folder IDs can be found in the URL when viewing the folde… |
scope * | string | The scope of the metadata template to apply, either `global` for Box-wide templates or `enterprise` for templates defined within your enterprise. |
template_key * | string | The unique key name of the metadata template to apply to the folder. Use `properties` for the global free-form key-value template, which accepts any key-value pair. |
body | object | The metadata key-value pairs to store on the folder, conforming to the fields defined in the specified template. The `global.properties` template accepts any arbitrary key-value pairs. |
update_folder_metadata Update Folder Metadata
Updates a metadata instance on a folder using JSON Patch operations, applied atomically. The metadata template must already be applied to the folder, and all changes must conform to the template schema.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder to update metadata on. The ID appears in the folder's URL in the Box web app, and the root folder is always ID `0`. |
scope * | string | The scope of the metadata template, either globally defined or specific to the enterprise account. |
template_key * | string | The unique key name of the metadata template to update on the folder. |
body | array | A JSON Patch array of operation objects describing the changes to apply to the metadata instance. Operations are applied atomically — if any operation fails, no changes are made. |
delete_folder_metadata Delete Folder Metadata
Removes a specific metadata instance from a folder by deleting the metadata template instance identified by its scope and template key. This action permanently detaches the metadata from the folder.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder from which metadata will be removed. The root folder of a Box account is always represented by ID '0'; other folder IDs can be found in the URL when viewing the fol… |
scope * | string | The scope of the metadata template, determining whether it is a globally available template or one specific to the enterprise account. |
template_key * | string | The unique key name of the metadata template instance to remove from the folder, identifying which template's data should be deleted. |
list_trash_items List Trash Items
Retrieves all files and folders currently in the trash. Supports offset-based and marker-based pagination, and allows sorting and filtering by specific attributes using the fields parameter.
| Parameter | Type | Description |
|---|---|---|
direction | string | The sort direction for results, either ascending or descending alphabetical order. Items are always grouped by type first (folders, then files, then web links) before this ordering is applied. |
limit | string | The maximum number of items to return per page. Must be between 1 and 1000. |
offset | string | The zero-based index of the first item to include in the response, used for offset-based pagination. Offsets exceeding 10000 will result in a 400 error. |
sort | string | The secondary attribute by which to sort items within each type group. Items are always sorted by type first; this parameter is not supported when using marker-based pagination. |
get_folder_watermark Get Folder Watermark
Retrieves the watermark applied to a specific folder in Box. Returns watermark details if one exists, or a 404 if no watermark has been applied.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder whose watermark you want to retrieve. The root folder of a Box account is always represented by the ID '0'; other folder IDs can be found in the URL when viewing th… |
apply_folder_watermark Apply Folder Watermark
Applies or updates a watermark on a specified folder in Box. Use this to protect folder contents by overlaying a visible watermark imprint.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder to watermark. The folder ID can be found in the URL when viewing the folder in the Box web app. The root folder of any Box account is always ID `0`. |
imprint | string | The type of watermark imprint to apply to the folder. Currently only the default imprint style is supported. |
remove_folder_watermark Remove Folder Watermark
Removes the watermark from a specified folder in Box. Once removed, the folder's content will no longer display watermark overlays.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder from which the watermark will be removed. The root folder of a Box account is always represented by the ID '0'. |
list_folder_locks List Folder Locks
Retrieves all lock details for a specified folder, including lock type and restrictions. You must be authenticated as the owner or co-owner of the folder to use this endpoint.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder whose locks you want to retrieve. You can find this ID in the folder's URL in the Box web application; the root folder is always ID `0`. |
lock_folder Lock Folder
Creates a lock on a folder to prevent it from being moved and/or deleted. You must be the owner or co-owner of the folder to perform this action.
| Parameter | Type | Description |
|---|---|---|
delete | boolean | Whether to lock the folder against deletion, preventing it from being permanently removed. |
id | string | The unique identifier of the folder on which to apply the lock. |
move | boolean | Whether to lock the folder against move operations, preventing it from being relocated within the file system. |
delete_folder_lock Delete Folder Lock
Deletes a specific folder lock, removing any restrictions it imposed on the folder. You must be authenticated as the owner or co-owner of the folder to perform this action.
| Parameter | Type | Description |
|---|---|---|
folder_lock_id * | string | The unique identifier of the folder lock to delete. |
find_metadata_template_by_instance Find Metadata Template by Instance
Finds a metadata template by looking up the ID of one of its existing instances. Useful when you have an instance ID and need to retrieve the template definition it was created from.
| Parameter | Type | Description |
|---|---|---|
metadata_instance_id * | string | The unique UUID of a metadata template instance used to identify and retrieve the associated template definition. |
limit | string | The maximum number of metadata templates to return in a single page of results. Must be between 1 and 1000. |
list_classifications List Classifications
Retrieves the enterprise security classification metadata template and returns all classification labels available to the enterprise. Can also be accessed by specifying the enterprise ID explicitly in the URL.
get_metadata_template Get Metadata Template Schema
Retrieves a specific metadata template by its scope and template key. Use this to fetch full template details including its fields and configuration.
| Parameter | Type | Description |
|---|---|---|
scope * | string | The scope of the metadata template, either 'global' for Box-wide templates or 'enterprise' for templates specific to your organization. |
template_key * | string | The unique key identifying the metadata template within its scope. To discover available template keys, list all templates for an enterprise or globally, or list templates applied to a file or folder. |
update_metadata_template Update Metadata Template
Updates an existing metadata template by applying a series of JSON-Patch operations atomically. All changes succeed or fail together — no partial updates are applied if any operation encounters an error.
| Parameter | Type | Description |
|---|---|---|
scope * | string | The scope of the metadata template, determining its visibility and ownership — either globally available or restricted to the enterprise. |
template_key * | string | The unique key identifying the metadata template within the given scope. |
body | array | An ordered array of JSON-Patch (RFC 6902) operation objects describing the changes to apply to the metadata template. Each item specifies an operation type, target path, and value as needed. |
delete_metadata_template Delete Metadata Template Schema
Permanently deletes a metadata template and all of its associated instances. This action is irreversible and removes the template across all content it was applied to.
| Parameter | Type | Description |
|---|---|---|
scope * | string | The scope of the metadata template, determining whether it applies globally across all enterprises or is specific to your enterprise. |
template_key * | string | The unique key name identifying the metadata template within the specified scope. |
get_metadata_template_by_id Get Metadata Template by ID
Retrieves a specific metadata template by its unique ID. Use this to inspect template structure, fields, and configuration for a known template.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | The unique identifier of the metadata template to retrieve. |
list_global_metadata_templates List Global Metadata Templates
Retrieves all generic, global metadata templates available to every enterprise using Box. These templates are not organization-specific and can be applied universally across all Box accounts.
| Parameter | Type | Description |
|---|---|---|
limit | string | The maximum number of metadata templates to return per page. Accepts values up to 1000; omit to use the default page size. |
list_enterprise_metadata_templates List Enterprise Metadata Templates
Retrieves all metadata templates created for use within the authenticated user's enterprise. Returns a paginated list of enterprise-scoped templates available for applying structured metadata to content.
| Parameter | Type | Description |
|---|---|---|
limit | string | Maximum number of metadata templates to return per page. Accepts values up to 1000. |
create_metadata_template Create Metadata Template
Creates a new metadata template that can be applied to files and folders within an enterprise, defining custom fields for organizing and categorizing content.
| Parameter | Type | Description |
|---|---|---|
copyInstanceOnItemCopy | boolean | Determines whether metadata instances attached to a file or folder are automatically copied when that item is copied. Defaults to false, meaning metadata is not copied. |
displayName | string | The human-readable name of the template shown in the Box UI and API responses, up to 4096 characters. |
fields | array | An ordered list of field definitions that make up the template. Each field can be of type text, date, number, single-select, or multi-select list, and the order provided determines display order. |
hidden | boolean | Controls whether the template is visible in the Box web app UI. Set to true to hide it and restrict usage to API access only. |
scope | string | The scope under which the metadata template will be created. Must be set to 'enterprise', as global-scoped templates cannot be created via the API. |
templateKey | string | A unique identifier for the template across the enterprise, used to reference it programmatically. Must start with a letter or underscore, followed by letters, digits, hyphens, or underscores, up to 6… |
initialize_classifications Initialize Classifications
Initializes the classification metadata template for an enterprise with an initial set of classifications. Use this only when no classification template exists yet; if one already exists, use the add classifications endpoint instead.
| Parameter | Type | Description |
|---|---|---|
copyInstanceOnItemCopy | boolean | Controls whether the assigned classification is automatically copied to a new item when a file or folder is copied. Set to true to propagate classifications on copy, or false to leave the copy unclass… |
fields | array | Defines the classification values available in the template. Exactly one field object must be provided, containing all valid classification options as enumerated values within that field. |
hidden | boolean | Controls whether the classification template is hidden from users on web and mobile devices. Set to true to restrict visibility, or false to make classifications available for selection. |
list_metadata_cascade_policies List Metadata Cascade Policies
Retrieves all metadata cascade policies applied to a specific folder, which automatically apply metadata templates to items within that folder. Cannot be used on the root folder (ID `0`).
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The ID of the folder for which to retrieve metadata cascade policies. Must be a valid non-root folder; the root folder with ID `0` is not supported. |
offset | string | The zero-based index of the first item to include in the response, used for paginating through results. Must not exceed 10000; requests with a higher offset will be rejected with a 400 error. |
owner_enterprise_id | string | The ID of the enterprise whose metadata cascade policies should be returned. Defaults to the currently authenticated enterprise if not provided. |
create_metadata_cascade_policy Create Metadata Cascade Policy
Creates a metadata cascade policy that automatically applies a metadata template from a specified folder down to all files within it. The folder must already have an instance of the target metadata template applied before the policy can take effect.
| Parameter | Type | Description |
|---|---|---|
folder_id | string | The unique identifier of the folder to which the cascade policy will be applied. The folder must already have an instance of the target metadata template applied to it. |
metadata_template | string | The metadata template identifier in 'scope/templateKey' format (e.g., 'enterprise_12345/contractTemplate') |
get_metadata_cascade_policy Get Metadata Cascade Policy
Retrieves the details of a specific metadata cascade policy assigned to a folder. Use this to inspect how metadata templates are being propagated from a folder to its contents.
| Parameter | Type | Description |
|---|---|---|
metadata_cascade_policy_id * | string | The unique identifier of the metadata cascade policy to retrieve. |
apply_metadata_cascade_policy Apply Metadata Cascade Policy
Force-applies a metadata cascade policy to all existing children within a folder, ensuring inherited metadata values are propagated down. Useful after creating a new cascade policy to retroactively enforce metadata on files already present in the folder.
| Parameter | Type | Description |
|---|---|---|
metadata_cascade_policy_id * | string | The unique identifier of the metadata cascade policy to force-apply to the folder's children. |
conflict_resolution | string | Determines how to handle conflicts when a child file already has an instance of the metadata template applied. Use 'none' to preserve existing values on the child, or 'overwrite' to replace them with… |
query_items_by_metadata Query Items by Metadata
Search for files and folders using SQL-like syntax against a specific metadata template. Use the `fields` attribute to include additional metadata fields in the results.
| Parameter | Type | Description |
|---|---|---|
ancestor_folder_id | string | The ID of the folder to scope the query to. Use `0` to search across all accessible folders, or provide a specific folder ID to restrict results to that folder and its subfolders. |
from | string | The metadata template to query against, specified as `scope.templateKey`. Built-in Box-provided classification templates are not supported. |
limit | integer | The maximum number of results to return in a single request, between 0 and 100. This is an upper boundary and does not guarantee a minimum number of results. |
order_by | array | An ordered list of metadata template fields and sort directions to apply to the results. All items in the array must use the same sort direction. |
query | string | A SQL-like logical expression used to filter items by their metadata field values. Use named placeholders (e.g., `:paramName`) to reference values defined in `query_params`. |
query_params | object | A key-value map of named parameters referenced in the `query` expression. Each value's type must match the corresponding metadata template field type. |
get_comment Get Comment
Retrieves the message, metadata, and author information for a specific comment. Use this to fetch the full details of a single comment by its unique identifier.
| Parameter | Type | Description |
|---|---|---|
comment_id * | string | The unique identifier of the comment to retrieve. |
update_comment Update Comment
Updates the message text of an existing comment. Use this to edit or correct the content of a previously posted comment.
| Parameter | Type | Description |
|---|---|---|
comment_id * | string | The unique identifier of the comment to update. |
message | string | The new text content to replace the comment's existing message. |
delete_comment Delete Comment
Permanently deletes a comment by its unique identifier. This action is irreversible and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
comment_id * | string | The unique identifier of the comment to permanently delete. |
create_comment Create Comment
Creates a new comment on a file or as a reply to an existing comment. Supports mentioning other users via a tagged message syntax to trigger email notifications.
| Parameter | Type | Description |
|---|---|---|
id | string | The unique identifier of the file or comment this comment will be attached to. |
tagged_message | string | The text of the comment using mention syntax to tag another user, formatted as `@[user_id:display_name]` anywhere in the message. Use the plain `message` parameter instead if no user mentions are need… |
type | string | Specifies whether the comment is being placed on a file or as a reply to an existing comment. |
get_collaboration Get Collaboration
Retrieves the details of a single collaboration by its unique identifier. Use this to inspect collaboration settings, permissions, and associated users or groups.
| Parameter | Type | Description |
|---|---|---|
collaboration_id * | string | The unique identifier of the collaboration to retrieve. |
update_collaboration Update Collaboration
Updates an existing collaboration on a Box item, allowing you to change the collaborator's role, accept or reject a pending invitation, set an expiration date, or toggle parent path visibility.
| Parameter | Type | Description |
|---|---|---|
collaboration_id * | string | The unique identifier of the collaboration to update. |
can_view_path | boolean | When true, allows the invited collaborator to see the full parent folder path to the collaborated item without gaining access to parent folder contents. Only applicable to folder collaborations; only… |
expires_at | string | The date and time at which the collaboration will be automatically removed from the item, specified in ISO 8601 format. Requires the 'Automatically remove invited collaborators' setting to be enabled… |
role | string | The permission level to grant the collaborator. Not required when accepting a collaboration invitation. Valid values range from read-only access (viewer, previewer) to full ownership (owner). |
status | string | Sets the status of a pending collaboration invitation to accept or reject it. Only applicable to collaborations currently in a pending state. |
delete_collaboration Delete Collaboration
Permanently removes a collaboration by its unique identifier. This action cannot be undone and will revoke the associated access or shared relationship.
| Parameter | Type | Description |
|---|---|---|
collaboration_id * | string | The unique identifier of the collaboration to delete. |
list_pending_collaborations List Pending Collaborations
Retrieves all pending collaboration invites for the authenticated user. Returns a paginated list of collaborations awaiting the user's response.
| Parameter | Type | Description |
|---|---|---|
status * | string | Filters collaborations by their current status. Only pending invites are supported by this endpoint. |
limit | string | Limits the number of collaboration records returned in a single page. Accepts values up to 1,000. |
offset | string | Zero-based index of the first item to include in the response, used for paginating through results. Must not exceed 10,000; requests beyond this limit will return a 400 error. |
create_collaboration Create Collaboration
Grants a single user or group access to a file or folder by creating a collaboration with a specified role. Collaborators can be identified by user ID, group ID, or email address.
| Parameter | Type | Description |
|---|---|---|
accessible_byId | string | The unique Box ID of the user or group being invited. Use this or the email-based login field to identify a user, but not both. |
accessible_byType | string | Specifies whether the collaborator being invited is an individual user or a group. Group invitations depend on the group's invite permissions. |
can_view_path | boolean | When true, allows the collaborator to see the full parent folder path to the shared folder without gaining access to parent folder contents. Only applicable to folder collaborations, and only owners o… |
expires_at | string | The date and time at which the collaboration will be automatically removed from the item, provided in ISO 8601 format. Requires the expiry extension setting to be enabled in the Admin Console Enterpri… |
is_access_only | boolean | When true, the collaborator can access the shared item but it will not appear in their All Files list and the root folder path will be hidden. |
itemId | string | The unique Box ID of the file or folder to which access is being granted. |
itemType | string | The type of Box item the collaboration will be granted access to, either a file or a folder. |
login | string | The email address of the user to invite as a collaborator. Use this or the user ID field to identify a user, but not both. |
notify | boolean | Whether to send an email notification to the invited collaborator when the collaboration is created. |
role | string | The permission level granted to the collaborator, controlling what actions they can perform on the item. |
search_content Search Content
Search for files, folders, web links, and shared files across the authenticated user's content or the entire enterprise, with support for rich filtering by metadata, date ranges, file type, ownership, and more.
| Parameter | Type | Description |
|---|---|---|
ancestor_folder_ids | array | Restricts results to items located within the specified folders or their subfolders, provided as an array of folder ID strings. Folders must be accessible to the authenticated user; inaccessible or no… |
content_types | array | Restricts the search to specific parts of an item, such as its name, description, file content, comments, or tags. Provide as an array of recognized content type strings. |
created_at_range | array | Restricts results to items created within a date range, provided as an array of two RFC3339 timestamp strings representing start and end dates. Either bound may be omitted to create an open-ended rang… |
deleted_at_range | array | Restricts results to items deleted within a date range, provided as an array of two RFC3339 timestamp strings representing start and end dates. Requires `trash_content` to be set to `trashed_only`. On… |
deleted_user_ids | array | Restricts results to items deleted by the specified users, provided as an array of user ID strings. Requires `trash_content` to be set to `trashed_only`. Only available for data from 2023-02-01 onward… |
direction | string | Sets the sort direction for results as ascending (`ASC`) or descending (`DESC`). Ignored when `sort` is set to `relevance`, which always returns results in descending relevance order. |
file_extensions | array | Restricts results to files matching any of the specified file extensions. Provide extensions without leading dots as an array. |
include_recent_shared_links | boolean | When set to true, includes items the user recently accessed via a shared link in the results. Enabling this changes the response format to include shared link metadata. |
limit | string | Maximum number of items to return per page of results. Must be between 1 and 200. |
mdfilters | array | Restricts results to items whose metadata matches a specific metadata template filter. Accepts exactly one metadata filter object; required when `query` is not provided. |
owner_user_ids | array | Restricts results to items owned by the specified users, provided as an array of user ID strings. Items must still be accessible to the authenticated user; inaccessible owners yield empty results. |
query | string | The text to search for, matched against item names, descriptions, file content, and other fields. Supports boolean operators AND, OR, and NOT (uppercase only), and exact phrase matching using double q… |
recent_updater_user_ids | array | Restricts results to items most recently updated by the specified users, provided as an array of user ID strings. Only the last 10 versions of each item are considered. |
scope | string | Restricts search results to content accessible by the current user (`user_content`) or all content across the entire enterprise (`enterprise_content`). Enterprise scope requires admin enablement via s… |
size_range | array | Restricts results to items whose file size falls within a byte range, provided as an array of two integers representing the lower and upper bounds (inclusive). Either bound may be omitted to create an… |
sort | string | Determines the ordering of search results. Use `relevance` to rank by match quality or `modified_at` to order by most recently modified first. |
trash_content | string | Controls whether results include items in the trash, items not in the trash, or both. Defaults to returning only non-trashed items. |
type | string | Restricts results to a single item type: `file`, `folder`, or `web_link`. When omitted, all item types are returned. |
updated_at_range | array | Restricts results to items last updated within a date range, provided as an array of two RFC3339 timestamp strings representing start and end dates. Either bound may be omitted to create an open-ended… |
create_task Create Task
Creates a new task on a specified file, optionally configuring the action type, due date, message, and completion rules. The task must be assigned to users separately after creation.
| Parameter | Type | Description |
|---|---|---|
action | string | The action assignees will be prompted to perform: 'review' creates an approval task that can be approved or rejected, while 'complete' creates a general task that can simply be marked as done. |
completion_rule | string | Determines how many assignees must act on the task before it is considered complete: 'all_assignees' requires every assignee to respond, while 'any_assignee' requires only one. |
due_at | string | The deadline by which the task should be completed, specified as an ISO 8601 date-time string. Defaults to null if omitted. |
id | string | The unique identifier of the file on which the task will be created. |
message | string | An optional message displayed to task assignees providing context or instructions for the task. |
type | string | The type of item the task is being created on; must always be set to 'file'. |
get_task Get Task
Retrieves detailed information about a specific task by its unique identifier. Use this to fetch the current state, metadata, and attributes of a single task.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The unique identifier of the task to retrieve. |
update_task Update Task
Updates an existing task's configuration or completion state, including its action type, message, due date, and assignee completion rules.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The unique identifier of the task to update. |
action | string | The type of action assignees are prompted to perform: 'review' creates an approval task that can be approved or rejected, while 'complete' creates a general task that can be marked done. |
completion_rule | string | Determines how many assignees must complete the task before it is marked as completed: 'all_assignees' requires every assignee to act, while 'any_assignee' requires only one. |
due_at | string | The deadline by which the task should be completed, specified as an ISO 8601 date-time string. |
message | string | The instructional message displayed to task assignees describing what they need to do. |
delete_task Delete Task
Permanently removes a task from its associated file. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The unique identifier of the task to be deleted. |
list_task_assignments List Task Assignments
Retrieves all assignments associated with a specific task, returning the list of users or groups assigned to it.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The unique identifier of the task whose assignments you want to retrieve. |
assign_task Assign Task
Assigns a task to a specific user by user ID or email address. A task can be assigned to multiple users by creating separate assignments.
| Parameter | Type | Description |
|---|---|---|
assign_toId | string | The unique identifier of the user to assign the task to. Use the `login` parameter instead to specify the user by email address. |
login | string | The email address of the user to assign the task to. Use the `id` parameter instead to specify the user by their unique user ID. |
taskId | string | The unique identifier of the task to be assigned. |
type | string | The type of the item being assigned. Must always be set to 'task'. |
get_task_assignment Get Task Assignment
Retrieves detailed information about a specific task assignment, including its status, assignee, and associated task. Use this to inspect the current state of a single task assignment by its unique identifier.
| Parameter | Type | Description |
|---|---|---|
task_assignment_id * | string | The unique identifier of the task assignment to retrieve. |
update_task_assignment Update Task Assignment
Updates a task assignment for a specific user, allowing changes to the resolution state or an optional assignee message. Supported resolution states depend on the task's action type (complete or review).
| Parameter | Type | Description |
|---|---|---|
task_assignment_id * | string | The unique identifier of the task assignment to update. |
message | string | An optional message from the assignee to accompany the task assignment update. |
resolution_state | string | The resolution state to set for the task assignment. For tasks with action type 'complete', valid values are 'incomplete' or 'completed'. For tasks with action type 'review', valid values are 'incompl… |
delete_task_assignment Delete Task Assignment
Removes a specific task assignment, unassigning the user from the associated task. This action permanently deletes the assignment record.
| Parameter | Type | Description |
|---|---|---|
task_assignment_id * | string | The unique identifier of the task assignment to delete. |
create_web_link Create Web Link
Creates a web link object inside a specified folder, storing a URL as a navigable item within Box. Useful for bookmarking external resources directly within a folder hierarchy.
| Parameter | Type | Description |
|---|---|---|
description | string | An optional human-readable description providing additional context about the web link's destination or purpose. |
id | string | The ID of the parent folder where the web link will be created. Use '0' to target the root folder. |
name | string | A display name for the web link as it appears in the folder. If omitted, the URL is used as the name. |
url | string | The full URL the web link points to. Must begin with 'http://' or 'https://'. |
get_web_link Get Web Link
Retrieves detailed information about a specific web link, including its URL, name, and associated metadata. Useful for inspecting or displaying a saved web link by its unique identifier.
| Parameter | Type | Description |
|---|---|---|
web_link_id * | string | The unique identifier of the web link to retrieve. |
restore_web_link Restore Web Link
Restores a web link from the trash back to its original location or an alternative parent folder. An optional new name and parent folder can be specified if the original folder no longer exists.
| Parameter | Type | Description |
|---|---|---|
web_link_id * | string | The unique identifier of the web link to restore from the trash. |
name | string | An optional new name to assign to the web link upon restoration, useful if a naming conflict exists in the destination folder. |
parent | object | An optional parent folder object specifying an alternative destination to restore the web link into, used when the original parent folder has been deleted. |
update_web_link Update Web Link
Updates an existing web link object, allowing changes to its URL, name, description, parent location, and shared link settings such as access level, password, vanity name, and expiration.
| Parameter | Type | Description |
|---|---|---|
web_link_id * | string | The unique identifier of the web link to update. |
access | string | The visibility level for the shared link. Use 'open' for anyone with the link, 'company' for internal users only (paid accounts), or 'collaborators' for invited users only. Omitting this field applies… |
description | string | A new human-readable description for the web link to provide additional context about its destination. |
name | string | A new display name for the web link. If omitted, the name defaults to the URL. |
parent | object | The parent folder to move the web link into. Provide the target folder's identifier to relocate the web link. |
password | string | A password required to access the shared link. Must be at least eight characters and include a number, uppercase letter, or non-alphanumeric character. Can only be set when access is 'open'; set to nu… |
unshared_at | string | The ISO 8601 datetime at which the shared link expires and becomes inaccessible. Must be a future datetime and can only be set by users on paid accounts. |
url | string | The new destination URL for the web link. Must begin with 'http://' or 'https://'. |
vanity_name | string | A custom vanity slug appended to the shared link URL path. Must be at least 12 characters. Avoid using vanity names for sensitive content as they are easier to guess than standard shared links. |
delete_web_link Delete Web Link
Permanently deletes a web link by its unique identifier. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
web_link_id * | string | The unique identifier of the web link to delete. |
get_trashed_web_link Get Trashed Web Link
Retrieves the details of a web link that has been moved to the trash. Useful for inspecting or restoring a trashed web link before permanent deletion.
| Parameter | Type | Description |
|---|---|---|
web_link_id * | string | The unique identifier of the web link to retrieve from the trash. |
permanently_delete_web_link Permanently Delete Web Link
Permanently deletes a web link that is currently in the trash, removing it from Box entirely. This action is irreversible and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
web_link_id * | string | The unique identifier of the web link to permanently delete from the trash. |
list_users List Users
Retrieves a paginated list of all enterprise users, including their user ID, public name, and login. Requires the authenticated user and application to have enterprise-wide user lookup permissions.
| Parameter | Type | Description |
|---|---|---|
external_app_user_id | string | Restricts results to app users that were created with the specified external_app_user_id value, allowing lookup of app users by your own identifier assigned at creation time. |
filter_term | string | Narrows results to users whose name or login starts with the given term. For externally managed users, the term must be an exact match and will return at most one result. |
limit | string | Maximum number of users to return in a single response page. Accepts values up to 1000. |
offset | string | Zero-based index of the first item to include in the response, used for paginating through large result sets. Must not exceed 10000. |
user_type | string | Filters results by user category: 'all' includes every user type with partial name/login matching (exact match required for external users), 'managed' returns only managed and app users with partial m… |
create_user Create User
Creates a new managed or app user within a Box enterprise account. Requires admin-level permissions on the calling user or application.
| Parameter | Type | Description |
|---|---|---|
address | string | The user's physical address as displayed in their profile, limited to 255 characters. |
can_see_managed_users | boolean | Whether the user can view and search other managed users within the enterprise in their contact list. |
external_app_user_id | string | A custom identifier from an external identity provider that can be used to look up and map this Box user to an external system's user record. |
is_exempt_from_device_limits | boolean | When set to true, exempts the user from the enterprise-wide limit on the number of devices they can log in from. |
is_exempt_from_login_verification | boolean | When set to true, exempts the user from the enterprise's two-factor authentication requirement at login. |
is_external_collab_restricted | boolean | When set to true, restricts the user from collaborating on content with users outside the enterprise. |
is_platform_access_only | boolean | When set to true, designates this user as a platform (app) user rather than a standard managed enterprise user. |
is_sync_enabled | boolean | Whether the user is permitted to use Box Sync to synchronize files to their local device. |
job_title | string | The user's job title as displayed in their profile, limited to 100 characters. |
language | string | The display language for the user's Box interface, formatted as a modified ISO 639-1 language code. |
name_and_login | string | The user's display name and login email in RFC 5322 format: "Display Name <user@example.com>". The login email is required unless is_platform_access_only is true, in which case you may omit the angle-… |
phone | string | The user's phone number as displayed in their profile, limited to 100 characters. |
role | string | The user's role within the enterprise, either a co-administrator with elevated privileges or a standard user. |
space_amount | string | The total storage quota allocated to the user in bytes. Use -1 to grant unlimited storage. |
status | string | The initial account status for the user, controlling their ability to log in and interact with content. |
timezone | string | The user's local timezone, used for scheduling and display purposes, specified as a timezone identifier string. |
tracking_codes | array | A list of tracking code objects (each with a name and value) used to categorize users for admin reporting. This feature must be enabled for the enterprise before use; order is not significant. |
get_current_user Get Current User
Retrieves profile and account information for the currently authenticated user, whether that is an OAuth 2.0 authorizing user, a JWT service account, or an impersonated user specified via the As-User header.
terminate_user_sessions Terminate User Sessions
Terminates active sessions for one or more users by dispatching asynchronous jobs, after validating the caller's roles and permissions. Accepts user IDs, user logins, or both to identify the target accounts.
| Parameter | Type | Description |
|---|---|---|
user_ids | array | A list of unique user IDs identifying the accounts whose sessions should be terminated. Order is not significant; each entry should be a valid numeric user ID string. |
user_logins | array | A list of user login email addresses identifying the accounts whose sessions should be terminated. Order is not significant; each entry should be a valid email address associated with a user account. |
get_user Get User
Retrieves profile and account information for a specific user within the enterprise. Also returns a limited set of fields for external collaborators, with restricted fields returning null.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | The unique identifier of the user whose information you want to retrieve. |
update_user Update User
Updates profile, permissions, and account settings for a managed or app user within an enterprise. Requires admin-level permissions to execute.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | The unique identifier of the user to update. |
address | string | The user's physical address. Maximum 255 characters. |
can_see_managed_users | boolean | Whether the user can see other enterprise users in their contact list. |
email | string | The email address to which enterprise notifications for this user will be sent. |
enterprise | string | Set to null to remove the user from the enterprise and convert them to a free user. |
external_app_user_id | string | An external identifier linking this Box app user to a user in an external identity provider. Can only be updated using a token from the application that originally created the app user. |
is_exempt_from_device_limits | boolean | Whether the user is exempt from the enterprise-wide limit on the number of devices they can log in from. |
is_exempt_from_login_verification | boolean | Whether the user is exempt from two-factor authentication requirements. Set to true to bypass login verification. |
is_external_collab_restricted | boolean | Whether the user is restricted from collaborating with users outside the enterprise. Set to true to block external collaboration. |
is_password_reset_required | boolean | Whether the user will be required to reset their password on their next login. |
is_sync_enabled | boolean | Whether the user is permitted to use Box Sync to synchronize files to their local device. |
job_title | string | The user's job title as displayed on their profile. Maximum 100 characters. |
language | string | The user's preferred language, specified as a modified ISO 639-1 language code. |
login | string | The primary email address the user uses to log in. Cannot be changed if the target user's email address has not been confirmed. |
name | string | The display name of the user. Maximum 50 characters. |
notify | boolean | Whether the user should receive an email notification when they are rolled out of the enterprise. |
phone | string | The user's phone number. Maximum 100 characters. |
role | string | The user's role within the enterprise. Use 'coadmin' to grant co-administrator privileges or 'user' for a standard role. |
space_amount | string | The user's total available storage quota in bytes. Set to -1 to grant unlimited storage. |
status | string | The user's account status. Use 'inactive' to deactivate the account, or 'cannot_delete_edit'/'cannot_delete_edit_upload' to apply restrictions. |
timezone | string | The user's timezone, specified as a valid IANA timezone identifier. |
tracking_codes | array | A list of tracking code objects assigned to the user, used by admins to generate reports and group users by attributes. This feature must be enabled for the enterprise before use. |
delete_user Delete User
Permanently deletes a user account from the enterprise. By default, deletion is blocked if the user owns content, was recently active, or recently joined from a free account; use the force parameter to override these safeguards or move owned content beforehand.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | The unique identifier of the user to delete. |
force | boolean | When set to true, bypasses deletion safeguards and removes the user even if they still own files, were recently active, or recently joined the enterprise from a free account; their owned files will al… |
notify | boolean | Whether to send the user an email notification informing them of their account deletion. |
get_user_avatar Get User Avatar
Retrieves the avatar image for a specified user. Returns the user's profile picture as an image resource.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | The unique identifier of the user whose avatar image should be retrieved. |
upload_user_avatar Upload User Avatar
Adds or replaces the avatar image for a specified user. Accepts JPG or PNG files up to 1MB in size.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | The unique identifier of the user whose avatar is being added or updated. |
pic | string | Base64-encoded file content for upload. The image file to upload as the user's avatar. Must be a JPG or PNG file and cannot exceed 1MB in size. |
delete_user_avatar Delete User Avatar
Permanently removes the avatar image for the specified user. This action is irreversible and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | The unique identifier of the user whose avatar will be permanently deleted. |
transfer_user_folders Transfer User Folders
Transfers all files, folders, and workflows owned by a specified user into another user's account by moving the root folder. Requires administrative permissions; large transfers run asynchronously, and admins receive an email upon completion.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | The unique identifier of the user whose root folder and all owned content will be transferred. |
id | string | The unique identifier of the destination user who will receive ownership of the transferred folders and files. |
notify | boolean | Whether to send email notifications to relevant users about the transfer action being performed. |
list_user_email_aliases List User Email Aliases
Retrieves all secondary email aliases associated with a specific user account. Note that the user's primary login email is not included in the returned collection.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | The unique identifier of the user whose email aliases should be retrieved. |
create_email_alias Create Email Alias
Adds a new email alias to an existing user account, allowing the user to send and receive email under an additional address. The alias domain must be registered and verified under your enterprise.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | The unique identifier of the user account to which the email alias will be added. |
email | string | The email address to register as an alias on the user account. The domain portion must be verified and registered to your enterprise before use. |
remove_user_email_alias Remove User Email Alias
Removes a specific email alias from a user's account. Once removed, the alias can no longer be used to identify or contact the user.
| Parameter | Type | Description |
|---|---|---|
email_alias_id * | string | The unique identifier of the email alias to remove from the user. |
user_id * | string | The unique identifier of the user whose email alias will be removed. |
list_user_memberships List User Memberships
Retrieves all group memberships for a specified user. Accessible only to members of the same group or users with admin-level permissions.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | The unique identifier of the user whose group memberships are being retrieved. |
limit | string | The maximum number of group memberships to return per page. Accepts values up to 1000. |
invite_enterprise_user Invite Enterprise User
Invites an existing Box user to join an enterprise by sending them an email prompt to accept within the Box web application. The user must already have a Box account and must not currently belong to another enterprise.
| Parameter | Type | Description |
|---|---|---|
id | string | The unique identifier of the enterprise to which the user is being invited. |
login | string | The email address (login) of the existing Box user to invite to the enterprise. |
get_invite Get Invite
Retrieves the current status of a specific user invite. Useful for checking whether an invite has been accepted, is pending, or has expired.
| Parameter | Type | Description |
|---|---|---|
invite_id * | string | The unique identifier of the invite whose status you want to retrieve. |
list_groups List Groups
Retrieves all groups belonging to the enterprise, with optional filtering by name. Requires admin permissions to access enterprise group data.
| Parameter | Type | Description |
|---|---|---|
filter_term | string | Narrows results to only groups whose name begins with the specified search term. Omitting this parameter returns all groups. |
limit | string | Maximum number of groups to return in a single page of results. Accepts values between 1 and 1000. |
offset | string | Zero-based index of the first item to include in the response, used for paginating through results. Offsets greater than 10000 are not permitted and will return a 400 error. |
create_group Create Group
Creates a new user group within an enterprise account. Requires admin permissions; supports linking to external directory systems like Active Directory or Okta for one-way sync.
| Parameter | Type | Description |
|---|---|---|
description | string | A human-readable description providing additional context about the group's purpose or origin. Maximum 255 characters. |
external_sync_identifier | string | An arbitrary identifier used to link this Box group to a corresponding group in an external system, such as an Active Directory Object ID or Google Group ID. Using this field is recommended to prevent… |
invitability_level | string | Controls who can invite this group to collaborate on folders. Use `admins_only` to restrict invitations to enterprise admins, co-admins, and the group's admin; `admins_and_members` to also allow group… |
member_viewability_level | string | Controls who can view the membership list of this group. Use `admins_only` to restrict visibility to enterprise admins, co-admins, and the group's admin; `admins_and_members` to also allow group membe… |
name | string | The display name for the new group, which must be unique across the entire enterprise. |
provenance | string | Identifies the external source system this group originates from (e.g., Active Directory or Okta). Setting this prevents Box admins from editing the group name or members via the Box web app, enabling… |
terminate_group_sessions Terminate Group Sessions
Terminates all active sessions for one or more user groups by creating asynchronous jobs after validating group roles and permissions. Returns the status of the termination request.
| Parameter | Type | Description |
|---|---|---|
group_ids | array | A list of group IDs whose sessions should be terminated. Order is not significant; each item should be a valid group ID string. |
get_group Get Group
Retrieves detailed information about a specific group by its ID. Only group members or users with admin-level permissions can access this endpoint.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | The unique identifier of the group to retrieve. |
update_group Update Group
Updates the properties of an existing group, such as its name, description, sync identifiers, and visibility settings. Only group admins or enterprise admins have permission to perform this operation.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | The unique identifier of the group to update. |
description | string | A human-readable description providing additional context about the group's purpose or origin. Maximum 255 characters. |
external_sync_identifier | string | An arbitrary identifier used to link this Box group to a corresponding group in an external system, such as an Active Directory Object ID or Google Group ID. Using this field is recommended to prevent… |
invitability_level | string | Controls who can invite this group to collaborate on folders. Use `admins_only` to restrict invitations to enterprise and group admins, `admins_and_members` to also allow group members, or `all_manage… |
member_viewability_level | string | Controls who can view the membership list of this group. Use `admins_only` to restrict visibility to enterprise and group admins, `admins_and_members` to also allow group members, or `all_managed_user… |
name | string | The updated display name for the group, which must remain unique across the enterprise. |
provenance | string | Identifies the external source system this group originates from (e.g., Active Directory or Okta). Setting this value prevents Box admins from editing the group name or members directly in the Box web… |
delete_group Delete Group
Permanently deletes a group and all associated data. Requires admin-level permissions to perform this action.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | The unique identifier of the group to be permanently deleted. |
list_group_members List Group Members
Retrieves all membership records for a specified group, including details about each member. Accessible only to members of the group or users with admin-level permissions.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | The unique identifier of the group whose members you want to retrieve. |
limit | string | The maximum number of membership records to return per page. Accepts values up to 1000; omit to use the API default. |
list_group_collaborations List Group Collaborations
Retrieves all collaborations for a specified group, showing which files or folders the group can access and with what role. Requires admin permissions to inspect enterprise groups.
| Parameter | Type | Description |
|---|---|---|
group_id * | string | The unique identifier of the group whose collaborations you want to retrieve. |
limit | string | The maximum number of collaboration records to return per page. Accepts values up to 1000. |
offset | string | The zero-based index of the first item to include in the response, used for paginating through results. Offset values exceeding 10000 will result in a 400 error. |
add_user_to_group Add User to Group
Adds a user to a group with a specified role and optional custom admin permissions. Requires admin-level permissions to perform this action.
| Parameter | Type | Description |
|---|---|---|
configurable_permissions | object | Custom permission overrides for group admins only; has no effect on members with the 'member' role. Pass null to disable all configurable permissions, or specify individual permissions — any omitted… |
groupId | string | The unique identifier of the group the user will be added to. |
role | string | The role assigned to the user within the group. Use 'member' for standard access or 'admin' for elevated group management privileges. |
userId | string | The unique identifier of the user to be added to the group. |
get_group_membership Get Group Membership
Retrieves details of a specific group membership by its unique ID. Only group admins or users with admin-level permissions can access this endpoint.
| Parameter | Type | Description |
|---|---|---|
group_membership_id * | string | The unique identifier of the group membership record to retrieve. |
update_group_membership Update Group Membership
Updates a user's role or permissions within a specific group membership. Only group admins or users with admin-level permissions can perform this action.
| Parameter | Type | Description |
|---|---|---|
group_membership_id * | string | The unique identifier of the group membership record to update. |
configurable_permissions | object | A map of specific permission overrides for a group admin, replacing their default access levels. Only applies to users with the 'admin' role; has no effect on members. Pass null to disable all configu… |
role | string | The role to assign to the user within the group. Accepted values are 'member' for standard access or 'admin' for elevated group management privileges. |
remove_group_member Remove Group Member
Removes a user from a group by deleting the specified group membership. Only group admins or users with admin-level permissions can perform this action.
| Parameter | Type | Description |
|---|---|---|
group_membership_id * | string | The unique identifier of the group membership record to delete, representing the association between a specific user and group. |
list_webhooks List Webhooks
Retrieves all webhooks defined for the authenticated application, scoped to files and folders owned by the requesting user. Note that admins cannot view webhooks created by service accounts unless they have explicit access to those folders, and vice versa.
| Parameter | Type | Description |
|---|---|---|
limit | string | The maximum number of webhooks to return in a single page of results. Must be between 1 and 1000. |
get_webhook Get Webhook
Retrieves the configuration and details of a specific webhook by its unique identifier. Useful for inspecting webhook settings, target URLs, and event subscriptions.
| Parameter | Type | Description |
|---|---|---|
webhook_id * | string | The unique identifier of the webhook to retrieve. |
delete_webhook Delete Webhook
Permanently deletes a webhook by its unique identifier, stopping all future event notifications associated with it.
| Parameter | Type | Description |
|---|---|---|
webhook_id * | string | The unique identifier of the webhook to delete. |
update_skill_cards_on_file Update Skill Cards on File
Overwrites and updates all Box Skill metadata cards on a file for a given skill. Use this method to replace existing Skill cards with new ones in a single operation.
list_events List Events
Retrieves up to one year of past events for the authenticated user or, with admin privileges, for the entire enterprise. Supports both real-time polling and historical querying via configurable stream types.
| Parameter | Type | Description |
|---|---|---|
created_after | string | The earliest date and time (inclusive) for which to return events, specified in ISO 8601 format. Only applicable when 'stream_type' is 'admin_logs'; ignored for all other stream types. |
created_before | string | The latest date and time (inclusive) for which to return events, specified in ISO 8601 format. Only applicable when 'stream_type' is 'admin_logs'; ignored for all other stream types. |
event_type | array | A list of specific event type strings to filter results by. Only applicable when 'stream_type' is 'admin_logs' or 'admin_logs_streaming'; ignored for all other stream types. Each item should be a vali… |
limit | string | Maximum number of events to return per request, up to 500. Fewer events than requested may be returned even when more exist, as the API may return already-retrieved events rather than waiting for addi… |
stream_position | string | The cursor position in the event stream from which to begin returning events. Use 'now' to initialize a stream and receive only the latest position with no events, or '0' / null to retrieve all availa… |
stream_type | string | Controls the scope and type of events returned. Use 'all' for the authenticated user's full event history, 'changes' or 'sync' for file-tree-affecting events, 'admin_logs' for paginated historical ent… |
list_collections List Collections
Retrieves all collections belonging to the authenticated user. Currently, only the favorites collection is supported.
| Parameter | Type | Description |
|---|---|---|
limit | string | The maximum number of collections to return in a single response page. Accepts values up to 1,000. |
offset | string | The zero-based index of the first item to include in the response, enabling pagination through large result sets. Offset values exceeding 10,000 will result in a 400 error. |
list_collection_items List Collection Items
Retrieves the files and folders contained within a specified collection. Supports pagination to navigate large result sets.
| Parameter | Type | Description |
|---|---|---|
collection_id * | string | The unique identifier of the collection whose items you want to retrieve. |
limit | string | The maximum number of items to return in a single response page. Accepts values up to 1000. |
offset | string | The zero-based index of the first item to return, enabling pagination through results. Must not exceed 10000; requests beyond this limit will be rejected with a 400 error. |
get_collection Get Collection
Retrieves the details of a specific collection by its unique identifier. Use this to fetch metadata and contents associated with a single collection.
| Parameter | Type | Description |
|---|---|---|
collection_id * | string | The unique identifier of the collection to retrieve. |
list_recent_items List Recent Items
Retrieves a list of items recently accessed by the current user, covering activity from the last 90 days or up to the last 1000 items accessed, whichever limit is reached first.
| Parameter | Type | Description |
|---|---|---|
limit | string | The maximum number of recently accessed items to return. Accepts values up to 1000. |
list_retention_policies List Retention Policies
Retrieves all retention policies configured for the enterprise, with optional filtering by name, type, or creator. Useful for auditing data governance rules or locating specific policies before applying or modifying them.
| Parameter | Type | Description |
|---|---|---|
created_by_user_id | string | Filters results to only policies created by the user with the specified user ID. Useful for auditing or managing policies owned by a particular administrator. |
limit | string | Limits the number of retention policies returned per page. Accepts values up to 1000; omitting this parameter returns the default page size. |
policy_name | string | Filters results to only retention policies whose names begin with the specified string. The match is case-sensitive and prefix-based, so partial names from the start of the policy name are supported. |
policy_type | string | Filters results by the retention policy type. Use 'finite' for policies with a defined expiration period, or 'indefinite' for policies that retain content without a set end date. |
get_retention_policy Get Retention Policy
Retrieves the details of a specific retention policy by its unique identifier. Use this to inspect policy settings such as retention duration, disposition action, and assignment scope.
| Parameter | Type | Description |
|---|---|---|
retention_policy_id * | string | The unique identifier of the retention policy to retrieve. |
update_retention_policy Update Retention Policy
Updates an existing retention policy's settings, including its name, duration, disposition action, and notification preferences. You can also use this operation to retire a policy or convert it from modifiable to non-modifiable.
| Parameter | Type | Description |
|---|---|---|
retention_policy_id * | string | The unique identifier of the retention policy to update. |
are_owners_notified | boolean | Whether owners and co-owners of items under this policy receive notifications as the retention period approaches its end. |
can_owner_extend_retention | boolean | Whether the owner of items under this policy is permitted to extend the retention period as it approaches expiration. |
custom_notification_recipients | array | An explicit list of additional users to notify when the retention duration is nearing expiration. Each item should represent a user recipient; order is not significant. |
description | string | An optional extended text description providing additional context or purpose for the retention policy. |
disposition_action | The action taken when the retention period expires. Use 'permanently_delete' to destroy retained content or 'remove_retention' to lift the policy and allow user-initiated deletion. Pass null to leave… | |
policy_name | string | The updated display name for the retention policy. |
retention_length | The number of days the retention policy remains active after being assigned to content. For indefinite policies, this value should also be 'indefinite'. | |
retention_type | string | The modifiability type of the retention policy. Only 'non-modifiable' can be set when updating; you may convert a modifiable policy to non-modifiable, but not the reverse. Non-modifiable policies supp… |
status | string | Set to 'retired' to retire the retention policy. Omit this parameter or pass null if you are not retiring the policy. |
delete_retention_policy Delete Retention Policy
Permanently deletes a retention policy by its unique identifier. This action is irreversible and removes the policy and its associated settings.
| Parameter | Type | Description |
|---|---|---|
retention_policy_id * | string | The unique identifier of the retention policy to permanently delete. |
list_retention_policy_assignments List Retention Policy Assignments
Retrieves all assignments for a specified retention policy, showing which folders, enterprise, or metadata templates the policy is applied to. Optionally filter results by assignment type and control page size.
| Parameter | Type | Description |
|---|---|---|
retention_policy_id * | string | The unique identifier of the retention policy whose assignments you want to retrieve. |
limit | string | The maximum number of assignments to return in a single page of results. Accepts values up to 1000. |
type | string | Filters the results to only return assignments of a specific type. Accepted values are 'folder', 'enterprise', or 'metadata_template'. |
assign_retention_policy Assign Retention Policy
Assigns a retention policy to a specific target, such as a folder, enterprise, or metadata template. Use this to enforce data retention rules on content within Box.
| Parameter | Type | Description |
|---|---|---|
filter_fields | array | An array of field-value filter objects used to narrow the assignment when the target type is 'metadata_template'. Each object must contain a 'field' key and a 'value' key; currently only one filter ob… |
id | string | The unique identifier of the specific folder or metadata template to assign the policy to. Omit or set to null when assigning to the entire enterprise. |
policy_id | string | The unique identifier of the retention policy to assign to the target item. |
start_date_field | string | The date from which the retention policy assignment takes effect. When the target type is 'metadata_template', this can reference a date-type metadata attribute key ID to dynamically determine the sta… |
type | string | The category of item the retention policy will be assigned to. Use 'enterprise' to apply policy-wide, 'folder' for a specific folder, or 'metadata_template' to target items matching a metadata templat… |
get_retention_policy_assignment Get Retention Policy Assignment
Retrieves the details of a specific retention policy assignment by its unique ID. Use this to inspect how a retention policy has been applied to a particular content target.
| Parameter | Type | Description |
|---|---|---|
retention_policy_assignment_id * | string | The unique identifier of the retention policy assignment to retrieve. |
delete_retention_policy_assignment Delete Retention Policy Assignment
Removes a retention policy assignment, detaching the retention policy from the previously assigned content. This action stops the policy from being enforced on that content going forward.
| Parameter | Type | Description |
|---|---|---|
retention_policy_assignment_id * | string | The unique identifier of the retention policy assignment to remove. |
list_files_under_retention List Files Under Retention
Retrieves a paginated list of files currently under retention for a specific retention policy assignment. Useful for auditing which files are actively governed by a given retention rule.
| Parameter | Type | Description |
|---|---|---|
retention_policy_assignment_id * | string | The unique identifier of the retention policy assignment whose retained files you want to retrieve. |
limit | string | The maximum number of files to return per page. Accepts values up to 1000; omit to use the API default. |
list_file_versions_under_retention List File Versions Under Retention
Retrieves a paginated list of file versions currently under retention for a specific retention policy assignment. Useful for auditing which file versions are being preserved by a given policy.
| Parameter | Type | Description |
|---|---|---|
retention_policy_assignment_id * | string | The unique identifier of the retention policy assignment whose retained file versions you want to retrieve. |
limit | string | The maximum number of file version records to return per page. Accepts values up to 1000. |
list_legal_hold_policies List Legal Hold Policies
Retrieves all legal hold policies belonging to the enterprise. Supports filtering by policy name prefix to narrow results.
| Parameter | Type | Description |
|---|---|---|
limit | string | The maximum number of legal hold policies to return in a single page of results. Accepts values up to 1000. |
policy_name | string | Filters results to only include policies whose names begin with this search term. The match is case-insensitive. |
get_legal_hold_policy Get Legal Hold Policy
Retrieves the details of a specific legal hold policy by its unique identifier. Use this to inspect policy configuration, status, and associated metadata.
| Parameter | Type | Description |
|---|---|---|
legal_hold_policy_id * | string | The unique identifier of the legal hold policy to retrieve. |
update_legal_hold_policy Update Legal Hold Policy
Updates the name, description, or release notes of an existing legal hold policy. Use this to modify policy details after creation without affecting associated holds.
| Parameter | Type | Description |
|---|---|---|
legal_hold_policy_id * | string | The unique identifier of the legal hold policy to update. |
description | string | An updated human-readable description of the legal hold policy's purpose or scope. Must not exceed 500 characters. |
policy_name | string | The updated display name for the legal hold policy. Must not exceed 254 characters. |
release_notes | string | Notes explaining the reason or context for releasing this legal hold policy. Must not exceed 500 characters. |
delete_legal_hold_policy Delete Legal Hold Policy
Deletes an existing legal hold policy by its ID. This is an asynchronous operation, so the policy may not be fully removed immediately when the response is returned.
| Parameter | Type | Description |
|---|---|---|
legal_hold_policy_id * | string | The unique identifier of the legal hold policy to delete. |
list_legal_hold_policy_assignments List Legal Hold Policy Assignments
Retrieves a list of all items (files, folders, users, etc.) that a specific legal hold policy has been assigned to. Supports filtering by item type and item ID for targeted lookups.
| Parameter | Type | Description |
|---|---|---|
policy_id * | string | The unique identifier of the legal hold policy whose assignments you want to retrieve. |
assign_to_id | string | Narrows results to only assignments targeting a specific item by its unique ID. Best used in combination with assign_to_type for precise filtering. |
assign_to_type | string | Narrows results to only assignments targeting a specific item type. Accepted values are 'file', 'file_version', 'folder', 'user', 'ownership', or 'interactions'. |
limit | string | The maximum number of assignments to return in a single page of results. Accepts values up to 1000. |
assign_legal_hold_policy Assign Legal Hold Policy
Assigns a legal hold policy to a specific item, such as a file, file version, folder, user, ownership, or interactions. Use this to enforce legal holds across different content types within Box.
| Parameter | Type | Description |
|---|---|---|
id | string | The unique identifier of the specific item (file, folder, user, etc.) to which the legal hold policy will be assigned. |
policy_id | string | The unique identifier of the legal hold policy to assign to the target item. |
type | string | The category of item to which the legal hold policy will be applied. Must be one of: file, file_version, folder, user, ownership, or interactions. |
get_legal_hold_policy_assignment Get Legal Hold Policy Assignment
Retrieves the details of a specific legal hold policy assignment by its unique ID. Use this to inspect which users, folders, or files are bound to a particular legal hold policy.
| Parameter | Type | Description |
|---|---|---|
legal_hold_policy_assignment_id * | string | The unique identifier of the legal hold policy assignment to retrieve. |
remove_legal_hold_policy_assignment Remove Legal Hold Policy Assignment
Removes a legal hold policy assignment from an item, unlinking the policy from the associated content. This is an asynchronous operation; the hold may not be fully released by the time the response is returned.
| Parameter | Type | Description |
|---|---|---|
legal_hold_policy_assignment_id * | string | The unique identifier of the legal hold policy assignment to remove. |
list_legal_hold_assignment_files List Legal Hold Assignment Files
Retrieves a paginated list of files with their current file versions held under a specific legal hold policy assignment. For previous file versions on hold, use the file versions on hold endpoint instead.
| Parameter | Type | Description |
|---|---|---|
legal_hold_policy_assignment_id * | string | The unique identifier of the legal hold policy assignment whose held files you want to retrieve. |
limit | string | The maximum number of files to return per page, up to a maximum of 1000. |
list_legal_hold_assignment_file_versions List Legal Hold Assignment File Versions
Retrieves a paginated list of previous (past) file versions placed on hold for a specific legal hold policy assignment. Use this endpoint for historical file versions; for current file versions on hold, use the files_on_hold endpoint instead.
| Parameter | Type | Description |
|---|---|---|
legal_hold_policy_assignment_id * | string | The unique identifier of the legal hold policy assignment whose past file versions on hold should be retrieved. |
limit | string | The maximum number of file version records to return per page. Accepts values up to 1000. |
get_file_version_legal_hold Get File Version Legal Hold
Retrieves details about the legal hold policies assigned to a specific file version. Use this to inspect which legal holds are actively applied to a given file version.
| Parameter | Type | Description |
|---|---|---|
file_version_legal_hold_id * | string | The unique identifier of the file version legal hold record to retrieve. |
list_file_version_legal_holds List File Version Legal Holds
Retrieves file versions currently held under a specific legal hold policy, covering legacy-architecture holds only. For holds in the new architecture, use the legal hold policy assignment endpoints instead.
| Parameter | Type | Description |
|---|---|---|
policy_id * | string | The unique identifier of the legal hold policy whose file version holds you want to retrieve. |
limit | string | The maximum number of file version legal hold records to return in a single page of results; must be between 1 and 1000. |
get_information_barrier Get Information Barrier
Retrieves details of a specific shield information barrier by its unique ID. Useful for inspecting the configuration and status of an existing barrier between user groups.
| Parameter | Type | Description |
|---|---|---|
shield_information_barrier_id * | string | The unique identifier of the shield information barrier to retrieve. |
update_shield_barrier_status Update Shield Barrier Status
Changes the status of a shield information barrier to control its enforcement state. Use this to activate, suspend, or disable an existing barrier by its unique ID.
| Parameter | Type | Description |
|---|---|---|
id | string | The unique identifier of the shield information barrier whose status you want to change. |
status | string | The target status to apply to the shield information barrier. Accepted values are 'pending' (barrier is queued for activation) or 'disabled' (barrier is turned off). |
list_shield_information_barriers List Shield Information Barriers
Retrieves all shield information barriers configured for the enterprise associated with the JWT token. Shield information barriers restrict communication and data access between internal groups.
| Parameter | Type | Description |
|---|---|---|
limit | string | The maximum number of shield information barrier records to return in a single page of results. Must be between 1 and 1000. |
create_shield_information_barrier Create Shield Information Barrier
Creates a shield information barrier within an enterprise to separate individuals or groups and prevent confidential information from passing between them. Use this to enforce ethical walls or compliance boundaries within the same firm.
| Parameter | Type | Description |
|---|---|---|
enterprise | object | The type and ID of the enterprise under which this shield information barrier will be created. |
list_barrier_reports List Barrier Reports
Retrieves a paginated list of shield information barrier reports associated with a specific barrier. Use this to audit or review compliance reports generated for a given information barrier.
| Parameter | Type | Description |
|---|---|---|
shield_information_barrier_id * | string | The unique identifier of the shield information barrier whose reports should be listed. |
limit | string | The maximum number of reports to return per page. Accepts values up to 1000; omit to use the server default. |
create_barrier_report Create Barrier Report
Generates a compliance report for a specified shield information barrier, providing a snapshot of the barrier's configuration and activity. Useful for auditing and regulatory review of information separation policies.
| Parameter | Type | Description |
|---|---|---|
id | string | The unique identifier of the shield information barrier for which the report will be generated. |
type | string | The resource type of the shield information barrier being referenced. Must be set to the designated barrier type value. |
get_barrier_report Get Barrier Report
Retrieves a specific shield information barrier report by its unique ID. Use this to fetch the status and details of a previously created compliance barrier report.
| Parameter | Type | Description |
|---|---|---|
shield_information_barrier_report_id * | string | The unique identifier of the shield information barrier report to retrieve. |
get_barrier_segment Get Barrier Segment
Retrieves the details of a specific shield information barrier segment by its unique ID. Shield information barrier segments define the boundaries that restrict information flow between groups within an organization.
| Parameter | Type | Description |
|---|---|---|
shield_information_barrier_segment_id * | string | The unique identifier of the shield information barrier segment to retrieve. |
update_barrier_segment Update Barrier Segment
Updates the name and/or description of a specific shield information barrier segment by its ID. Use this to modify segment metadata without affecting its underlying barrier configuration.
| Parameter | Type | Description |
|---|---|---|
shield_information_barrier_segment_id * | string | The unique identifier of the shield information barrier segment to update. |
description | string | The new description to assign to the barrier segment, providing context about its purpose or the division it represents. |
name | string | The new name to assign to the barrier segment. Must contain at least one non-whitespace character. |
delete_barrier_segment Delete Barrier Segment
Permanently deletes a shield information barrier segment by its unique ID. This action removes the segment and its associated configurations from the information barrier.
| Parameter | Type | Description |
|---|---|---|
shield_information_barrier_segment_id * | string | The unique identifier of the shield information barrier segment to delete. |
list_barrier_segments List Barrier Segments
Retrieves all shield information barrier segments associated with a specified information barrier. Segments define the groups or users separated by the barrier.
| Parameter | Type | Description |
|---|---|---|
shield_information_barrier_id * | string | The unique identifier of the shield information barrier whose segments you want to retrieve. |
limit | string | The maximum number of barrier segment objects to return in a single page of results. Accepts values up to 1000. |
create_barrier_segment Create Barrier Segment
Creates a named segment within an existing shield information barrier, allowing organizations to define distinct groups or divisions for information separation and compliance purposes.
| Parameter | Type | Description |
|---|---|---|
description | string | An optional narrative description providing additional context about the barrier segment's purpose or the division it represents. |
id | string | The unique identifier of the parent shield information barrier under which this segment will be created. |
name | string | A human-readable name for the barrier segment that identifies the division or group being isolated. |
type | string | The resource type of the associated shield information barrier; must be set to the designated barrier type value. |
get_barrier_segment_member Get Barrier Segment Member
Retrieves a specific shield information barrier segment member by its unique ID. Useful for inspecting the details of an individual member assigned to a barrier segment.
| Parameter | Type | Description |
|---|---|---|
shield_information_barrier_segment_member_id * | string | The unique identifier of the shield information barrier segment member to retrieve. |
delete_barrier_segment_member Delete Barrier Segment Member
Permanently removes a specific member from a shield information barrier segment. Use this to revoke a user's association with a segment when access restrictions need to be updated.
| Parameter | Type | Description |
|---|---|---|
shield_information_barrier_segment_member_id * | string | The unique identifier of the shield information barrier segment member to delete. |
list_barrier_segment_members List Barrier Segment Members
Retrieves a paginated list of members belonging to a specific shield information barrier segment. Use this to audit or review which users are assigned to a given segment.
| Parameter | Type | Description |
|---|---|---|
shield_information_barrier_segment_id * | string | The unique identifier of the shield information barrier segment whose members you want to retrieve. |
limit | string | The maximum number of segment members to return in a single page of results. Must be between 1 and 1000. |
add_barrier_segment_member Add Barrier Segment Member
Adds a user as a member of a shield information barrier segment, applying the segment's information restrictions to that user.
| Parameter | Type | Description |
|---|---|---|
shield_information_barrierId | string | The unique identifier of the shield information barrier that the target segment belongs to. |
shield_information_barrier_segmentId | string | The unique identifier of the shield information barrier segment to which the user will be added as a member. |
user | object | The user object representing the individual to whom the segment's information barrier restrictions will be applied. |
get_barrier_segment_restriction Get Barrier Segment Restriction
Retrieves a specific shield information barrier segment restriction by its unique ID. Use this to inspect the details of an existing restriction between two information barrier segments.
| Parameter | Type | Description |
|---|---|---|
shield_information_barrier_segment_restriction_id * | string | The unique identifier of the shield information barrier segment restriction to retrieve. |
list_barrier_segment_restrictions List Barrier Segment Restrictions
Retrieves all shield information barrier segment restrictions associated with a specific segment. Use this to audit or review access restrictions applied to a given barrier segment.
| Parameter | Type | Description |
|---|---|---|
shield_information_barrier_segment_id * | string | The unique identifier of the shield information barrier segment whose restrictions you want to list. |
limit | string | The maximum number of restriction records to return in a single page of results. Must be between 1 and 1000. |
get_device_pin Get Device Pin
Retrieves detailed information about a specific device pin by its unique identifier. Useful for inspecting the status and metadata of an individual device pinning record.
| Parameter | Type | Description |
|---|---|---|
device_pinner_id * | string | The unique identifier of the device pin to retrieve. |
delete_device_pin Delete Device Pin
Permanently removes a specific device pin, revoking the trusted device association for the corresponding user. This action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
device_pinner_id * | string | The unique identifier of the device pin to delete. |
list_enterprise_device_pins List Enterprise Device Pins
Retrieves all device pins registered within a specified enterprise. Requires admin privileges and the 'manage enterprise' application scope.
| Parameter | Type | Description |
|---|---|---|
enterprise_id * | string | The unique identifier of the enterprise whose device pins you want to retrieve. |
direction | string | The sort order for the returned results, either ascending (ASC) or descending (DESC) alphabetical order. |
limit | string | The maximum number of device pins to return per page, up to a maximum of 1000. |
list_terms_of_service_user_statuses List Terms of Service User Statuses
Retrieves the acceptance status of users for a specific terms of service, including whether each user has accepted the terms and the timestamp of their response. Optionally filter results to a single user.
| Parameter | Type | Description |
|---|---|---|
tos_id * | string | The unique identifier of the terms of service whose user acceptance statuses should be retrieved. |
user_id | string | When provided, restricts the results to the acceptance status of a single user matching this ID. |
create_terms_of_service_user_status Create Terms of Service User Status
Creates or sets the acceptance status of a terms of service agreement for a specific user. Use this to record whether a new user has accepted or declined a given terms of service.
| Parameter | Type | Description |
|---|---|---|
is_accepted | boolean | Indicates whether the user has accepted the terms of service; set to true if accepted, false if declined. |
tosId | string | The unique identifier of the terms of service document to associate with the user status. |
userId | string | The unique identifier of the user whose terms of service acceptance status is being recorded. |
update_terms_of_service_user_status Update Terms of Service User Status
Updates the acceptance status of a terms of service agreement for a specific user. Use this to record whether a user has accepted or declined a terms of service.
| Parameter | Type | Description |
|---|---|---|
terms_of_service_user_status_id * | string | The unique identifier of the terms of service user status record to update. |
is_accepted | boolean | Indicates whether the user has accepted the terms of service; set to true to mark acceptance or false to mark rejection. |
get_collaboration_whitelist_entry Get Collaboration Whitelist Entry
Retrieves a specific domain that has been approved for external collaborations within the current enterprise. Use this to inspect the details of a single whitelisted domain entry by its unique ID.
| Parameter | Type | Description |
|---|---|---|
collaboration_whitelist_entry_id * | string | The unique identifier of the collaboration whitelist entry to retrieve. |
list_storage_policy_assignments List Storage Policy Assignments
Retrieves all storage policy assignments for a specified enterprise or user. Returns the storage policies currently assigned to the given target.
| Parameter | Type | Description |
|---|---|---|
resolved_for_id * | string | The unique identifier of the user or enterprise whose storage policy assignments should be retrieved. Must correspond to the entity type specified in resolved_for_type. |
resolved_for_type * | string | The type of entity to retrieve storage policy assignments for, either a specific user or an entire enterprise. |
assign_storage_policy Assign Storage Policy
Assigns a storage policy to a specific user or enterprise, controlling where their content is stored. Use this to enforce data residency or storage tier requirements.
| Parameter | Type | Description |
|---|---|---|
assigned_toId | string | The unique identifier of the user or enterprise to which the storage policy will be assigned. |
assigned_toType | string | The type of entity receiving the storage policy assignment, either an individual user or an entire enterprise. |
storage_policyId | string | The unique identifier of the storage policy to assign to the target entity. |
storage_policyType | string | The resource type being assigned as the storage policy; must always be 'storage_policy'. |
get_storage_policy_assignment Get Storage Policy Assignment
Retrieves the details of a specific storage policy assignment by its unique identifier. Useful for inspecting which storage policy is applied to a particular user or enterprise.
| Parameter | Type | Description |
|---|---|---|
storage_policy_assignment_id * | string | The unique identifier of the storage policy assignment to retrieve. |
delete_storage_policy_assignment Delete Storage Policy Assignment
Removes a storage policy assignment, causing the affected user to inherit the enterprise's default storage policy. Note: this endpoint is rate-limited to two calls per user within any 24-hour period.
| Parameter | Type | Description |
|---|---|---|
storage_policy_assignment_id * | string | The unique identifier of the storage policy assignment to delete. |
create_zip_download Create Zip Download
Initiates a zip archive download request for multiple files and folders, validating access permissions and returning a download URL and status URL. The archive is limited to 10,000 files or the account's upload limit, with a recommended maximum total size of 25GB.
| Parameter | Type | Description |
|---|---|---|
download_file_name | string | The base name for the generated zip archive file, without the file extension. The `.zip` extension will be appended automatically. |
items | array | A list of files and folders to include in the zip archive. Order is not significant; each item should specify its type and identifier. |
download_zip_archive Download Zip Archive
Downloads the binary contents of a previously created zip archive using the download URL provided when the archive was requested. This endpoint requires no authentication and is intended for direct browser-based downloads; the URL is time-limited and a new zip download request must be created if the session expires.
| Parameter | Type | Description |
|---|---|---|
zip_download_id * | string | The unique identifier for the zip archive, obtained from the `download_url` field returned by the Create Zip Download API. |
get_zip_download_status Get Zip Download Status
Retrieves the current download progress and status of a zip archive, including any items that were skipped. This endpoint is accessible only after the download has started and remains valid for 12 hours from initiation.
| Parameter | Type | Description |
|---|---|---|
zip_download_id * | string | The unique identifier for the zip archive whose status is being checked, obtained from the response of the Create zip download API. |
cancel_sign_request Cancel Sign Request
Cancels an active Box Sign request, preventing further signing actions by any recipients. An optional reason can be provided to document why the request was cancelled.
| Parameter | Type | Description |
|---|---|---|
sign_request_id * | string | The unique identifier of the sign request to cancel. |
reason | string | An optional explanation for why the sign request is being cancelled, useful for audit trails and notifying stakeholders. |
resend_sign_request Resend Sign Request
Resends the signature request email to all outstanding signers who have not yet completed signing. Useful for following up on pending signatures without creating a new request.
| Parameter | Type | Description |
|---|---|---|
sign_request_id * | string | The unique identifier of the signature request to resend notifications for. |
get_sign_request Get Sign Request
Retrieves the details of a specific Box Sign request by its unique ID. Use this to check the status, signers, and configuration of an existing signature request.
| Parameter | Type | Description |
|---|---|---|
sign_request_id * | string | The unique identifier of the Box Sign request to retrieve. |
list_sign_requests List Sign Requests
Retrieves all Box Sign signature requests created by the authenticated user. Requests associated with deleted sign files or parent folders are excluded from results.
| Parameter | Type | Description |
|---|---|---|
limit | string | Maximum number of signature requests to return per page. Accepts values up to 1000. |
senders | array | Filters results to only include signature requests sent by the specified email addresses. Requires `shared_requests` to be set to `true` when used. Order is not significant; each item should be a vali… |
shared_requests | boolean | When `true`, returns only signature requests where the authenticated user is a collaborator (not the owner); collaborator access is determined by the user's access level on the associated sign files.… |
create_sign_request Create Sign Request
Creates a Box Sign signature request by preparing a document for signing and dispatching it to one or more signers. Use this to initiate a new e-signature workflow on a document stored in Box.
list_workflows List Workflows
Retrieves all workflows associated with a specific folder that have a manually triggerable flow. Requires the Manage Box Relay application scope to be enabled in the developer console.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | The unique identifier of the folder whose associated workflows you want to retrieve. The root folder of a Box account is always ID 0; other folder IDs can be found in the URL when viewing the folder i… |
limit | string | The maximum number of workflows to return in a single response, up to a limit of 1000. |
trigger_type | string | Filters workflows by their trigger type, returning only workflows that match the specified trigger. Use to narrow results to a specific trigger category. |
start_workflow Start Workflow
Manually triggers a Box Relay workflow with a WORKFLOW_MANUAL_START trigger type for a specified folder and optional files. Requires the Manage Box Relay application scope to be authorized in the developer console.
| Parameter | Type | Description |
|---|---|---|
workflow_id * | string | The unique identifier of the workflow to start. |
files | array | An array of file objects for which the workflow should be started; each file must already exist within the workflow's configured folder. Order is not significant. |
flowId | string | The unique identifier of the specific flow within the workflow to trigger. |
flowType | string | Identifies the type of the flow object being referenced within the parameters. |
folderId | string | The unique identifier of the folder configured for this workflow; all provided files must reside within this folder. |
folderType | string | Identifies the type of the folder object being referenced; must be set to 'folder'. |
outcomes | array | An array of configurable outcome objects that the workflow should complete as part of its execution. Order is not significant. |
type | string | Identifies the type of the top-level parameters object being submitted; must be set to 'workflow_parameters'. |
list_sign_templates List Sign Templates
Retrieves all Box Sign templates created by the authenticated user. Returns a paginated list of templates available for use in signing workflows.
| Parameter | Type | Description |
|---|---|---|
limit | string | The maximum number of sign templates to return per page. Accepts values up to 1000. |
get_sign_template Get Sign Template
Retrieves the full details of a specific Box Sign template by its unique ID. Use this to inspect template configuration, fields, and signers before initiating a signing request.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | The unique identifier of the Box Sign template to retrieve. |
list_slack_integration_mappings List Slack Integration Mappings
Retrieves all Slack integration mappings for the enterprise, showing how Box folders are linked to Slack channels. Requires Admin or Co-Admin role.
| Parameter | Type | Description |
|---|---|---|
box_item_id | string | Filters results to only return mappings associated with the specified Box item ID. |
box_item_type | string | Filters results to only return mappings for the specified Box item type. Currently only 'folder' is supported. |
is_manually_created | boolean | Filters results to only return mappings that were manually created (true) or automatically created (false). |
limit | string | Maximum number of integration mappings to return per page. Accepts values up to 1000. |
partner_item_id | string | Filters results to only return mappings associated with the specified Slack partner item ID, such as a specific Slack channel ID. |
partner_item_type | string | Filters results to only return mappings for the specified Slack item type. Currently only 'channel' is supported. |
list_teams_integration_mappings List Teams Integration Mappings
Retrieves a list of Box for Teams integration mappings within an enterprise, showing how Box items are linked to Microsoft Teams channels or teams. Requires Admin or Co-Admin role.
| Parameter | Type | Description |
|---|---|---|
box_item_id | string | Filters results to only return mappings associated with the specified Box item ID. |
box_item_type | string | Filters results to only return mappings for the specified Box item type. Currently only folder mappings are supported. |
partner_item_id | string | Filters results to only return mappings associated with the specified Microsoft Teams item ID. |
partner_item_type | string | Filters results to only return mappings for the specified Microsoft Teams item type, either a channel or a team. |
create_teams_integration_mapping Create Teams Integration Mapping
Creates a Teams integration mapping by linking a Microsoft Teams channel to a Box item. Requires Admin or Co-Admin role.
| Parameter | Type | Description |
|---|---|---|
box_item | object | The Box item (such as a folder) to map to the Teams channel, identifying the Box-side resource in the integration. |
partner_item | object | The Microsoft Teams channel to map, identifying the partner-side resource in the integration. |
extract_metadata_freeform Extract Metadata Freeform
Sends a freeform prompt to an LLM to extract key-value metadata from one or more files, without requiring a predefined metadata template. Both the prompt structure and the output format are flexible, supporting XML or JSON schema prompts.
extract_structured_metadata Extract Structured Metadata
Sends files to a Box AI-supported LLM and returns extracted metadata as structured key-value pairs. Define the extraction structure using either a metadata template or a custom list of fields.
list_ai_agents List AI Agents
Retrieves a list of AI agents configured in the account, with optional filtering by mode, state, and whether to include Box default agents.
| Parameter | Type | Description |
|---|---|---|
agent_state | array | Filters results to only return agents in the specified states. Accepts one or more of the following values: `enabled`, `disabled`, or `enabled_for_selected_users`. Order is not significant. |
include_box_default | boolean | When set to true, includes Box-provided default agents in the response alongside any custom agents. |
limit | string | The maximum number of agents to return in a single response. Accepts a value between 1 and 1000. |
mode | array | Filters results to only return agents configured for the specified modes. Accepts one or more of the following values: `ask`, `text_gen`, or `extract`. Order is not significant. |
create_ai_agent Create AI Agent
Creates a new AI agent with one or more capabilities (ask, text_gen, or extract). At least one capability must be configured when creating the agent.
get_ai_agent Get AI Agent
Retrieves a specific AI agent by its unique identifier. Returns the full agent configuration and metadata for the specified agent.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | The unique identifier of the AI agent to retrieve. |
list_metadata_taxonomies List Metadata Taxonomies
Retrieves all metadata taxonomies within a specified namespace, enabling discovery of available taxonomy structures for organizing and classifying content metadata.
| Parameter | Type | Description |
|---|---|---|
namespace * | string | The namespace that scopes the metadata taxonomies to retrieve, typically representing an enterprise or organizational boundary. |
limit | string | The maximum number of taxonomy items to return in a single page of results, up to a maximum of 1000. |
get_metadata_taxonomy Get Metadata Taxonomy
Retrieves a specific metadata taxonomy by its unique key within a given namespace. Use this to inspect the structure and configuration of a taxonomy for organizing and classifying metadata.
| Parameter | Type | Description |
|---|---|---|
namespace * | string | The namespace that scopes the metadata taxonomy, typically representing an enterprise or organizational unit. |
taxonomy_key * | string | The unique key identifying the metadata taxonomy to retrieve within the specified namespace. |
list_taxonomy_nodes List Taxonomy Nodes
Retrieves nodes within a specific metadata taxonomy, supporting filtering by level, parent, or ancestor relationships. Results are sorted lexicographically by default, or by relevance when a search query is provided.
| Parameter | Type | Description |
|---|---|---|
namespace * | string | The namespace that owns the metadata taxonomy, used to scope the taxonomy to a specific organization or enterprise. |
taxonomy_key * | string | The unique key identifying the metadata taxonomy within the given namespace. |
ancestor | array | Filters nodes to only those that are descendants of the specified ancestor node identifier(s) at any depth. Multiple values may be provided; nodes matching any specified ancestor are returned. |
include-total-result-count | boolean | When set to true, includes the total count of matching nodes in the response. Counts are computed for up to 10,000 matching elements; defaults to false. |
level | array | Filters nodes to only those at the specified depth level(s) within the taxonomy hierarchy. Multiple values may be provided; nodes matching any specified level are returned. |
limit | string | The maximum number of taxonomy nodes to return in a single page of results. Must be between 1 and 1,000. |
parent | array | Filters nodes to only those whose immediate parent matches the specified node identifier(s). Multiple values may be provided; nodes matching any specified parent are returned. |
query | string | Free-text search string to find matching taxonomy nodes by name or content. When provided, results are ranked by relevance rather than lexicographic order. |
get_taxonomy_node Get Taxonomy Node
Retrieves a single metadata taxonomy node by its unique identifier within a specified namespace and taxonomy. Useful for inspecting the details of a specific classification node in a hierarchical metadata structure.
| Parameter | Type | Description |
|---|---|---|
namespace * | string | The namespace that scopes the metadata taxonomy, typically representing an enterprise or organizational unit. |
node_id * | string | The unique identifier of the taxonomy node to retrieve, formatted as a UUID. |
taxonomy_key * | string | The unique key identifying the metadata taxonomy within the namespace, representing a classification domain such as geography or department. |
delete_taxonomy_node Delete Taxonomy Node
Permanently deletes a specific node from a metadata taxonomy. Only leaf nodes (those without children) can be deleted, and this action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
namespace * | string | The namespace that scopes the metadata taxonomy, typically representing an organization or enterprise account. |
node_id * | string | The unique identifier of the taxonomy node to delete. The node must have no children before it can be removed. |
taxonomy_key * | string | The unique key identifying the metadata taxonomy within the namespace. |
list_taxonomy_field_options List Taxonomy Field Options
Retrieves available taxonomy nodes for a specific taxonomy field within a metadata template, filtered by level, parent, ancestor, or search query. Results are sorted lexicographically by default, or by relevance when a query is provided.
| Parameter | Type | Description |
|---|---|---|
field_key * | string | The key identifying the specific taxonomy field within the metadata template whose options are being retrieved. |
namespace * | string | The namespace that scopes the metadata taxonomy, typically tied to an enterprise account. |
template_key * | string | The unique key identifying the metadata template that contains the taxonomy field. |
ancestor | array | Filters results to nodes that are descendants of the specified ancestor node identifiers at any depth. Multiple values may be provided; nodes matching any specified ancestor are included. |
include-total-result-count | boolean | When set to true, the response includes the total count of nodes matching the query, computed for up to 10,000 results. Defaults to false. |
level | array | Filters results to taxonomy nodes at the specified depth levels. Multiple values may be provided; nodes matching any specified level are included. |
limit | string | The maximum number of taxonomy nodes to return in a single page of results. Must be between 1 and 1000. |
only-selectable-options | boolean | When set to true, restricts results to only those taxonomy nodes that are valid selectable options for this field. When false, all taxonomy nodes are returned regardless of selectability. Defaults to… |
parent | array | Filters results to nodes that are direct children of the specified parent node identifiers. Multiple values may be provided; nodes matching any specified parent are included. |
query | string | Free-text search string to find matching taxonomy nodes by name or label. When provided, results are ranked by relevance rather than lexicographic order. |