Box
boxBox is a cloud content management platform for secure file storage, sharing, collaboration, and governance.
Acciones disponibles (273)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Add classification to fileBOX_ADD_CLASSIFICATION_TO_FILEAcciónAdds a classification to a file by specifying the label of the classification to add. this api can also be called by including the enterprise id in the url explicitly, for example `/files/:id//enterprise 12345/securityclassification-6vmvochwuwo`.
BOX_ADD_CLASSIFICATION_TO_FILEAcciónAdds a classification to a file by specifying the label of the classification to add. this api can also be called by including the enterprise id in the url explicitly, for example `/files/:id//enterprise 12345/securityclassification-6vmvochwuwo`.
Parámetros de entrada
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
Box__Security__Classification__KeystringThe name of the classification to apply to this file. To list the available classifications in an enterprise, use the classification API to retrieve the [classification template](e://get_metadata_templates_enterprise_securityClassification-6VMVochwUWo_schema) which lists all available classification keys.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add classification to folderBOX_ADD_CLASSIFICATION_TO_FOLDERAcciónAdds a classification to a folder by specifying the label of the classification to add. this api can also be called by including the enterprise id in the url explicitly, for example `/folders/:id/enterprise 12345/securityclassification-6vmvochwuwo`.
BOX_ADD_CLASSIFICATION_TO_FOLDERAcciónAdds a classification to a folder by specifying the label of the classification to add. this api can also be called by including the enterprise id in the url explicitly, for example `/folders/:id/enterprise 12345/securityclassification-6vmvochwuwo`.
Parámetros de entrada
folder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
Box__Security__Classification__KeystringThe name of the classification to apply to this folder. To list the available classifications in an enterprise, use the classification API to retrieve the [classification template](e://get_metadata_templates_enterprise_securityClassification-6VMVochwUWo_schema) which lists all available classification keys.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add domain to list of allowed collaboration domainsBOX_ADD_DOMAIN_TO_LIST_OF_ALLOWED_COLLABORATION_DOMAINSAcciónCreates a new entry in the list of allowed domains to allow collaboration for.
BOX_ADD_DOMAIN_TO_LIST_OF_ALLOWED_COLLABORATION_DOMAINSAcciónCreates a new entry in the list of allowed domains to allow collaboration for.
Parámetros de entrada
domainstringObligatorioThe domain to add to the list of allowed domains.
directionstringObligatorioenumThe direction in which to allow collaborations.
bothinboundoutbound
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add initial classificationsBOX_ADD_INITIAL_CLASSIFICATIONSAcciónWhen an enterprise does not yet have any classifications, this api call initializes the classification template with an initial set of classifications. if an enterprise already has a classification, the template will already exist and instead an api call should be made to add additional classifications.
BOX_ADD_INITIAL_CLASSIFICATIONSAcciónWhen an enterprise does not yet have any classifications, this api call initializes the classification template with an initial set of classifications. if an enterprise already has a classification, the template will already exist and instead an api call should be made to add additional classifications.
Parámetros de entrada
scopestringObligatorioenumThe scope in which to create the classifications. This should be `enterprise` or `enterprise_{id}` where `id` is the unique ID of the enterprise.
enterprisefieldsobject[]ObligatorioThe classification template requires exactly one field, which holds all the valid classification values.
hiddenbooleanDetermines if the classification template is hidden or available on web and mobile devices.
displayNamestringObligatorioenumThe name of the template as shown in web and mobile interfaces.
ClassificationtemplateKeystringObligatorioenumDefines the list of metadata templates.
securityClassification-6VMVochwUWocopyInstanceOnItemCopybooleanDetermines if classifications are copied along when the file or folder is copied.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add or update user avatarBOX_ADD_OR_UPDATE_USER_AVATARAcciónAdds or updates a user avatar.
BOX_ADD_OR_UPDATE_USER_AVATARAcciónAdds or updates a user avatar.
Parámetros de entrada
picobjectbinaryPic
user_idstringObligatorioThe ID of the user.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add shared link to fileBOX_ADD_SHARED_LINK_TO_FILEAcciónAdds a shared link to a file.
BOX_ADD_SHARED_LINK_TO_FILEAcciónAdds a shared link to a file.
Parámetros de entrada
fieldsstringObligatorioExplicitly request the `shared_link` fields to be returned for this item.
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
shared__link__accessstringenumThe level of access for the shared link. This can be restricted to anyone with the link (`open`), only people within the company (`company`) and only those who have been invited to the file (`collaborators`). If not set, this field defaults to the access level specified by the enterprise admin. To create a shared link with this default setting pass the `shared_link` object with no `access` field, for example `{ "shared_link": {} }`. The `company` access level is only available to paid accounts.
collaboratorscompanyopenshared__link__passwordstringThe password required to access the shared link. Set the password to `null` to remove it. Passwords must now be at least eight characters long and include a number, upper case letter, or a non-numeric or non-alphabetic character. A password can only be set when `access` is set to `open`.
shared__link__unshared__atstringdate-timeThe timestamp at which this shared link will expire. This field can only be set by users with paid accounts. The value must be greater than the current date and time.
shared__link__vanity__namestringDefines a custom vanity name to use in the shared link URL, for example `https://app.box.com/v/my-shared-link`. Custom URLs should not be used when sharing sensitive content as vanity URLs are a lot easier to guess than regular shared links.
shared__link__permissions__can__editbooleanIf the shared link allows for editing of files. This can only be set when `access` is set to `open` or `company`. This value can only be `true` is `can_download` is also `true`.
shared__link__permissions__can__previewbooleanIf the shared link allows for previewing of files. This value is always `true`. For shared links on folders this also applies to any items in the folder.
shared__link__permissions__can__downloadbooleanIf the shared link allows for downloading of files. This can only be set when `access` is set to `open` or `company`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add shared link to folderBOX_ADD_SHARED_LINK_TO_FOLDERAcciónAdds a shared link to a folder.
BOX_ADD_SHARED_LINK_TO_FOLDERAcciónAdds a shared link to a folder.
Parámetros de entrada
fieldsstringObligatorioExplicitly request the `shared_link` fields to be returned for this item.
folder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
shared__link__accessstringenumThe level of access for the shared link. This can be restricted to anyone with the link (`open`), only people within the company (`company`) and only those who have been invited to the folder (`collaborators`). If not set, this field defaults to the access level specified by the enterprise admin. To create a shared link with this default setting pass the `shared_link` object with no `access` field, for example `{ "shared_link": {} }`. The `company` access level is only available to paid accounts.
collaboratorscompanyopenshared__link__passwordstringThe password required to access the shared link. Set the password to `null` to remove it. Passwords must now be at least eight characters long and include a number, upper case letter, or a non-numeric or non-alphabetic character. A password can only be set when `access` is set to `open`.
shared__link__unshared__atstringdate-timeThe timestamp at which this shared link will expire. This field can only be set by users with paid accounts. The value must be greater than the current date and time.
shared__link__vanity__namestringDefines a custom vanity name to use in the shared link URL, for example `https://app.box.com/v/my-shared-link`. Custom URLs should not be used when sharing sensitive content as vanity URLs are a lot easier to guess than regular shared links.
shared__link__permissions__can__editbooleanThis value can only be `false` for items with a `type` of `folder`.
shared__link__permissions__can__previewbooleanIf the shared link allows for previewing of files. This value is always `true`. For shared links on folders this also applies to any items in the folder.
shared__link__permissions__can__downloadbooleanIf the shared link allows for downloading of files. This can only be set when `access` is set to `open` or `company`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add shared link to web linkBOX_ADD_SHARED_LINK_TO_WEB_LINKAcciónAdds a shared link to a web link.
BOX_ADD_SHARED_LINK_TO_WEB_LINKAcciónAdds a shared link to a web link.
Parámetros de entrada
fieldsstringObligatorioExplicitly request the `shared_link` fields to be returned for this item.
web_link_idstringObligatorioThe ID of the web link.
shared__link__accessstringenumThe level of access for the shared link. This can be restricted to anyone with the link (`open`), only people within the company (`company`) and only those who have been invited to the file (`collaborators`). If not set, this field defaults to the access level specified by the enterprise admin. To create a shared link with this default setting pass the `shared_link` object with no `access` field, for example `{ "shared_link": {} }`. The `company` access level is only available to paid accounts.
collaboratorscompanyopenshared__link__passwordstringThe password required to access the shared link. Set the password to `null` to remove it. Passwords must now be at least eight characters long and include a number, upper case letter, or a non-numeric or non-alphabetic character. A password can only be set when `access` is set to `open`.
shared__link__unshared__atstringdate-timeThe timestamp at which this shared link will expire. This field can only be set by users with paid accounts. The value must be greater than the current date and time.
shared__link__vanity__namestringDefines a custom vanity name to use in the shared link URL, for example `https://app.box.com/v/my-shared-link`. Custom URLs should not be used when sharing sensitive content as vanity URLs are a lot easier to guess than regular shared links.
shared__link__permissions__can__editbooleanThis value can only be `true` is `type` is `file`.
shared__link__permissions__can__previewbooleanIf the shared link allows for previewing of files. This value is always `true`. For shared links on folders this also applies to any items in the folder.
shared__link__permissions__can__downloadbooleanIf the shared link allows for downloading of files. This can only be set when `access` is set to `open` or `company`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add user to groupBOX_ADD_USER_TO_GROUPAcciónCreates a group membership. only users with admin-level permissions will be able to use this api.
BOX_ADD_USER_TO_GROUPAcciónCreates a group membership. only users with admin-level permissions will be able to use this api.
Parámetros de entrada
rolestringenumThe role of the user in the group.
adminmemberfieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
user__idstringThe ID of the user to add to the group
group__idstringThe ID of the group to add the user to
configurable_permissionsobjectCustom configuration for the permissions an admin if a group will receive. This option has no effect on members with a role of `member`. Setting these permissions overwrites the default access levels of an admin. Specifying a value of `null` for this object will disable all configurable permissions. Specifying permissions will set them accordingly, omitted permissions will be enabled by default.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Apply watermark to fileBOX_APPLY_WATERMARK_TO_FILEAcciónApplies or update a watermark on a file.
BOX_APPLY_WATERMARK_TO_FILEAcciónApplies or update a watermark on a file.
Parámetros de entrada
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
watermark__imprintstringenumThe type of watermark to apply. Currently only supports one option.
default
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Apply watermark to folderBOX_APPLY_WATERMARK_TO_FOLDERAcciónApplies or update a watermark on a folder.
BOX_APPLY_WATERMARK_TO_FOLDERAcciónApplies or update a watermark on a folder.
Parámetros de entrada
folder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
watermark__imprintstringenumThe type of watermark to apply. Currently only supports one option.
default
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Ask questionBOX_ASK_QUESTIONAcciónSends an ai request to supported llms and returns an answer specifically focused on the user's question given the provided context.
BOX_ASK_QUESTIONAcciónSends an ai request to supported llms and returns an answer specifically focused on the user's question given the provided context.
Parámetros de entrada
modestringObligatorioenumBox AI handles text documents with text representations up to 1MB in size, or a maximum of 25 files, whichever comes first. If the text file size exceeds 1MB, the first 1MB of text representation will be processed. Box AI handles image documents with a resolution of 1024 x 1024 pixels, with a maximum of 5 images or 5 pages for multi-page images. If the number of image or image pages exceeds 5, the first 5 images or pages will be processed. If you set mode parameter to `single_item_qa`, the items array can have one element only. Currently Box AI does not support multi-modal requests. If both images and text are sent Box AI will only process the text.
multiple_item_qasingle_item_qaitemsobject[]ObligatorioThe items to be processed by the LLM, often files.
promptstringObligatorioThe prompt provided by the client to be answered by the LLM. The prompt"s length is limited to 10000 characters.
dialogue_historyobject[]The history of prompts and answers previously passed to the LLM. This provides additional context to the LLM in generating the response.
include_citationsbooleanA flag to indicate whether citations should be returned.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Assign legal hold policyBOX_ASSIGN_LEGAL_HOLD_POLICYAcciónAssign a legal hold to a file, file version, folder, or user.
BOX_ASSIGN_LEGAL_HOLD_POLICYAcciónAssign a legal hold to a file, file version, folder, or user.
Parámetros de entrada
policy_idstringObligatorioThe ID of the policy to assign.
assign__to__idstringThe ID of item to assign the policy to
assign__to__typestringenumThe type of item to assign the policy to
filefile_versionfolderuser
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Assign retention policyBOX_ASSIGN_RETENTION_POLICYAcciónAssigns a retention policy to an item.
BOX_ASSIGN_RETENTION_POLICYAcciónAssigns a retention policy to an item.
Parámetros de entrada
policy_idstringObligatorioThe ID of the retention policy to assign
filter_fieldsobject[]If the `assign_to` type is `metadata_template`, then optionally add the `filter_fields` parameter which will require an array of objects with a field entry and a value entry. Currently only one object of `field` and `value` is supported.
assign__to__idstringThe ID of item to assign the policy to. Set to `null` or omit when `type` is set to `enterprise`.
assign__to__typestringenumThe type of item to assign the policy to.
enterprisefoldermetadata_templatestart_date_fieldstringThe date the retention policy assignment begins. If the `assigned_to` type is `metadata_template`, this field can be a date field"s metadata attribute key id.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Assign storage policyBOX_ASSIGN_STORAGE_POLICYAcciónCreates a storage policy assignment for an enterprise or user.
BOX_ASSIGN_STORAGE_POLICYAcciónCreates a storage policy assignment for an enterprise or user.
Parámetros de entrada
assigned__to__idstringThe ID of the user or enterprise
assigned__to__typestringenumThe type to assign the policy to.
enterpriseuserstorage__policy__idstringThe ID of the storage policy to assign.
storage__policy__typestringenumThe type to assign.
storage_policy
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Assign taskBOX_ASSIGN_TASKAcciónAssigns a task to a user. a task can be assigned to more than one user by creating multiple assignments.
BOX_ASSIGN_TASKAcciónAssigns a task to a user. a task can be assigned to more than one user by creating multiple assignments.
Parámetros de entrada
task__idstringThe ID of the task
task__typestringenumThe type of the item to assign.
taskassign__to__idstringThe ID of the user to assign to the task. To specify a user by their email address use the `login` parameter.
assign__to__loginstringThe email address of the user to assign to the task. To specify a user by their user ID please use the `id` parameter.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Authorize userBOX_AUTHORIZE_USERAcciónAuthorize a user by sending them through the [box](https://box.com) website and request their permission to act on their behalf. this is the first step when authenticating a user using oauth 2.0. to request a user's authorization to use the box apis on their behalf you will need to send a user to the url with this format.
BOX_AUTHORIZE_USERAcciónAuthorize a user by sending them through the [box](https://box.com) website and request their permission to act on their behalf. this is the first step when authenticating a user using oauth 2.0. to request a user's authorization to use the box apis on their behalf you will need to send a user to the url with this format.
Parámetros de entrada
scopestringA space-separated list of application scopes you"d like to authenticate the user for. This defaults to all the scopes configured for the application in its configuration page.
statestringA custom string of your choice. Box will pass the same string to the redirect URL when authentication is complete. This parameter can be used to identify a user on redirect, as well as protect against hijacked sessions and other exploits.
client_idstringObligatorioThe Client ID of the application that is requesting to authenticate the user. To get the Client ID for your application, log in to your Box developer console and click the **Edit Application** link for the application you"re working with. In the OAuth 2.0 Parameters section of the configuration page, find the item labelled `client_id`. The text of that item is your application"s Client ID.
redirect_uristringThe URI to which Box redirects the browser after the user has granted or denied the application permission. This URI match one of the redirect URIs in the configuration of your application. It must be a valid HTTPS URI and it needs to be able to handle the redirection to complete the next step in the OAuth 2.0 flow. Although this parameter is optional, it must be a part of the authorization URL if you configured multiple redirect URIs for the application in the developer console. A missing parameter causes a `redirect_uri_missing` error after the user grants application access.
response_typestringObligatorioenumThe type of response we"d like to receive.
code
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Cancel box sign requestBOX_CANCEL_BOX_SIGN_REQUESTAcciónCancels a sign request.
BOX_CANCEL_BOX_SIGN_REQUESTAcciónCancels a sign request.
Parámetros de entrada
sign_request_idstringObligatorioThe ID of the signature request
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Change shield information barrier statusBOX_CHANGE_SHIELD_INFORMATION_BARRIER_STATUSAcciónChange status of shield information barrier with the specified id.
BOX_CHANGE_SHIELD_INFORMATION_BARRIER_STATUSAcciónChange status of shield information barrier with the specified id.
Parámetros de entrada
idstringObligatorioThe ID of the shield information barrier.
statusstringObligatorioenumThe desired status for the shield information barrier.
disabledpending
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Commit upload sessionBOX_COMMIT_UPLOAD_SESSIONAcciónClose an upload session and create a file from the uploaded chunks. the actual endpoint url is returned by the [`create upload session`](e://post-files-upload-sessions) and [`get upload session`](e://get-files-upload-sessions-id) endpoints.
BOX_COMMIT_UPLOAD_SESSIONAcciónClose an upload session and create a file from the uploaded chunks. the actual endpoint url is returned by the [`create upload session`](e://post-files-upload-sessions) and [`get upload session`](e://get-files-upload-sessions-id) endpoints.
Parámetros de entrada
partsarrayObligatorioThe list details for the uploaded parts
upload_session_idstringObligatorioThe ID of the upload session.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Copy fileBOX_COPY_FILEAcciónCreates a copy of a file.
BOX_COPY_FILEAcciónCreates a copy of a file.
Parámetros de entrada
namestringAn optional new name for the copied file. There are some restrictions to the file name. Names containing non-printable ASCII characters, forward and backward slashes (`/`, ``), and protected names like `.` and `..` are automatically sanitized by removing the non-allowed characters.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
versionstringAn optional ID of the specific file version to copy.
parent__idstringThe ID of folder to copy the file to.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Copy file requestBOX_COPY_FILE_REQUESTAcciónCopies an existing file request that is already present on one folder, and applies it to another folder.
BOX_COPY_FILE_REQUESTAcciónCopies an existing file request that is already present on one folder, and applies it to another folder.
Parámetros de entrada
file_request_idstringObligatorioThe unique identifier that represent a file request. The ID for any file request can be determined by visiting a file request builder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/filerequest/123` the `file_request_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Copy folderBOX_COPY_FOLDERAcciónCreates a copy of a folder within a destination folder. the original folder will not be changed.
BOX_COPY_FOLDERAcciónCreates a copy of a folder within a destination folder. the original folder will not be changed.
Parámetros de entrada
namestringAn optional new name for the copied folder. There are some restrictions to the file name. Names containing non-printable ASCII characters, forward and backward slashes (`/`, ``), as well as names with trailing spaces are prohibited. Additionally, the names `.` and `..` are not allowed either.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
folder_idstringObligatorioThe unique identifier of the folder to copy. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder with the ID `0` can not be copied.
parent__idstringThe ID of parent folder
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create ai agentBOX_CREATE_AI_AGENTAcciónCreates an ai agent. at least one of the following capabilities must be provided: `ask`, `text gen`, `extract`.
BOX_CREATE_AI_AGENTAcciónCreates an ai agent. at least one of the following capabilities must be provided: `ask`, `text gen`, `extract`.
Parámetros de entrada
namestringObligatorioThe name of the AI Agent.
typestringObligatorioenumThe type of agent used to handle queries.
ai_agentask__typestringenumThe type of AI agent used to handle queries.
ai_agent_askaccess_statestringObligatorioThe state of the AI Agent. Possible values are: `enabled`, `disabled`, and `enabled_for_selected_users`.
extract__typestringenumThe type of AI agent to be used for extraction.
ai_agent_extracticon_referencestringThe icon reference of the AI Agent. It should have format of the URL `https://cdn01.boxcdn.net/app-assets/aistudio/avatars/<file_name>` where possible values of `file_name` are: `logo_boxAi.png`,`logo_stamp.png`,`logo_legal.png`,`logo_finance.png`,`logo_config.png`,`logo_handshake.png`,`logo_analytics.png`,`logo_classification.png`
text__gen__typestringenumThe type of AI agent used for generating text.
ai_agent_text_genallowed_entitiesobject[]List of allowed users or groups.
ask__descriptionstringThe description of the AI Agent.
ask__access__statestringThe state of the AI Agent capability. Possible values are: `enabled` and `disabled`.
extract__descriptionstringThe description of the AI Agent.
extract__access__statestringThe state of the AI Agent capability. Possible values are: `enabled` and `disabled`.
text__gen__descriptionstringThe description of the AI Agent.
text__gen__access__statestringThe state of the AI Agent capability. Possible values are: `enabled` and `disabled`.
ask__custom__instructionsstringCustom instructions for the agent.
extract__custom__instructionsstringCustom instructions for the agent.
text__gen__custom__instructionsstringCustom instructions for the agent.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create box sign requestBOX_CREATE_BOX_SIGN_REQUESTAcciónCreates a signature request. this involves preparing a document for signing and sending the signature request to signers.
BOX_CREATE_BOX_SIGN_REQUESTAcciónCreates a signature request. this involves preparing a document for signing and sending the signature request to signers.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create box skill cards on fileBOX_CREATE_BOX_SKILL_CARDS_ON_FILEAcciónApplies one or more box skills metadata cards to a file.
BOX_CREATE_BOX_SKILL_CARDS_ON_FILEAcciónApplies one or more box skills metadata cards to a file.
Parámetros de entrada
cardsobject[]ObligatorioA list of Box Skill cards to apply to this file.
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create collaborationBOX_CREATE_COLLABORATIONAcciónAdds a collaboration for a single user or a single group to a file or folder. collaborations can be created using email address, user ids, or a group ids. if a collaboration is being created with a group, access to this endpoint is dependent on the group's ability to be invited. if collaboration is in `pending` status, the following fields are redacted: - `login` and `name` are hidden if a collaboration was created using `user id`, - `name` is hidden if a collaboration was created using `login`.
BOX_CREATE_COLLABORATIONAcciónAdds a collaboration for a single user or a single group to a file or folder. collaborations can be created using email address, user ids, or a group ids. if a collaboration is being created with a group, access to this endpoint is dependent on the group's ability to be invited. if collaboration is in `pending` status, the following fields are redacted: - `login` and `name` are hidden if a collaboration was created using `user id`, - `name` is hidden if a collaboration was created using `login`.
Parámetros de entrada
rolestringObligatorioenumThe level of access granted.
co-ownereditorpreviewerpreviewer uploaderuploaderviewerviewer uploaderfieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
notifybooleanDetermines if users should receive email notification for the action performed.
item__idstringThe ID of the item that will be granted access to
expires_atstringdate-timeSet the expiration date for the collaboration. At this date, the collaboration will be automatically removed from the item. This feature will only work if the **Automatically remove invited collaborators: Allow folder owners to extend the expiry date** setting has been enabled in the **Enterprise Settings** of the **Admin Console**. When the setting is not enabled, collaborations can not have an expiry date and a value for this field will be result in an error.
item__typestringenumThe type of the item that this collaboration will be granted access to
filefoldercan_view_pathbooleanDetermines if the invited users can see the entire parent path to the associated folder. The user will not gain privileges in any parent folder and therefore can not see content the user is not collaborated on. Be aware that this meaningfully increases the time required to load the invitee"s **All Files** page. We recommend you limit the number of collaborations with `can_view_path` enabled to 1,000 per user. Only owner or co-owners can invite collaborators with a `can_view_path` of `true`. `can_view_path` can only be used for folder collaborations.
is_access_onlybooleanIf set to `true`, collaborators have access to shared items, but such items won"t be visible in the All Files list. Additionally, collaborators won"t see the the path to the root folder for the shared item.
accessible__by__idstringThe ID of the user or group. Alternatively, use `login` to specify a user by email address.
accessible__by__typestringenumThe type of collaborator to invite.
groupuseraccessible__by__loginstringThe email address of the user to grant access to the item. Alternatively, use `id` to specify a user by user ID.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create commentBOX_CREATE_COMMENTAcciónAdds a comment by the user to a specific file, or as a reply to an other comment.
BOX_CREATE_COMMENTAcciónAdds a comment by the user to a specific file, or as a reply to an other comment.
Parámetros de entrada
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
messagestringObligatorioThe text of the comment. To mention a user, use the `tagged_message` parameter instead.
item__idstringThe ID of the item
item__typestringenumThe type of the item that this comment will be placed on.
commentfiletagged_messagestringThe text of the comment, including `@[user_id:name]` somewhere in the message to mention another user, which will send them an email notification, letting them know they have been mentioned. The `user_id` is the target user"s ID, where the `name` can be any custom phrase. In the Box UI this name will link to the user"s profile. If you are not mentioning another user, use `message` instead.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create email aliasBOX_CREATE_EMAIL_ALIASAcciónAdds a new email alias to a user account..
BOX_CREATE_EMAIL_ALIASAcciónAdds a new email alias to a user account..
Parámetros de entrada
emailstringObligatorioThe email address to add to the account as an alias. Note: The domain of the email alias needs to be registered to your enterprise. See the [domain verification guide]( https://support.box.com/hc/en-us/articles/4408619650579-Domain-Verification ) for steps to add a new domain.
user_idstringObligatorioThe ID of the user.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create folderBOX_CREATE_FOLDERAcciónCreates a new empty folder within the specified parent folder.
BOX_CREATE_FOLDERAcciónCreates a new empty folder within the specified parent folder.
Parámetros de entrada
namestringObligatorioThe name for the new folder. There are some restrictions to the file name. Names containing non-printable ASCII characters, forward and backward slashes (`/`, ``), as well as names with trailing spaces are prohibited. Additionally, the names `.` and `..` are not allowed either.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
parent__idstringThe ID of parent folder
sync_statestringenumSpecifies whether a folder should be synced to a user"s device or not. This is used by Box Sync (discontinued) and is not used by Box Drive.
not_syncedpartially_syncedsynced
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create folder lockBOX_CREATE_FOLDER_LOCKAcciónCreates a folder lock on a folder, preventing it from being moved and/or deleted. you must be authenticated as the owner or co-owner of the folder to use this endpoint.
BOX_CREATE_FOLDER_LOCKAcciónCreates a folder lock on a folder, preventing it from being moved and/or deleted. you must be authenticated as the owner or co-owner of the folder to use this endpoint.
Parámetros de entrada
folder__idstringThe ID of the folder.
folder__typestringThe content type the lock is being applied to. Only `folder` is supported.
locked__operations__movebooleanWhether moving the folder should be locked.
locked__operations__deletebooleanWhether deleting the folder should be locked.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create groupBOX_CREATE_GROUPAcciónCreates a new group of users in an enterprise. only users with admin permissions can create new groups.
BOX_CREATE_GROUPAcciónCreates a new group of users in an enterprise. only users with admin permissions can create new groups.
Parámetros de entrada
namestringObligatorioThe name of the new group to be created. This name must be unique within the enterprise.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
provenancestringKeeps track of which external source this group is coming, for example `Active Directory`, or `Okta`. Setting this will also prevent Box admins from editing the group name and its members directly via the Box web application. This is desirable for one-way syncing of groups.
descriptionstringA human readable description of the group.
invitability_levelstringenumSpecifies who can invite the group to collaborate on folders. When set to `admins_only` the enterprise admin, co-admins, and the group"s admin can invite the group. When set to `admins_and_members` all the admins listed above and group members can invite the group. When set to `all_managed_users` all managed users in the enterprise can invite the group.
admins_and_membersadmins_onlyall_managed_usersexternal_sync_identifierstringAn arbitrary identifier that can be used by external group sync tools to link this Box Group to an external group. Example values of this field could be an **Active Directory Object ID** or a **Google Group ID**. We recommend you use of this field in order to avoid issues when group names are updated in either Box or external systems.
member_viewability_levelstringenumSpecifies who can see the members of the group. * `admins_only` - the enterprise admin, co-admins, group"s group admin * `admins_and_members` - all admins and group members * `all_managed_users` - all managed users in the enterprise
admins_and_membersadmins_onlyall_managed_users
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create jobs to terminate user group sessionBOX_CREATE_JOBS_TO_TERMINATE_USER_GROUP_SESSIONAcciónValidates the roles and permissions of the group, and creates asynchronous jobs to terminate the group's sessions. returns the status for the post request.
BOX_CREATE_JOBS_TO_TERMINATE_USER_GROUP_SESSIONAcciónValidates the roles and permissions of the group, and creates asynchronous jobs to terminate the group's sessions. returns the status for the post request.
Parámetros de entrada
group_idsstring[]ObligatorioA list of group IDs
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create jobs to terminate users sessionBOX_CREATE_JOBS_TO_TERMINATE_USERS_SESSIONAcciónValidates the roles and permissions of the user, and creates asynchronous jobs to terminate the user's sessions. returns the status for the post request.
BOX_CREATE_JOBS_TO_TERMINATE_USERS_SESSIONAcciónValidates the roles and permissions of the user, and creates asynchronous jobs to terminate the user's sessions. returns the status for the post request.
Parámetros de entrada
user_idsstring[]ObligatorioA list of user IDs
user_loginsstring[]ObligatorioA list of user logins
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create legal hold policyBOX_CREATE_LEGAL_HOLD_POLICYAcciónCreate a new legal hold policy.
BOX_CREATE_LEGAL_HOLD_POLICYAcciónCreate a new legal hold policy.
Parámetros de entrada
is_ongoingbooleanWhether new assignments under this policy should continue applying to files even after initialization. When this policy is applied using a legal hold assignment, it will continue applying the policy to any new file versions even after it has been applied. For example, if a legal hold assignment is placed on a user today, and that user uploads a file tomorrow, that file will get held. This will continue until the policy is retired. Required if no filter dates are set.
descriptionstringA description for the policy.
policy_namestringObligatorioThe name of the policy.
filter_ended_atstringdate-timeThe filter end date. When this policy is applied using a `custodian` legal hold assignments, it will only apply to file versions created or uploaded inside of the date range. Other assignment types, such as folders and files, will ignore the date filter. Required if `is_ongoing` is set to `false`.
filter_started_atstringdate-timeThe filter start date. When this policy is applied using a `custodian` legal hold assignments, it will only apply to file versions created or uploaded inside of the date range. Other assignment types, such as folders and files, will ignore the date filter. Required if `is_ongoing` is set to `false`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create metadata cascade policyBOX_CREATE_METADATA_CASCADE_POLICYAcciónCreates a new metadata cascade policy that applies a given metadata template to a given folder and automatically cascades it down to any files within that folder. in order for the policy to be applied a metadata instance must first be applied to the folder the policy is to be applied to.
BOX_CREATE_METADATA_CASCADE_POLICYAcciónCreates a new metadata cascade policy that applies a given metadata template to a given folder and automatically cascades it down to any files within that folder. in order for the policy to be applied a metadata instance must first be applied to the folder the policy is to be applied to.
Parámetros de entrada
scopestringObligatorioenumThe scope of the targeted metadata template. This template will need to already have an instance applied to the targeted folder.
enterpriseglobalfolder_idstringObligatorioThe ID of the folder to apply the policy to. This folder will need to already have an instance of the targeted metadata template applied to it.
templateKeystringObligatorioThe key of the targeted metadata template. This template will need to already have an instance applied to the targeted folder. In many cases the template key is automatically derived of its display name, for example `Contract Template` would become `contractTemplate`. In some cases the creator of the template will have provided its own template key. Please [list the templates for an enterprise][list], or get all instances on a [file][file] or [folder][folder] to inspect a template"s key. [list]: e://get-metadata-templates-enterprise [file]: e://get-files-id-metadata [folder]: e://get-folders-id-metadata
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create metadata instance on fileBOX_CREATE_METADATA_INSTANCE_ON_FILEAcciónApplies an instance of a metadata template to a file. in most cases only values that are present in the metadata template will be accepted, except for the `global.properties` template which accepts any key-value pair.
BOX_CREATE_METADATA_INSTANCE_ON_FILEAcciónApplies an instance of a metadata template to a file. in most cases only values that are present in the metadata template will be accepted, except for the `global.properties` template which accepts any key-value pair.
Parámetros de entrada
scopestringObligatorioenumThe scope of the metadata template
enterpriseglobalfile_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
template_keystringObligatorioThe name of the metadata template
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create metadata instance on folderBOX_CREATE_METADATA_INSTANCE_ON_FOLDERAcciónApplies an instance of a metadata template to a folder. in most cases only values that are present in the metadata template will be accepted, except for the `global.properties` template which accepts any key-value pair. to display the metadata template in the box web app the enterprise needs to be configured to enable **cascading folder level metadata** for the user in the admin console.
BOX_CREATE_METADATA_INSTANCE_ON_FOLDERAcciónApplies an instance of a metadata template to a folder. in most cases only values that are present in the metadata template will be accepted, except for the `global.properties` template which accepts any key-value pair. to display the metadata template in the box web app the enterprise needs to be configured to enable **cascading folder level metadata** for the user in the admin console.
Parámetros de entrada
scopestringObligatorioenumThe scope of the metadata template
enterpriseglobalfolder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
template_keystringObligatorioThe name of the metadata template
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create metadata templateBOX_CREATE_METADATA_TEMPLATEAcciónCreates a new metadata template that can be applied to files and folders.
BOX_CREATE_METADATA_TEMPLATEAcciónCreates a new metadata template that can be applied to files and folders.
Parámetros de entrada
scopestringObligatorioThe scope of the metadata template to create. Applications can only create templates for use within the authenticated user"s enterprise. This value needs to be set to `enterprise`, as `global` scopes can not be created by applications.
fieldsobject[]An ordered list of template fields which are part of the template. Each field can be a regular text field, date field, number field, as well as a single or multi-select list.
hiddenbooleanDefines if this template is visible in the Box web app UI, or if it is purely intended for usage through the API.
displayNamestringObligatorioThe display name of the template.
templateKeystringA unique identifier for the template. This identifier needs to be unique across the enterprise for which the metadata template is being created. When not provided, the API will create a unique `templateKey` based on the value of the `displayName`.
copyInstanceOnItemCopybooleanWhether or not to copy any metadata attached to a file or folder when it is copied. By default, metadata is not copied along with a file or folder when it is copied.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create retention policyBOX_CREATE_RETENTION_POLICYAcciónCreates a retention policy.
BOX_CREATE_RETENTION_POLICYAcciónCreates a retention policy.
Parámetros de entrada
descriptionstringThe additional text description of the retention policy.
policy_namestringObligatorioThe name for the retention policy
policy_typestringObligatorioenumThe type of the retention policy. A retention policy type can either be `finite`, where a specific amount of time to retain the content is known upfront, or `indefinite`, where the amount of time to retain the content is still unknown.
finiteindefiniteretention_typestringenumSpecifies the retention type: * `modifiable`: You can modify the retention policy. For example, you can add or remove folders, shorten or lengthen the policy duration, or delete the assignment. Use this type if your retention policy is not related to any regulatory purposes. * `non_modifiable`: You can modify the retention policy only in a limited way: add a folder, lengthen the duration, retire the policy, change the disposition action or notification settings. You cannot perform other actions, such as deleting the assignment or shortening the policy duration. Use this type to ensure compliance with regulatory retention policies.
modifiablenon_modifiableretention_lengthstringint32The length of the retention policy. This value specifies the duration in days that the retention policy will be active for after being assigned to content. If the policy has a `policy_type` of `indefinite`, the `retention_length` will also be `indefinite`.
disposition_actionstringObligatorioenumThe disposition action of the retention policy. `permanently_delete` deletes the content retained by the policy permanently. `remove_retention` lifts retention policy from the content, allowing it to be deleted by users once the retention policy has expired.
permanently_deleteremove_retentionare_owners_notifiedbooleanWhether owner and co-owners of a file are notified when the policy nears expiration.
can_owner_extend_retentionbooleanWhether the owner of a file will be allowed to extend the retention.
custom_notification_recipientsarrayA list of users notified when the retention policy duration is about to end.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create shield information barrierBOX_CREATE_SHIELD_INFORMATION_BARRIERAcciónCreates a shield information barrier to separate individuals/groups within the same firm and prevents confidential information passing between them.
BOX_CREATE_SHIELD_INFORMATION_BARRIERAcciónCreates a shield information barrier to separate individuals/groups within the same firm and prevents confidential information passing between them.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create shield information barrier reportBOX_CREATE_SHIELD_INFORMATION_BARRIER_REPORTAcciónCreates a shield information barrier report for a given barrier.
BOX_CREATE_SHIELD_INFORMATION_BARRIER_REPORTAcciónCreates a shield information barrier report for a given barrier.
Parámetros de entrada
shield__information__barrier__idstringThe unique identifier for the shield information barrier
shield__information__barrier__typestringenumThe type of the shield information barrier
shield_information_barrier
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create shield information barrier segmentBOX_CREATE_SHIELD_INFORMATION_BARRIER_SEGMENTAcciónCreates a shield information barrier segment.
BOX_CREATE_SHIELD_INFORMATION_BARRIER_SEGMENTAcciónCreates a shield information barrier segment.
Parámetros de entrada
namestringObligatorioName of the shield information barrier segment
descriptionstringDescription of the shield information barrier segment
shield__information__barrier__idstringThe unique identifier for the shield information barrier
shield__information__barrier__typestringenumThe type of the shield information barrier
shield_information_barrier
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create shield information barrier segment memberBOX_CREATE_SHIELD_INFORMATION_BARRIER_SEGMENT_MEMBERAcciónCreates a new shield information barrier segment member.
BOX_CREATE_SHIELD_INFORMATION_BARRIER_SEGMENT_MEMBERAcciónCreates a new shield information barrier segment member.
Parámetros de entrada
typestringenum-| A type of the shield barrier segment member.
shield_information_barrier_segment_membershield__information__barrier__idstringThe unique identifier for the shield information barrier
shield__information__barrier__typestringenumThe type of the shield information barrier
shield_information_barriershield__information__barrier__segment__idstringThe ID reference of the requesting shield information barrier segment.
shield__information__barrier__segment__typestringenumThe type of the shield barrier segment for this member.
shield_information_barrier_segment
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create shield information barrier segment restrictionBOX_CREATE_SHIELD_INFORMATION_BARRIER_SEGMENT_RESTRICTIONAcciónCreates a shield information barrier segment restriction object.
BOX_CREATE_SHIELD_INFORMATION_BARRIER_SEGMENT_RESTRICTIONAcciónCreates a shield information barrier segment restriction object.
Parámetros de entrada
typestringObligatorioenumThe type of the shield barrier segment restriction for this member.
shield_information_barrier_segment_restrictionrestricted__segment__idstringThe ID reference of the restricted shield information barrier segment.
restricted__segment__typestringenumThe type of the restricted shield information barrier segment.
shield_information_barrier_segmentshield__information__barrier__idstringThe unique identifier for the shield information barrier
shield__information__barrier__typestringenumThe type of the shield information barrier
shield_information_barriershield__information__barrier__segment__idstringThe ID reference of the requesting shield information barrier segment.
shield__information__barrier__segment__typestringenumThe type of the shield barrier segment for this member.
shield_information_barrier_segment
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create slack integration mappingBOX_CREATE_SLACK_INTEGRATION_MAPPINGAcciónCreates a [slack integration mapping](https://support.box.com/hc/en-us/articles/4415585987859-box-as-the-content-layer-for-slack) by mapping a slack channel to a box item. you need admin or co-admin role to use this endpoint.
BOX_CREATE_SLACK_INTEGRATION_MAPPINGAcciónCreates a [slack integration mapping](https://support.box.com/hc/en-us/articles/4415585987859-box-as-the-content-layer-for-slack) by mapping a slack channel to a box item. you need admin or co-admin role to use this endpoint.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create taskBOX_CREATE_TASKAcciónCreates a single task on a file. this task is not assigned to any user and will need to be assigned separately.
BOX_CREATE_TASKAcciónCreates a single task on a file. this task is not assigned to any user and will need to be assigned separately.
Parámetros de entrada
actionstringenumThe action the task assignee will be prompted to do. Must be * `review` defines an approval task that can be approved or rejected * `complete` defines a general task which can be completed
completereviewdue_atstringdate-timeDefines when the task is due. Defaults to `null` if not provided.
messagestringAn optional message to include with the task.
item__idstringThe ID of the file
item__typestringenum`file`
filecompletion_rulestringenumDefines which assignees need to complete this task before the task is considered completed. * `all_assignees` (default) requires all assignees to review or approve the the task in order for it to be considered completed. * `any_assignee` accepts any one assignee to review or approve the the task in order for it to be considered completed.
all_assigneesany_assignee
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create teams integration mappingBOX_CREATE_TEAMS_INTEGRATION_MAPPINGAcciónCreates a [teams integration mapping](https://support.box.com/hc/en-us/articles/360044681474-using-box-for-teams) by mapping a teams channel to a box item. you need admin or co-admin role to use this endpoint.
BOX_CREATE_TEAMS_INTEGRATION_MAPPINGAcciónCreates a [teams integration mapping](https://support.box.com/hc/en-us/articles/360044681474-using-box-for-teams) by mapping a teams channel to a box item. you need admin or co-admin role to use this endpoint.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create terms of serviceBOX_CREATE_TERMS_OF_SERVICEAcciónCreates a terms of service for a given enterprise and type of user.
BOX_CREATE_TERMS_OF_SERVICEAcciónCreates a terms of service for a given enterprise and type of user.
Parámetros de entrada
textstringObligatorioThe terms of service text to display to users. The text can be set to empty if the `status` is set to `disabled`.
statusstringObligatorioenumWhether this terms of service is active.
disabledenabledtos_typestringenumThe type of user to set the terms of service for.
externalmanaged
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create terms of service status for new userBOX_CREATE_TERMS_OF_SERVICE_STATUS_FOR_NEW_USERAcciónSets the status for a terms of service for a user.
BOX_CREATE_TERMS_OF_SERVICE_STATUS_FOR_NEW_USERAcciónSets the status for a terms of service for a user.
Parámetros de entrada
tos__idstringThe ID of terms of service
user__idstringThe ID of user
tos__typestringenumThe type of object.
terms_of_serviceuser__typestringenumThe type of object.
useris_acceptedbooleanObligatorioWhether the user has accepted the terms.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create upload sessionBOX_CREATE_UPLOAD_SESSIONAcciónCreates an upload session for a new file.
BOX_CREATE_UPLOAD_SESSIONAcciónCreates an upload session for a new file.
Parámetros de entrada
file_namestringObligatorioThe name of new file
file_sizeintegerObligatorioThe total number of bytes of the file to be uploaded
folder_idstringObligatorioThe ID of the folder to upload the new file to.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create upload session for existing fileBOX_CREATE_UPLOAD_SESSION_FOR_EXISTING_FILEAcciónCreates an upload session for an existing file.
BOX_CREATE_UPLOAD_SESSION_FOR_EXISTING_FILEAcciónCreates an upload session for an existing file.
Parámetros de entrada
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
file_namestringThe optional new name of new file
file_sizeintegerObligatorioThe total number of bytes of the file to be uploaded
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create userBOX_CREATE_USERAcciónCreates a new managed user in an enterprise. this endpoint is only available to users and applications with the right admin permissions.
BOX_CREATE_USERAcciónCreates a new managed user in an enterprise. this endpoint is only available to users and applications with the right admin permissions.
Parámetros de entrada
namestringObligatorioThe name of the user
rolestringenumThe user’s enterprise role
coadminuserloginstringThe email address the user uses to log in Required, unless `is_platform_access_only` is set to `true`.
phonestringThe user’s phone number
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
statusstringenumThe user"s account status
activecannot_delete_editcannot_delete_edit_uploadinactiveaddressstringThe user’s address
languagestringThe language of the user, formatted in modified version of the [ISO 639-1](/guides/api-calls/language-codes) format.
timezonestringtimezoneThe user"s timezone
job_titlestringThe user’s job title
space_amountintegerThe user’s total available space in bytes. Set this to `-1` to indicate unlimited storage.
tracking_codesobject[]Tracking codes allow an admin to generate reports from the admin console and assign an attribute to a specific group of users. This setting must be enabled for an enterprise before it can be used.
is_sync_enabledbooleanWhether the user can use Box Sync
external_app_user_idstringAn external identifier for an app user, which can be used to look up the user. This can be used to tie user IDs from external identity providers to Box users.
can_see_managed_usersbooleanWhether the user can see other enterprise users in their contact list
is_platform_access_onlybooleanSpecifies that the user is an app user.
is_exempt_from_device_limitsbooleanWhether to exempt the user from enterprise device limits
is_external_collab_restrictedbooleanWhether the user is allowed to collaborate with users outside their enterprise
is_exempt_from_login_verificationbooleanWhether the user must use two-factor authentication
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create user exemption from collaboration domain restrictionsBOX_CREATE_USER_EXEMPTION_FROM_COLLABORATION_DOMAIN_RESTRICTIONSAcciónCreate user exemption from collaboration domain restrictions.
BOX_CREATE_USER_EXEMPTION_FROM_COLLABORATION_DOMAIN_RESTRICTIONSAcciónCreate user exemption from collaboration domain restrictions.
Parámetros de entrada
user__idstringThe ID of the user to exempt.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create user inviteBOX_CREATE_USER_INVITEAcciónInvites an existing external user to join an enterprise. the existing user can not be part of another enterprise and must already have a box account. once invited, the user will receive an email and are prompted to accept the invitation within the box web application. this method requires the "manage an enterprise" scope enabled for the application, which can be enabled within the developer console.
BOX_CREATE_USER_INVITEAcciónInvites an existing external user to join an enterprise. the existing user can not be part of another enterprise and must already have a box account. once invited, the user will receive an email and are prompted to accept the invitation within the box web application. this method requires the "manage an enterprise" scope enabled for the application, which can be enabled within the developer console.
Parámetros de entrada
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
enterprise__idstringThe ID of the enterprise
actionable__by__loginstringThe login of the invited user
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create webhookBOX_CREATE_WEBHOOKAcciónCreates a webhook.
BOX_CREATE_WEBHOOKAcciónCreates a webhook.
Parámetros de entrada
addressstringObligatorioThe URL that is notified by this webhook
triggersstring[]ObligatorioAn array of event names that this webhook is to be triggered for
target__idstringThe ID of the item to trigger a webhook
target__typestringenumThe type of item to trigger a webhook
filefolder
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create web linkBOX_CREATE_WEB_LINKAcciónCreates a web link object within a folder.
BOX_CREATE_WEB_LINKAcciónCreates a web link object within a folder.
Parámetros de entrada
urlstringObligatorioThe URL that this web link links to. Must start with `"http://"` or `"https://"`.
namestringName of the web link. Defaults to the URL if not set.
parent__idstringThe ID of parent folder
descriptionstringDescription of the web link.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create zip downloadBOX_CREATE_ZIP_DOWNLOADAcciónCreates a request to download multiple files and folders as a single `zip` archive file. this api does not return the archive but instead performs all the checks to ensure that the user has access to all the items, and then returns a `download url` and a `status url` that can be used to download the archive. the limit for an archive is either the account's upload limit or 10,000 files, whichever is met first. **note**: downloading a large file can be affected by various factors such as distance, network latency, bandwidth, and congestion, as well as packet loss ratio and current server load. for these reasons we recommend that a maximum zip archive total size does not exceed 25gb.
BOX_CREATE_ZIP_DOWNLOADAcciónCreates a request to download multiple files and folders as a single `zip` archive file. this api does not return the archive but instead performs all the checks to ensure that the user has access to all the items, and then returns a `download url` and a `status url` that can be used to download the archive. the limit for an archive is either the account's upload limit or 10,000 files, whichever is met first. **note**: downloading a large file can be affected by various factors such as distance, network latency, bandwidth, and congestion, as well as packet loss ratio and current server load. for these reasons we recommend that a maximum zip archive total size does not exceed 25gb.
Parámetros de entrada
itemsobject[]ObligatorioA list of items to add to the `zip` archive. These can be folders or files.
download_file_namestringThe optional name of the `zip` archive. This name will be appended by the `.zip` file extension, for example `January Financials.zip`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete ai agentBOX_DELETE_AI_AGENTAcciónDeletes an ai agent using the provided parameters.
BOX_DELETE_AI_AGENTAcciónDeletes an ai agent using the provided parameters.
Parámetros de entrada
agent_idstringObligatorioThe ID of the agent to delete.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete fileBOX_DELETE_FILEAcciónDeletes a file, either permanently or by moving it to the trash. the the enterprise settings determine whether the item will be permanently deleted from box or moved to the trash.
BOX_DELETE_FILEAcciónDeletes a file, either permanently or by moving it to the trash. the the enterprise settings determine whether the item will be permanently deleted from box or moved to the trash.
Parámetros de entrada
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete file requestBOX_DELETE_FILE_REQUESTAcciónDeletes a file request permanently.
BOX_DELETE_FILE_REQUESTAcciónDeletes a file request permanently.
Parámetros de entrada
file_request_idstringObligatorioThe unique identifier that represent a file request. The ID for any file request can be determined by visiting a file request builder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/filerequest/123` the `file_request_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete folderBOX_DELETE_FOLDERAcciónDeletes a folder, either permanently or by moving it to the trash.
BOX_DELETE_FOLDERAcciónDeletes a folder, either permanently or by moving it to the trash.
Parámetros de entrada
folder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
recursivebooleanDelete a folder that is not empty by recursively deleting the folder and all of its content.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete folder lockBOX_DELETE_FOLDER_LOCKAcciónDeletes a folder lock on a given folder. you must be authenticated as the owner or co-owner of the folder to use this endpoint.
BOX_DELETE_FOLDER_LOCKAcciónDeletes a folder lock on a given folder. you must be authenticated as the owner or co-owner of the folder to use this endpoint.
Parámetros de entrada
folder_lock_idstringObligatorioThe ID of the folder lock.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete retention policyBOX_DELETE_RETENTION_POLICYAcciónPermanently deletes a retention policy.
BOX_DELETE_RETENTION_POLICYAcciónPermanently deletes a retention policy.
Parámetros de entrada
retention_policy_idstringObligatorioThe ID of the retention policy.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete shield information barrier segmentBOX_DELETE_SHIELD_INFORMATION_BARRIER_SEGMENTAcciónDeletes the shield information barrier segment based on provided id.
BOX_DELETE_SHIELD_INFORMATION_BARRIER_SEGMENTAcciónDeletes the shield information barrier segment based on provided id.
Parámetros de entrada
shield_information_barrier_segment_idstringObligatorioThe ID of the shield information barrier segment.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete shield information barrier segment member by idBOX_DELETE_SHIELD_INFORMATION_BARRIER_SEGMENT_MEMBER_BY_IDAcciónDeletes a shield information barrier segment member based on provided id.
BOX_DELETE_SHIELD_INFORMATION_BARRIER_SEGMENT_MEMBER_BY_IDAcciónDeletes a shield information barrier segment member based on provided id.
Parámetros de entrada
shield_information_barrier_segment_member_idstringObligatorioThe ID of the shield information barrier segment Member.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete shield information barrier segment restriction by idBOX_DELETE_SHIELD_INFORMATION_BARRIER_SEGMENT_RESTRICTION_BY_IDAcciónDelete shield information barrier segment restriction by id.
BOX_DELETE_SHIELD_INFORMATION_BARRIER_SEGMENT_RESTRICTION_BY_IDAcciónDelete shield information barrier segment restriction by id.
Parámetros de entrada
shield_information_barrier_segment_restriction_idstringObligatorioThe ID of the shield information barrier segment Restriction.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete slack integration mappingBOX_DELETE_SLACK_INTEGRATION_MAPPINGAcciónDeletes a [slack integration mapping](https://support.box.com/hc/en-us/articles/4415585987859-box-as-the-content-layer-for-slack). you need admin or co-admin role to use this endpoint.
BOX_DELETE_SLACK_INTEGRATION_MAPPINGAcciónDeletes a [slack integration mapping](https://support.box.com/hc/en-us/articles/4415585987859-box-as-the-content-layer-for-slack). you need admin or co-admin role to use this endpoint.
Parámetros de entrada
integration_mapping_idstringObligatorioAn ID of an integration mapping
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete teams integration mappingBOX_DELETE_TEAMS_INTEGRATION_MAPPINGAcciónDeletes a [teams integration mapping](https://support.box.com/hc/en-us/articles/360044681474-using-box-for-teams). you need admin or co-admin role to use this endpoint.
BOX_DELETE_TEAMS_INTEGRATION_MAPPINGAcciónDeletes a [teams integration mapping](https://support.box.com/hc/en-us/articles/360044681474-using-box-for-teams). you need admin or co-admin role to use this endpoint.
Parámetros de entrada
integration_mapping_idstringObligatorioAn ID of an integration mapping
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete userBOX_DELETE_USERAcciónDeletes a user. by default this will fail if the user still owns any content. move their owned content first before proceeding, or use the `force` field to delete the user and their files.
BOX_DELETE_USERAcciónDeletes a user. by default this will fail if the user still owns any content. move their owned content first before proceeding, or use the `force` field to delete the user and their files.
Parámetros de entrada
forcebooleanWhether the user should be deleted even if this user still own files
notifybooleanWhether the user will receive email notification of the deletion
user_idstringObligatorioThe ID of the user.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete user avatarBOX_DELETE_USER_AVATARAcciónRemoves an existing user avatar. you cannot reverse this operation.
BOX_DELETE_USER_AVATARAcciónRemoves an existing user avatar. you cannot reverse this operation.
Parámetros de entrada
user_idstringObligatorioThe ID of the user.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Download fileBOX_DOWNLOAD_FILEAcciónReturns the contents of a file in binary format.
BOX_DOWNLOAD_FILEAcciónReturns the contents of a file in binary format.
Parámetros de entrada
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
versionstringThe file version to download
access_tokenstringAn optional access token that can be used to pre-authenticate this request, which means that a download link can be shared with a browser or a third party service without them needing to know how to handle the authentication. When using this parameter, please make sure that the access token is sufficiently scoped down to only allow read access to that file and no other files or folders.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Download zip archiveBOX_DOWNLOAD_ZIP_ARCHIVEAcciónReturns the contents of a `zip` archive in binary format. this url does not require any form of authentication and could be used in a user's browser to download the archive to a user's device. by default, this url is only valid for a few seconds from the creation of the request for this archive. once a download has started it can not be stopped and resumed, instead a new request for a zip archive would need to be created. the url of this endpoint should not be considered as fixed. instead, use the [create zip download](e://post zip downloads) api to request to create a `zip` archive, and then follow the `download url` field in the response to this endpoint.
BOX_DOWNLOAD_ZIP_ARCHIVEAcciónReturns the contents of a `zip` archive in binary format. this url does not require any form of authentication and could be used in a user's browser to download the archive to a user's device. by default, this url is only valid for a few seconds from the creation of the request for this archive. once a download has started it can not be stopped and resumed, instead a new request for a zip archive would need to be created. the url of this endpoint should not be considered as fixed. instead, use the [create zip download](e://post zip downloads) api to request to create a `zip` archive, and then follow the `download url` field in the response to this endpoint.
Parámetros de entrada
zip_download_idstringObligatorioThe unique identifier that represent this `zip` archive.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Extract metadata freeformBOX_EXTRACT_METADATA_FREEFORMAcciónSends an ai request to supported large language models (llms) and extracts metadata in form of key-value pairs. in this request, both the prompt and the output can be freeform. metadata template setup before sending the request is not required.
BOX_EXTRACT_METADATA_FREEFORMAcciónSends an ai request to supported large language models (llms) and extracts metadata in form of key-value pairs. in this request, both the prompt and the output can be freeform. metadata template setup before sending the request is not required.
Parámetros de entrada
itemsobject[]ObligatorioThe items that LLM will process. Currently, you can use files only.
promptstringObligatorioThe prompt provided to a Large Language Model (LLM) in the request. The prompt can be up to 10000 characters long and it can be an XML or a JSON schema.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Extract metadata structuredBOX_EXTRACT_METADATA_STRUCTUREDAcciónSends an ai request to supported large language models (llms) and returns extracted metadata as a set of key-value pairs. for this request, you either need a metadata template or a list of fields you want to extract. input is **either** a metadata template or a list of fields to ensure the structure. to learn more about creating templates, see [creating metadata templates in the admin console](https://support.box.com/hc/en-us/articles/360044194033-customizing-metadata-templates) or use the [metadata template api](g://metadata/templates/create).
BOX_EXTRACT_METADATA_STRUCTUREDAcciónSends an ai request to supported large language models (llms) and returns extracted metadata as a set of key-value pairs. for this request, you either need a metadata template or a list of fields you want to extract. input is **either** a metadata template or a list of fields to ensure the structure. to learn more about creating templates, see [creating metadata templates in the admin console](https://support.box.com/hc/en-us/articles/360044194033-customizing-metadata-templates) or use the [metadata template api](g://metadata/templates/create).
Parámetros de entrada
itemsobject[]ObligatorioThe items to be processed by the LLM. Currently you can use files only.
fieldsobject[]The fields to be extracted from the provided items. For your request to work, you must provide either `metadata_template` or `fields`, but not both.
metadata__template__typestringenumValue is always `metadata_template`.
metadata_templatemetadata__template__scopestringThe scope of the metadata template that can either be global or enterprise. * The **global** scope is used for templates that are available to any Box enterprise. * The **enterprise** scope represents templates created within a specific enterprise, containing the ID of that enterprise.
metadata__template__template__keystringThe name of the metadata template.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find app item for shared linkBOX_FIND_APP_ITEM_FOR_SHARED_LINKAcciónReturns the app item represented by a shared link. the link can originate from the current enterprise or another.
BOX_FIND_APP_ITEM_FOR_SHARED_LINKAcciónReturns the app item represented by a shared link. the link can originate from the current enterprise or another.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find file for shared linkBOX_FIND_FILE_FOR_SHARED_LINKAcciónReturns the file represented by a shared link. a shared file can be represented by a shared link, which can originate within the current enterprise or within another. this endpoint allows an application to retrieve information about a shared file when only given a shared link. the `shared link permission options` array field can be returned by requesting it in the `fields` query parameter.
BOX_FIND_FILE_FOR_SHARED_LINKAcciónReturns the file represented by a shared link. a shared file can be represented by a shared link, which can originate within the current enterprise or within another. this endpoint allows an application to retrieve information about a shared file when only given a shared link. the `shared link permission options` array field can be returned by requesting it in the `fields` query parameter.
Parámetros de entrada
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find folder for shared linkBOX_FIND_FOLDER_FOR_SHARED_LINKAcciónReturn the folder represented by a shared link. a shared folder can be represented by a shared link, which can originate within the current enterprise or within another. this endpoint allows an application to retrieve information about a shared folder when only given a shared link.
BOX_FIND_FOLDER_FOR_SHARED_LINKAcciónReturn the folder represented by a shared link. a shared folder can be represented by a shared link, which can originate within the current enterprise or within another. this endpoint allows an application to retrieve information about a shared folder when only given a shared link.
Parámetros de entrada
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find metadata template by instance idBOX_FIND_METADATA_TEMPLATE_BY_INSTANCE_IDAcciónFinds a metadata template by searching for the id of an instance of the template.
BOX_FIND_METADATA_TEMPLATE_BY_INSTANCE_IDAcciónFinds a metadata template by searching for the id of an instance of the template.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
metadata_instance_idstringObligatorioThe ID of an instance of the metadata template to find.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find web link for shared linkBOX_FIND_WEB_LINK_FOR_SHARED_LINKAcciónReturns the web link represented by a shared link. a shared web link can be represented by a shared link, which can originate within the current enterprise or within another. this endpoint allows an application to retrieve information about a shared web link when only given a shared link.
BOX_FIND_WEB_LINK_FOR_SHARED_LINKAcciónReturns the web link represented by a shared link. a shared web link can be represented by a shared link, which can originate within the current enterprise or within another. this endpoint allows an application to retrieve information about a shared web link when only given a shared link.
Parámetros de entrada
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Force apply metadata cascade policy to folderBOX_FORCE_APPLY_METADATA_CASCADE_POLICY_TO_FOLDERAcciónForce the metadata on a folder with a metadata cascade policy to be applied to all of its children. this can be used after creating a new cascade policy to enforce the metadata to be cascaded down to all existing files within that folder.
BOX_FORCE_APPLY_METADATA_CASCADE_POLICY_TO_FOLDERAcciónForce the metadata on a folder with a metadata cascade policy to be applied to all of its children. this can be used after creating a new cascade policy to enforce the metadata to be cascaded down to all existing files within that folder.
Parámetros de entrada
conflict_resolutionstringObligatorioenumDescribes the desired behavior when dealing with the conflict where a metadata template already has an instance applied to a child. * `none` will preserve the existing value on the file * `overwrite` will force-apply the templates values over any existing values.
noneoverwritemetadata_cascade_policy_idstringObligatorioThe ID of the cascade policy to force-apply.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate textBOX_GENERATE_TEXTAcciónSends an ai request to supported large language models (llms) and returns generated text based on the provided prompt.
BOX_GENERATE_TEXTAcciónSends an ai request to supported large language models (llms) and returns generated text based on the provided prompt.
Parámetros de entrada
itemsobject[]ObligatorioThe items to be processed by the LLM, often files. The array can include **exactly one** element. **Note**: Box AI handles documents with text representations up to 1MB in size. If the file size exceeds 1MB, the first 1MB of text representation will be processed.
promptstringObligatorioThe prompt provided by the client to be answered by the LLM. The prompt"s length is limited to 10000 characters.
dialogue_historyobject[]The history of prompts and answers previously passed to the LLM. This parameter provides the additional context to the LLM when generating the response.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ai agent by agent idBOX_GET_AI_AGENT_BY_AGENT_IDAcciónGets an ai agent using the `agent id` parameter.
BOX_GET_AI_AGENT_BY_AGENT_IDAcciónGets an ai agent using the `agent id` parameter.
Parámetros de entrada
fieldsstring[]The fields to return in the response.
agent_idstringObligatorioThe agent id to get.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ai agent default configurationBOX_GET_AI_AGENT_DEFAULT_CONFIGURATIONAcciónGet the ai agent default config
BOX_GET_AI_AGENT_DEFAULT_CONFIGURATIONAcciónGet the ai agent default config
Parámetros de entrada
modestringObligatorioenumThe mode to filter the agent config to return.
askextractextract_structuredtext_genmodelstringThe model to return the default agent config for.
languagestringThe ISO language code to return the agent config for. If the language is not supported the default agent config is returned.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get allowed collaboration domainBOX_GET_ALLOWED_COLLABORATION_DOMAINAcciónReturns a domain that has been deemed safe to create collaborations for within the current enterprise.
BOX_GET_ALLOWED_COLLABORATION_DOMAINAcciónReturns a domain that has been deemed safe to create collaborations for within the current enterprise.
Parámetros de entrada
collaboration_whitelist_entry_idstringObligatorioThe ID of the entry in the list.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get box sign request by idBOX_GET_BOX_SIGN_REQUEST_BY_IDAcciónGets a sign request by id.
BOX_GET_BOX_SIGN_REQUEST_BY_IDAcciónGets a sign request by id.
Parámetros de entrada
sign_request_idstringObligatorioThe ID of the signature request
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get box sign template by idBOX_GET_BOX_SIGN_TEMPLATE_BY_IDAcciónFetches details of a specific box sign template.
BOX_GET_BOX_SIGN_TEMPLATE_BY_IDAcciónFetches details of a specific box sign template.
Parámetros de entrada
template_idstringObligatorioThe ID of a Box Sign template.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get classification on fileBOX_GET_CLASSIFICATION_ON_FILEAcciónRetrieves the classification metadata instance that has been applied to a file. this api can also be called by including the enterprise id in the url explicitly, for example `/files/:id//enterprise 12345/securityclassification-6vmvochwuwo`.
BOX_GET_CLASSIFICATION_ON_FILEAcciónRetrieves the classification metadata instance that has been applied to a file. this api can also be called by including the enterprise id in the url explicitly, for example `/files/:id//enterprise 12345/securityclassification-6vmvochwuwo`.
Parámetros de entrada
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get classification on folderBOX_GET_CLASSIFICATION_ON_FOLDERAcciónRetrieves the classification metadata instance that has been applied to a folder. this api can also be called by including the enterprise id in the url explicitly, for example `/folders/:id/enterprise 12345/securityclassification-6vmvochwuwo`.
BOX_GET_CLASSIFICATION_ON_FOLDERAcciónRetrieves the classification metadata instance that has been applied to a folder. this api can also be called by including the enterprise id in the url explicitly, for example `/folders/:id/enterprise 12345/securityclassification-6vmvochwuwo`.
Parámetros de entrada
folder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get collaborationBOX_GET_COLLABORATIONAcciónRetrieves a single collaboration.
BOX_GET_COLLABORATIONAcciónRetrieves a single collaboration.
Parámetros de entrada
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
collaboration_idstringObligatorioThe ID of the collaboration
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get collection by idBOX_GET_COLLECTION_BY_IDAcciónRetrieves a collection by its id.
BOX_GET_COLLECTION_BY_IDAcciónRetrieves a collection by its id.
Parámetros de entrada
collection_idstringObligatorioThe ID of the collection.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get commentBOX_GET_COMMENTAcciónRetrieves the message and metadata for a specific comment, as well as information on the user who created the comment.
BOX_GET_COMMENTAcciónRetrieves the message and metadata for a specific comment, as well as information on the user who created the comment.
Parámetros de entrada
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
comment_idstringObligatorioThe ID of the comment.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get current userBOX_GET_CURRENT_USERAcciónRetrieves information about the user who is currently authenticated. in the case of a client-side authenticated oauth 2.0 application this will be the user who authorized the app. in the case of a jwt, server-side authenticated application this will be the service account that belongs to the application by default. use the `as-user` header to change who this api call is made on behalf of.
BOX_GET_CURRENT_USERAcciónRetrieves information about the user who is currently authenticated. in the case of a client-side authenticated oauth 2.0 application this will be the user who authorized the app. in the case of a jwt, server-side authenticated application this will be the service account that belongs to the application by default. use the `as-user` header to change who this api call is made on behalf of.
Parámetros de entrada
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get device pinBOX_GET_DEVICE_PINAcciónRetrieves information about an individual device pin.
BOX_GET_DEVICE_PINAcciónRetrieves information about an individual device pin.
Parámetros de entrada
device_pinner_idstringObligatorioThe ID of the device pin
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get events long poll endpointBOX_GET_EVENTS_LONG_POLL_ENDPOINTAcciónThe listevents endpoint provides information about the events available in the box system. this options method allows developers to discover the capabilities and requirements for interacting with the /events endpoint. it's particularly useful for understanding the types of events that can be monitored, the format of event data, and any constraints or limitations on event retrieval. this endpoint should be used when setting up event monitoring or webhook integrations to ensure proper configuration and understanding of the event system. while it doesn't directly fetch events, it offers crucial metadata for effectively working with box's event streaming and notification features.
BOX_GET_EVENTS_LONG_POLL_ENDPOINTAcciónThe listevents endpoint provides information about the events available in the box system. this options method allows developers to discover the capabilities and requirements for interacting with the /events endpoint. it's particularly useful for understanding the types of events that can be monitored, the format of event data, and any constraints or limitations on event retrieval. this endpoint should be used when setting up event monitoring or webhook integrations to ensure proper configuration and understanding of the event system. while it doesn't directly fetch events, it offers crucial metadata for effectively working with box's event streaming and notification features.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get file informationBOX_GET_FILE_INFORMATIONAcciónRetrieves the details about a file.
BOX_GET_FILE_INFORMATIONAcciónRetrieves the details about a file.
Parámetros de entrada
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested. Additionally this field can be used to query any metadata applied to the file by specifying the `metadata` field as well as the scope and key of the template to retrieve, for example `?fields=metadata.enterprise_12345.contractTemplate`.
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get file requestBOX_GET_FILE_REQUESTAcciónRetrieves the information about a file request.
BOX_GET_FILE_REQUESTAcciónRetrieves the information about a file request.
Parámetros de entrada
file_request_idstringObligatorioThe unique identifier that represent a file request. The ID for any file request can be determined by visiting a file request builder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/filerequest/123` the `file_request_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get files under retentionBOX_GET_FILES_UNDER_RETENTIONAcciónReturns a list of files under retention for a retention policy assignment.
BOX_GET_FILES_UNDER_RETENTIONAcciónReturns a list of files under retention for a retention policy assignment.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
retention_policy_assignment_idstringObligatorioThe ID of the retention policy assignment.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get file thumbnailBOX_GET_FILE_THUMBNAILAcciónRetrieves a thumbnail, or smaller image representation, of a file. sizes of `32x32`,`64x64`, `128x128`, and `256x256` can be returned in the `.png` format and sizes of `32x32`, `160x160`, and `320x320` can be returned in the `.jpg` format. thumbnails can be generated for the image and video file formats listed [found on our community site][1]. [1]: https://community.box.com/t5/migrating-and-previewing-content/file-types-and-fonts-supported-in-box-content-preview/ta-p/327
BOX_GET_FILE_THUMBNAILAcciónRetrieves a thumbnail, or smaller image representation, of a file. sizes of `32x32`,`64x64`, `128x128`, and `256x256` can be returned in the `.png` format and sizes of `32x32`, `160x160`, and `320x320` can be returned in the `.jpg` format. thumbnails can be generated for the image and video file formats listed [found on our community site][1]. [1]: https://community.box.com/t5/migrating-and-previewing-content/file-types-and-fonts-supported-in-box-content-preview/ta-p/327
Parámetros de entrada
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
extensionstringObligatorioenumThe file format for the thumbnail
jpgpngmax_widthintegerThe maximum width of the thumbnail
min_widthintegerThe minimum width of the thumbnail
max_heightintegerThe maximum height of the thumbnail
min_heightintegerThe minimum height of the thumbnail
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get file versionBOX_GET_FILE_VERSIONAcciónRetrieve a specific version of a file. versions are only tracked for box users with premium accounts.
BOX_GET_FILE_VERSIONAcciónRetrieve a specific version of a file. versions are only tracked for box users with premium accounts.
Parámetros de entrada
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
file_version_idstringObligatorioThe ID of the file version
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get file version legal holdBOX_GET_FILE_VERSION_LEGAL_HOLDAcciónRetrieves information about the legal hold policies assigned to a file version.
BOX_GET_FILE_VERSION_LEGAL_HOLDAcciónRetrieves information about the legal hold policies assigned to a file version.
Parámetros de entrada
file_version_legal_hold_idstringObligatorioThe ID of the file version legal hold
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get file versions under retentionBOX_GET_FILE_VERSIONS_UNDER_RETENTIONAcciónReturns a list of file versions under retention for a retention policy assignment.
BOX_GET_FILE_VERSIONS_UNDER_RETENTIONAcciónReturns a list of file versions under retention for a retention policy assignment.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
retention_policy_assignment_idstringObligatorioThe ID of the retention policy assignment.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get folder informationBOX_GET_FOLDER_INFORMATIONAcciónRetrieves details for a folder, including the first 100 entries in the folder. passing `sort`, `direction`, `offset`, and `limit` parameters in query allows you to manage the list of returned [folder items](r://folder--full#param-item-collection). to fetch more items within the folder, use the [get items in a folder](e://get-folders-id-items) endpoint.
BOX_GET_FOLDER_INFORMATIONAcciónRetrieves details for a folder, including the first 100 entries in the folder. passing `sort`, `direction`, `offset`, and `limit` parameters in query allows you to manage the list of returned [folder items](r://folder--full#param-item-collection). to fetch more items within the folder, use the [get items in a folder](e://get-folders-id-items) endpoint.
Parámetros de entrada
sortstringenumDefines the **second** attribute by which items are sorted. The folder type affects the way the items are sorted: * **Standard folder**: Items are always sorted by their `type` first, with folders listed before files, and files listed before web links. * **Root folder**: This parameter is not supported for marker-based pagination on the root folder (the folder with an `id` of `0`). * **Shared folder with parent path to the associated folder visible to the collaborator**: Items are always sorted by their `type` first, with folders listed before files, and files listed before web links.
dateidnamesizelimitintegerThe maximum number of items to return per page.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested. Additionally this field can be used to query any metadata applied to the file by specifying the `metadata` field as well as the scope and key of the template to retrieve, for example `?fields=metadata.enterprise_12345.contractTemplate`.
offsetintegerThe offset of the item at which to begin the response. Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
directionstringenumThe direction to sort results in. This can be either in alphabetical ascending (`ASC`) or descending (`DESC`) order.
ASCDESCfolder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get groupBOX_GET_GROUPAcciónRetrieves information about a group. only members of this group or users with admin-level permissions will be able to use this api.
BOX_GET_GROUPAcciónRetrieves information about a group. only members of this group or users with admin-level permissions will be able to use this api.
Parámetros de entrada
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
group_idstringObligatorioThe ID of the group.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get group membershipBOX_GET_GROUP_MEMBERSHIPAcciónRetrieves a specific group membership. only admins of this group or users with admin-level permissions will be able to use this api.
BOX_GET_GROUP_MEMBERSHIPAcciónRetrieves a specific group membership. only admins of this group or users with admin-level permissions will be able to use this api.
Parámetros de entrada
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
group_membership_idstringObligatorioThe ID of the group membership.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get legal hold policyBOX_GET_LEGAL_HOLD_POLICYAcciónRetrieve a legal hold policy.
BOX_GET_LEGAL_HOLD_POLICYAcciónRetrieve a legal hold policy.
Parámetros de entrada
legal_hold_policy_idstringObligatorioThe ID of the legal hold policy
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get legal hold policy assignmentBOX_GET_LEGAL_HOLD_POLICY_ASSIGNMENTAcciónRetrieve a legal hold policy assignment.
BOX_GET_LEGAL_HOLD_POLICY_ASSIGNMENTAcciónRetrieve a legal hold policy assignment.
Parámetros de entrada
legal_hold_policy_assignment_idstringObligatorioThe ID of the legal hold policy assignment
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get metadata cascade policyBOX_GET_METADATA_CASCADE_POLICYAcciónRetrieve a specific metadata cascade policy assigned to a folder.
BOX_GET_METADATA_CASCADE_POLICYAcciónRetrieve a specific metadata cascade policy assigned to a folder.
Parámetros de entrada
metadata_cascade_policy_idstringObligatorioThe ID of the metadata cascade policy.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get metadata instance on fileBOX_GET_METADATA_INSTANCE_ON_FILEAcciónRetrieves the instance of a metadata template that has been applied to a file.
BOX_GET_METADATA_INSTANCE_ON_FILEAcciónRetrieves the instance of a metadata template that has been applied to a file.
Parámetros de entrada
scopestringObligatorioenumThe scope of the metadata template
enterpriseglobalfile_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
template_keystringObligatorioThe name of the metadata template
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get metadata instance on folderBOX_GET_METADATA_INSTANCE_ON_FOLDERAcciónRetrieves the instance of a metadata template that has been applied to a folder. this can not be used on the root folder with id `0`.
BOX_GET_METADATA_INSTANCE_ON_FOLDERAcciónRetrieves the instance of a metadata template that has been applied to a folder. this can not be used on the root folder with id `0`.
Parámetros de entrada
scopestringObligatorioenumThe scope of the metadata template
enterpriseglobalfolder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
template_keystringObligatorioThe name of the metadata template
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get metadata template by idBOX_GET_METADATA_TEMPLATE_BY_IDAcciónRetrieves a metadata template by its id.
BOX_GET_METADATA_TEMPLATE_BY_IDAcciónRetrieves a metadata template by its id.
Parámetros de entrada
template_idstringObligatorioThe ID of the template
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get metadata template by nameBOX_GET_METADATA_TEMPLATE_BY_NAMEAcciónRetrieves a metadata template by its `scope` and `templatekey` values. to find the `scope` and `templatekey` for a template, list all templates for an enterprise or globally, or list all templates applied to a file or folder.
BOX_GET_METADATA_TEMPLATE_BY_NAMEAcciónRetrieves a metadata template by its `scope` and `templatekey` values. to find the `scope` and `templatekey` for a template, list all templates for an enterprise or globally, or list all templates applied to a file or folder.
Parámetros de entrada
scopestringObligatorioenumThe scope of the metadata template
enterpriseglobaltemplate_keystringObligatorioThe name of the metadata template
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get retention on fileBOX_GET_RETENTION_ON_FILEAcciónReturns information about a file version retention. **note**: file retention api is now **deprecated**. to get information about files and file versions under retention, see [files under retention](e://get-retention-policy-assignments-id-files-under-retention) or [file versions under retention](e://get-retention-policy-assignments-id-file-versions-under-retention) endpoints.
BOX_GET_RETENTION_ON_FILEAcciónReturns information about a file version retention. **note**: file retention api is now **deprecated**. to get information about files and file versions under retention, see [files under retention](e://get-retention-policy-assignments-id-files-under-retention) or [file versions under retention](e://get-retention-policy-assignments-id-file-versions-under-retention) endpoints.
Parámetros de entrada
file_version_retention_idstringObligatorioThe ID of the file version retention
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get retention policyBOX_GET_RETENTION_POLICYAcciónRetrieves a retention policy.
BOX_GET_RETENTION_POLICYAcciónRetrieves a retention policy.
Parámetros de entrada
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
retention_policy_idstringObligatorioThe ID of the retention policy.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get retention policy assignmentBOX_GET_RETENTION_POLICY_ASSIGNMENTAcciónRetrieves a retention policy assignment
BOX_GET_RETENTION_POLICY_ASSIGNMENTAcciónRetrieves a retention policy assignment
Parámetros de entrada
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
retention_policy_assignment_idstringObligatorioThe ID of the retention policy assignment.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get shared link for fileBOX_GET_SHARED_LINK_FOR_FILEAcciónGets the information for a shared link on a file.
BOX_GET_SHARED_LINK_FOR_FILEAcciónGets the information for a shared link on a file.
Parámetros de entrada
fieldsstringObligatorioExplicitly request the `shared_link` fields to be returned for this item.
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get shared link for folderBOX_GET_SHARED_LINK_FOR_FOLDERAcciónGets the information for a shared link on a folder.
BOX_GET_SHARED_LINK_FOR_FOLDERAcciónGets the information for a shared link on a folder.
Parámetros de entrada
fieldsstringObligatorioExplicitly request the `shared_link` fields to be returned for this item.
folder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get shared link for web linkBOX_GET_SHARED_LINK_FOR_WEB_LINKAcciónGets the information for a shared link on a web link.
BOX_GET_SHARED_LINK_FOR_WEB_LINKAcciónGets the information for a shared link on a web link.
Parámetros de entrada
fieldsstringObligatorioExplicitly request the `shared_link` fields to be returned for this item.
web_link_idstringObligatorioThe ID of the web link.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get shield information barrier report by idBOX_GET_SHIELD_INFORMATION_BARRIER_REPORT_BY_IDAcciónRetrieves a shield information barrier report by its id.
BOX_GET_SHIELD_INFORMATION_BARRIER_REPORT_BY_IDAcciónRetrieves a shield information barrier report by its id.
Parámetros de entrada
shield_information_barrier_report_idstringObligatorioThe ID of the shield information barrier Report.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get shield information barrier segment member by idBOX_GET_SHIELD_INFORMATION_BARRIER_SEGMENT_MEMBER_BY_IDAcciónRetrieves a shield information barrier segment member by its id.
BOX_GET_SHIELD_INFORMATION_BARRIER_SEGMENT_MEMBER_BY_IDAcciónRetrieves a shield information barrier segment member by its id.
Parámetros de entrada
shield_information_barrier_segment_member_idstringObligatorioThe ID of the shield information barrier segment Member.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get shield information barrier segment restriction by idBOX_GET_SHIELD_INFORMATION_BARRIER_SEGMENT_RESTRICTION_BY_IDAcciónRetrieves a shield information barrier segment restriction based on provided id.
BOX_GET_SHIELD_INFORMATION_BARRIER_SEGMENT_RESTRICTION_BY_IDAcciónRetrieves a shield information barrier segment restriction based on provided id.
Parámetros de entrada
shield_information_barrier_segment_restriction_idstringObligatorioThe ID of the shield information barrier segment Restriction.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get shield information barrier segment with specified idBOX_GET_SHIELD_INFORMATION_BARRIER_SEGMENT_WITH_SPECIFIED_IDAcciónRetrieves shield information barrier segment based on provided id..
BOX_GET_SHIELD_INFORMATION_BARRIER_SEGMENT_WITH_SPECIFIED_IDAcciónRetrieves shield information barrier segment based on provided id..
Parámetros de entrada
shield_information_barrier_segment_idstringObligatorioThe ID of the shield information barrier segment.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get shield information barrier with specified idBOX_GET_SHIELD_INFORMATION_BARRIER_WITH_SPECIFIED_IDAcciónGet shield information barrier based on provided id.
BOX_GET_SHIELD_INFORMATION_BARRIER_WITH_SPECIFIED_IDAcciónGet shield information barrier based on provided id.
Parámetros de entrada
shield_information_barrier_idstringObligatorioThe ID of the shield information barrier.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get storage policyBOX_GET_STORAGE_POLICYAcciónFetches a specific storage policy.
BOX_GET_STORAGE_POLICYAcciónFetches a specific storage policy.
Parámetros de entrada
storage_policy_idstringObligatorioThe ID of the storage policy.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get storage policy assignmentBOX_GET_STORAGE_POLICY_ASSIGNMENTAcciónFetches a specific storage policy assignment.
BOX_GET_STORAGE_POLICY_ASSIGNMENTAcciónFetches a specific storage policy assignment.
Parámetros de entrada
storage_policy_assignment_idstringObligatorioThe ID of the storage policy assignment.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get taskBOX_GET_TASKAcciónRetrieves information about a specific task.
BOX_GET_TASKAcciónRetrieves information about a specific task.
Parámetros de entrada
task_idstringObligatorioThe ID of the task.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get task assignmentBOX_GET_TASK_ASSIGNMENTAcciónRetrieves information about a task assignment.
BOX_GET_TASK_ASSIGNMENTAcciónRetrieves information about a task assignment.
Parámetros de entrada
task_assignment_idstringObligatorioThe ID of the task assignment.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get terms of serviceBOX_GET_TERMS_OF_SERVICEAcciónFetches a specific terms of service.
BOX_GET_TERMS_OF_SERVICEAcciónFetches a specific terms of service.
Parámetros de entrada
terms_of_service_idstringObligatorioThe ID of the terms of service.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get trashed fileBOX_GET_TRASHED_FILEAcciónRetrieves a file that has been moved to the trash. please note that only if the file itself has been moved to the trash can it be retrieved with this api call. if instead one of its parent folders was moved to the trash, only that folder can be inspected using the [`get /folders/:id/trash`](e://get folders id trash) api. to list all items that have been moved to the trash, please use the [`get /folders/trash/items`](e://get-folders-trash-items/) api.
BOX_GET_TRASHED_FILEAcciónRetrieves a file that has been moved to the trash. please note that only if the file itself has been moved to the trash can it be retrieved with this api call. if instead one of its parent folders was moved to the trash, only that folder can be inspected using the [`get /folders/:id/trash`](e://get folders id trash) api. to list all items that have been moved to the trash, please use the [`get /folders/trash/items`](e://get-folders-trash-items/) api.
Parámetros de entrada
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get trashed folderBOX_GET_TRASHED_FOLDERAcciónRetrieves a folder that has been moved to the trash. please note that only if the folder itself has been moved to the trash can it be retrieved with this api call. if instead one of its parent folders was moved to the trash, only that folder can be inspected using the [`get /folders/:id/trash`](e://get folders id trash) api. to list all items that have been moved to the trash, please use the [`get /folders/trash/items`](e://get-folders-trash-items/) api.
BOX_GET_TRASHED_FOLDERAcciónRetrieves a folder that has been moved to the trash. please note that only if the folder itself has been moved to the trash can it be retrieved with this api call. if instead one of its parent folders was moved to the trash, only that folder can be inspected using the [`get /folders/:id/trash`](e://get folders id trash) api. to list all items that have been moved to the trash, please use the [`get /folders/trash/items`](e://get-folders-trash-items/) api.
Parámetros de entrada
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
folder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get trashed web linkBOX_GET_TRASHED_WEB_LINKAcciónRetrieves a web link that has been moved to the trash.
BOX_GET_TRASHED_WEB_LINKAcciónRetrieves a web link that has been moved to the trash.
Parámetros de entrada
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
web_link_idstringObligatorioThe ID of the web link.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get upload sessionBOX_GET_UPLOAD_SESSIONAcciónReturn information about an upload session. the actual endpoint url is returned by the [`create upload session`](e://post-files-upload-sessions) endpoint.
BOX_GET_UPLOAD_SESSIONAcciónReturn information about an upload session. the actual endpoint url is returned by the [`create upload session`](e://post-files-upload-sessions) endpoint.
Parámetros de entrada
upload_session_idstringObligatorioThe ID of the upload session.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get userBOX_GET_USERAcciónRetrieves information about a user in the enterprise. the application and the authenticated user need to have the permission to look up users in the entire enterprise. this endpoint also returns a limited set of information for external users who are collaborated on content owned by the enterprise for authenticated users with the right scopes. in this case, disallowed fields will return null instead.
BOX_GET_USERAcciónRetrieves information about a user in the enterprise. the application and the authenticated user need to have the permission to look up users in the entire enterprise. this endpoint also returns a limited set of information for external users who are collaborated on content owned by the enterprise for authenticated users with the right scopes. in this case, disallowed fields will return null instead.
Parámetros de entrada
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
user_idstringObligatorioThe ID of the user.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get user avatarBOX_GET_USER_AVATARAcciónRetrieves an image of a the user's avatar.
BOX_GET_USER_AVATARAcciónRetrieves an image of a the user's avatar.
Parámetros de entrada
user_idstringObligatorioThe ID of the user.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get user exempt from collaboration domain restrictionsBOX_GET_USER_EXEMPT_FROM_COLLABORATION_DOMAIN_RESTRICTIONSAcciónReturns a users who has been exempt from the collaboration domain restrictions.
BOX_GET_USER_EXEMPT_FROM_COLLABORATION_DOMAIN_RESTRICTIONSAcciónReturns a users who has been exempt from the collaboration domain restrictions.
Parámetros de entrada
collaboration_whitelist_exempt_target_idstringObligatorioThe ID of the exemption to the list.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get user invite statusBOX_GET_USER_INVITE_STATUSAcciónReturns the status of a user invite.
BOX_GET_USER_INVITE_STATUSAcciónReturns the status of a user invite.
Parámetros de entrada
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
invite_idstringObligatorioThe ID of an invite.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get watermark for folderBOX_GET_WATERMARK_FOR_FOLDERAcciónRetrieve the watermark for a folder.
BOX_GET_WATERMARK_FOR_FOLDERAcciónRetrieve the watermark for a folder.
Parámetros de entrada
folder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get watermark on fileBOX_GET_WATERMARK_ON_FILEAcciónRetrieve the watermark for a file.
BOX_GET_WATERMARK_ON_FILEAcciónRetrieve the watermark for a file.
Parámetros de entrada
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get webhookBOX_GET_WEBHOOKAcciónRetrieves a specific webhook
BOX_GET_WEBHOOKAcciónRetrieves a specific webhook
Parámetros de entrada
webhook_idstringObligatorioThe ID of the webhook.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get web linkBOX_GET_WEB_LINKAcciónRetrieve information about a web link.
BOX_GET_WEB_LINKAcciónRetrieve information about a web link.
Parámetros de entrada
web_link_idstringObligatorioThe ID of the web link.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get zip download statusBOX_GET_ZIP_DOWNLOAD_STATUSAcciónReturns the download status of a `zip` archive, allowing an application to inspect the progress of the download as well as the number of items that might have been skipped. this endpoint can only be accessed once the download has started. subsequently this endpoint is valid for 12 hours from the start of the download. the url of this endpoint should not be considered as fixed. instead, use the [create zip download](e://post zip downloads) api to request to create a `zip` archive, and then follow the `status url` field in the response to this endpoint.
BOX_GET_ZIP_DOWNLOAD_STATUSAcciónReturns the download status of a `zip` archive, allowing an application to inspect the progress of the download as well as the number of items that might have been skipped. this endpoint can only be accessed once the download has started. subsequently this endpoint is valid for 12 hours from the start of the download. the url of this endpoint should not be considered as fixed. instead, use the [create zip download](e://post zip downloads) api to request to create a `zip` archive, and then follow the `status url` field in the response to this endpoint.
Parámetros de entrada
zip_download_idstringObligatorioThe unique identifier that represent this `zip` archive.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ai agentsBOX_LIST_AI_AGENTSAcciónLists ai agents based on the provided parameters.
BOX_LIST_AI_AGENTSAcciónLists ai agents based on the provided parameters.
Parámetros de entrada
modestring[]The mode to filter the agent config to return. Possible values are: `ask`, `text_gen`, and `extract`.
limitintegerThe maximum number of items to return per page.
fieldsstring[]The fields to return in the response.
markerstringDefines the position marker at which to begin returning results.
agent_statestring[]The state of the agents to return. Possible values are: `enabled`, `disabled` and `enabled_for_selected_users`.
include_box_defaultbooleanWhether to include the Box default agents in the response.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List all classificationsBOX_LIST_ALL_CLASSIFICATIONSAcciónRetrieves the classification metadata template and lists all the classifications available to this enterprise. this api can also be called by including the enterprise id in the url explicitly, for example `/metadata templates/enterprise 12345/securityclassification-6vmvochwuwo/schema`.
BOX_LIST_ALL_CLASSIFICATIONSAcciónRetrieves the classification metadata template and lists all the classifications available to this enterprise. this api can also be called by including the enterprise id in the url explicitly, for example `/metadata templates/enterprise 12345/securityclassification-6vmvochwuwo/schema`.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List all collectionsBOX_LIST_ALL_COLLECTIONSAcciónRetrieves all collections for a given user. currently, only the `favorites` collection is supported.
BOX_LIST_ALL_COLLECTIONSAcciónRetrieves all collections for a given user. currently, only the `favorites` collection is supported.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
offsetintegerThe offset of the item at which to begin the response. Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List all file versionsBOX_LIST_ALL_FILE_VERSIONSAcciónRetrieve a list of the past versions for a file. versions are only tracked by box users with premium accounts. to fetch the id of the current version of a file, use the `get /file/:id` api.
BOX_LIST_ALL_FILE_VERSIONSAcciónRetrieve a list of the past versions for a file. versions are only tracked by box users with premium accounts. to fetch the id of the current version of a file, use the `get /file/:id` api.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
offsetintegerThe offset of the item at which to begin the response. Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List all global metadata templatesBOX_LIST_ALL_GLOBAL_METADATA_TEMPLATESAcciónUsed to retrieve all generic, global metadata templates available to all enterprises using box.
BOX_LIST_ALL_GLOBAL_METADATA_TEMPLATESAcciónUsed to retrieve all generic, global metadata templates available to all enterprises using box.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List all legal hold policiesBOX_LIST_ALL_LEGAL_HOLD_POLICIESAcciónRetrieves a list of legal hold policies that belong to an enterprise.
BOX_LIST_ALL_LEGAL_HOLD_POLICIESAcciónRetrieves a list of legal hold policies that belong to an enterprise.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
policy_namestringLimits results to policies for which the names start with this search term. This is a case-insensitive prefix.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List all metadata templates for enterpriseBOX_LIST_ALL_METADATA_TEMPLATES_FOR_ENTERPRISEAcciónUsed to retrieve all metadata templates created to be used specifically within the user's enterprise
BOX_LIST_ALL_METADATA_TEMPLATES_FOR_ENTERPRISEAcciónUsed to retrieve all metadata templates created to be used specifically within the user's enterprise
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List allowed collaboration domainsBOX_LIST_ALLOWED_COLLABORATION_DOMAINSAcciónReturns the list domains that have been deemed safe to create collaborations for within the current enterprise.
BOX_LIST_ALLOWED_COLLABORATION_DOMAINSAcciónReturns the list domains that have been deemed safe to create collaborations for within the current enterprise.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List all webhooksBOX_LIST_ALL_WEBHOOKSAcciónReturns all defined webhooks for the requesting application. this api only returns webhooks that are applied to files or folders that are owned by the authenticated user. this means that an admin can not see webhooks created by a service account unless the admin has access to those folders, and vice versa.
BOX_LIST_ALL_WEBHOOKSAcciónReturns all defined webhooks for the requesting application. this api only returns webhooks that are applied to files or folders that are owned by the authenticated user. this means that an admin can not see webhooks created by a service account unless the admin has access to those folders, and vice versa.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List box sign requestsBOX_LIST_BOX_SIGN_REQUESTSAcciónGets signature requests created by a user. if the `sign files` and/or `parent folder` are deleted, the signature request will not return in the list.
BOX_LIST_BOX_SIGN_REQUESTSAcciónGets signature requests created by a user. if the `sign files` and/or `parent folder` are deleted, the signature request will not return in the list.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
sendersstring[]A list of sender emails to filter the signature requests by sender. If provided, `shared_requests` must be set to `true`.
shared_requestsbooleanIf set to `true`, only includes requests that user is not an owner, but user is a collaborator. Collaborator access is determined by the user access level of the sign files of the request. Default is `false`. Must be set to `true` if `senders` are provided.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List box sign templatesBOX_LIST_BOX_SIGN_TEMPLATESAcciónGets box sign templates created by a user.
BOX_LIST_BOX_SIGN_TEMPLATESAcciónGets box sign templates created by a user.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List box skill cards on fileBOX_LIST_BOX_SKILL_CARDS_ON_FILEAcciónList the box skills metadata cards that are attached to a file.
BOX_LIST_BOX_SKILL_CARDS_ON_FILEAcciónList the box skills metadata cards that are attached to a file.
Parámetros de entrada
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List collection itemsBOX_LIST_COLLECTION_ITEMSAcciónRetrieves the files and/or folders contained within this collection.
BOX_LIST_COLLECTION_ITEMSAcciónRetrieves the files and/or folders contained within this collection.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
offsetintegerThe offset of the item at which to begin the response. Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
collection_idstringObligatorioThe ID of the collection.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List enterprise device pinsBOX_LIST_ENTERPRISE_DEVICE_PINSAcciónRetrieves all the device pins within an enterprise. the user must have admin privileges, and the application needs the "manage enterprise" scope to make this call.
BOX_LIST_ENTERPRISE_DEVICE_PINSAcciónRetrieves all the device pins within an enterprise. the user must have admin privileges, and the application needs the "manage enterprise" scope to make this call.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
directionstringenumThe direction to sort results in. This can be either in alphabetical ascending (`ASC`) or descending (`DESC`) order.
ASCDESCenterprise_idstringObligatorioThe ID of the enterprise
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List enterprise usersBOX_LIST_ENTERPRISE_USERSAcciónReturns a list of all users for the enterprise along with their `user id`, `public name`, and `login`. the application and the authenticated user need to have the permission to look up users in the entire enterprise.
BOX_LIST_ENTERPRISE_USERSAcciónReturns a list of all users for the enterprise along with their `user id`, `public name`, and `login`. the application and the authenticated user need to have the permission to look up users in the entire enterprise.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
offsetintegerThe offset of the item at which to begin the response. Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
usemarkerbooleanSpecifies whether to use marker-based pagination instead of offset-based pagination. Only one pagination method can be used at a time. By setting this value to true, the API will return a `marker` field that can be passed as a parameter to this endpoint to get the next page of the response.
user_typestringenumLimits the results to the kind of user specified. * `all` returns every kind of user for whom the `login` or `name` partially matches the `filter_term`. It will only return an external user if the login matches the `filter_term` completely, and in that case it will only return that user. * `managed` returns all managed and app users for whom the `login` or `name` partially matches the `filter_term`. * `external` returns all external users for whom the `login` matches the `filter_term` exactly.
allexternalmanagedfilter_termstringLimits the results to only users who"s `name` or `login` start with the search term. For externally managed users, the search term needs to completely match the in order to find the user, and it will only return one user at a time.
external_app_user_idstringLimits the results to app users with the given `external_app_user_id` value. When creating an app user, an `external_app_user_id` value can be set. This value can then be used in this endpoint to find any users that match that `external_app_user_id` value.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List file app item associationsBOX_LIST_FILE_APP_ITEM_ASSOCIATIONSAcción**this is a beta feature, which means that its availability might be limited.** returns all app items the file is associated with. this includes app items associated with ancestors of the file. assuming the context user has access to the file, the type/ids are revealed even if the context user does not have **view** permission on the app item.
BOX_LIST_FILE_APP_ITEM_ASSOCIATIONSAcción**this is a beta feature, which means that its availability might be limited.** returns all app items the file is associated with. this includes app items associated with ancestors of the file. assuming the context user has access to the file, the type/ids are revealed even if the context user does not have **view** permission on the app item.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
application_typestringIf given, only return app items for this application type
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List file collaborationsBOX_LIST_FILE_COLLABORATIONSAcciónRetrieves a list of pending and active collaborations for a file. this returns all the users that have access to the file or have been invited to the file.
BOX_LIST_FILE_COLLABORATIONSAcciónRetrieves a list of pending and active collaborations for a file. this returns all the users that have access to the file or have been invited to the file.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List file commentsBOX_LIST_FILE_COMMENTSAcciónRetrieves a list of comments for a file.
BOX_LIST_FILE_COMMENTSAcciónRetrieves a list of comments for a file.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
offsetintegerThe offset of the item at which to begin the response. Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List file version legal holdsBOX_LIST_FILE_VERSION_LEGAL_HOLDSAcciónGet a list of file versions on legal hold for a legal hold assignment. due to ongoing re-architecture efforts this api might not return all file versions for this policy id. instead, this api will only return file versions held in the legacy architecture. two new endpoints will available to request any file versions held in the new architecture. for file versions held in the new architecture, the `get /legal hold policy assignments/:id/file versions on hold` api can be used to return all past file versions available for this policy assignment, and the `get /legal hold policy assignments/:id/files on hold` api can be used to return any current (latest) versions of a file under legal hold. the `get /legal hold policy assignments?policy id={id}` api can be used to find a list of policy assignments for a given policy id. once the re-architecture is completed this api will be deprecated.
BOX_LIST_FILE_VERSION_LEGAL_HOLDSAcciónGet a list of file versions on legal hold for a legal hold assignment. due to ongoing re-architecture efforts this api might not return all file versions for this policy id. instead, this api will only return file versions held in the legacy architecture. two new endpoints will available to request any file versions held in the new architecture. for file versions held in the new architecture, the `get /legal hold policy assignments/:id/file versions on hold` api can be used to return all past file versions available for this policy assignment, and the `get /legal hold policy assignments/:id/files on hold` api can be used to return any current (latest) versions of a file under legal hold. the `get /legal hold policy assignments?policy id={id}` api can be used to find a list of policy assignments for a given policy id. once the re-architecture is completed this api will be deprecated.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
policy_idstringObligatorioThe ID of the legal hold policy to get the file version legal holds for.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List file version retentionsBOX_LIST_FILE_VERSION_RETENTIONSAcciónRetrieves all file version retentions for the given enterprise. **note**: file retention api is now **deprecated**. to get information about files and file versions under retention, see [files under retention](e://get-retention-policy-assignments-id-files-under-retention) or [file versions under retention](e://get-retention-policy-assignments-id-file-versions-under-retention) endpoints.
BOX_LIST_FILE_VERSION_RETENTIONSAcciónRetrieves all file version retentions for the given enterprise. **note**: file retention api is now **deprecated**. to get information about files and file versions under retention, see [files under retention](e://get-retention-policy-assignments-id-files-under-retention) or [file versions under retention](e://get-retention-policy-assignments-id-file-versions-under-retention) endpoints.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
file_idstringFilters results by files with this ID.
policy_idstringFilters results by the retention policy with this ID.
file_version_idstringFilters results by file versions with this ID.
disposition_afterstringFilters results by files that will have their disposition come into effect after this date.
disposition_actionstringenumFilters results by the retention policy with this disposition action.
permanently_deleteremove_retentiondisposition_beforestringFilters results by files that will have their disposition come into effect before this date.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List folder app item associationsBOX_LIST_FOLDER_APP_ITEM_ASSOCIATIONSAcción**this is a beta feature, which means that its availability might be limited.** returns all app items the folder is associated with. this includes app items associated with ancestors of the folder. assuming the context user has access to the folder, the type/ids are revealed even if the context user does not have **view** permission on the app item.
BOX_LIST_FOLDER_APP_ITEM_ASSOCIATIONSAcción**this is a beta feature, which means that its availability might be limited.** returns all app items the folder is associated with. this includes app items associated with ancestors of the folder. assuming the context user has access to the folder, the type/ids are revealed even if the context user does not have **view** permission on the app item.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
folder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
application_typestringIf given, returns only app items for this application type
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List folder collaborationsBOX_LIST_FOLDER_COLLABORATIONSAcciónRetrieves a list of pending and active collaborations for a folder. this returns all the users that have access to the folder or have been invited to the folder.
BOX_LIST_FOLDER_COLLABORATIONSAcciónRetrieves a list of pending and active collaborations for a folder. this returns all the users that have access to the folder or have been invited to the folder.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
folder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List folder locksBOX_LIST_FOLDER_LOCKSAcciónRetrieves folder lock details for a given folder. you must be authenticated as the owner or co-owner of the folder to use this endpoint.
BOX_LIST_FOLDER_LOCKSAcciónRetrieves folder lock details for a given folder. you must be authenticated as the owner or co-owner of the folder to use this endpoint.
Parámetros de entrada
folder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List group collaborationsBOX_LIST_GROUP_COLLABORATIONSAcciónRetrieves all the collaborations for a group. the user must have admin permissions to inspect enterprise's groups. each collaboration object has details on which files or folders the group has access to and with what role.
BOX_LIST_GROUP_COLLABORATIONSAcciónRetrieves all the collaborations for a group. the user must have admin permissions to inspect enterprise's groups. each collaboration object has details on which files or folders the group has access to and with what role.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
offsetintegerThe offset of the item at which to begin the response. Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
group_idstringObligatorioThe ID of the group.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List groups for enterpriseBOX_LIST_GROUPS_FOR_ENTERPRISEAcciónRetrieves all of the groups for a given enterprise. the user must have admin permissions to inspect enterprise's groups.
BOX_LIST_GROUPS_FOR_ENTERPRISEAcciónRetrieves all of the groups for a given enterprise. the user must have admin permissions to inspect enterprise's groups.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
offsetintegerThe offset of the item at which to begin the response. Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
filter_termstringLimits the results to only groups whose `name` starts with the search term.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List items in folderBOX_LIST_ITEMS_IN_FOLDERAcciónRetrieves a page of items in a folder. these items can be files, folders, and web links. to request more information about the folder itself, like its size, use the [get a folder](#get-folders-id) endpoint instead.
BOX_LIST_ITEMS_IN_FOLDERAcciónRetrieves a page of items in a folder. these items can be files, folders, and web links. to request more information about the folder itself, like its size, use the [get a folder](#get-folders-id) endpoint instead.
Parámetros de entrada
sortstringenumDefines the **second** attribute by which items are sorted. The folder type affects the way the items are sorted: * **Standard folder**: Items are always sorted by their `type` first, with folders listed before files, and files listed before web links. * **Root folder**: This parameter is not supported for marker-based pagination on the root folder (the folder with an `id` of `0`). * **Shared folder with parent path to the associated folder visible to the collaborator**: Items are always sorted by their `type` first, with folders listed before files, and files listed before web links.
dateidnamesizelimitintegerThe maximum number of items to return per page.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested. Additionally this field can be used to query any metadata applied to the file by specifying the `metadata` field as well as the scope and key of the template to retrieve, for example `?fields=metadata.enterprise_12345.contractTemplate`.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
offsetintegerThe offset of the item at which to begin the response. Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
directionstringenumThe direction to sort results in. This can be either in alphabetical ascending (`ASC`) or descending (`DESC`) order.
ASCDESCfolder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
usemarkerbooleanSpecifies whether to use marker-based pagination instead of offset-based pagination. Only one pagination method can be used at a time. By setting this value to true, the API will return a `marker` field that can be passed as a parameter to this endpoint to get the next page of the response.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List legal hold policy assignmentsBOX_LIST_LEGAL_HOLD_POLICY_ASSIGNMENTSAcciónRetrieves a list of items a legal hold policy has been assigned to.
BOX_LIST_LEGAL_HOLD_POLICY_ASSIGNMENTSAcciónRetrieves a list of items a legal hold policy has been assigned to.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
policy_idstringObligatorioThe ID of the legal hold policy
assign_to_idstringFilters the results by the ID of item the policy was applied to.
assign_to_typestringenumFilters the results by the type of item the policy was applied to.
filefile_versionfolderuser
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List members of groupBOX_LIST_MEMBERS_OF_GROUPAcciónRetrieves all the members for a group. only members of this group or users with admin-level permissions will be able to use this api.
BOX_LIST_MEMBERS_OF_GROUPAcciónRetrieves all the members for a group. only members of this group or users with admin-level permissions will be able to use this api.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
offsetintegerThe offset of the item at which to begin the response. Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
group_idstringObligatorioThe ID of the group.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List metadata cascade policiesBOX_LIST_METADATA_CASCADE_POLICIESAcciónRetrieves a list of all the metadata cascade policies that are applied to a given folder. this can not be used on the root folder with id `0`.
BOX_LIST_METADATA_CASCADE_POLICIESAcciónRetrieves a list of all the metadata cascade policies that are applied to a given folder. this can not be used on the root folder with id `0`.
Parámetros de entrada
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
offsetintegerThe offset of the item at which to begin the response. Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
folder_idstringObligatorioSpecifies which folder to return policies for. This can not be used on the root folder with ID `0`.
owner_enterprise_idstringThe ID of the enterprise ID for which to find metadata cascade policies. If not specified, it defaults to the current enterprise.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List metadata instances on fileBOX_LIST_METADATA_INSTANCES_ON_FILEAcciónRetrieves all metadata for a given file.
BOX_LIST_METADATA_INSTANCES_ON_FILEAcciónRetrieves all metadata for a given file.
Parámetros de entrada
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List metadata instances on folderBOX_LIST_METADATA_INSTANCES_ON_FOLDERAcciónRetrieves all metadata for a given folder. this can not be used on the root folder with id `0`.
BOX_LIST_METADATA_INSTANCES_ON_FOLDERAcciónRetrieves all metadata for a given folder. this can not be used on the root folder with id `0`.
Parámetros de entrada
folder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List partsBOX_LIST_PARTSAcciónReturn a list of the chunks uploaded to the upload session so far. the actual endpoint url is returned by the [`create upload session`](e://post-files-upload-sessions) and [`get upload session`](e://get-files-upload-sessions-id) endpoints.
BOX_LIST_PARTSAcciónReturn a list of the chunks uploaded to the upload session so far. the actual endpoint url is returned by the [`create upload session`](e://post-files-upload-sessions) and [`get upload session`](e://get-files-upload-sessions-id) endpoints.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
offsetintegerThe offset of the item at which to begin the response. Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
upload_session_idstringObligatorioThe ID of the upload session.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List pending collaborationsBOX_LIST_PENDING_COLLABORATIONSAcciónRetrieves all pending collaboration invites for this user.
BOX_LIST_PENDING_COLLABORATIONSAcciónRetrieves all pending collaboration invites for this user.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
offsetintegerThe offset of the item at which to begin the response. Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
statusstringObligatorioenumThe status of the collaborations to retrieve
pending
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List previous file versions for legal hold policy assignmentBOX_LIST_PREVIOUS_FILE_VERSIONS_FOR_LEGAL_HOLD_POLICY_ASSIGNMENTAcciónList previous file versions for legal hold policy assignment
BOX_LIST_PREVIOUS_FILE_VERSIONS_FOR_LEGAL_HOLD_POLICY_ASSIGNMENTAcciónList previous file versions for legal hold policy assignment
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
legal_hold_policy_assignment_idstringObligatorioThe ID of the legal hold policy assignment
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List recently accessed itemsBOX_LIST_RECENTLY_ACCESSED_ITEMSAcciónReturns information about the recent items accessed by a user, either in the last 90 days or up to the last 1000 items accessed.
BOX_LIST_RECENTLY_ACCESSED_ITEMSAcciónReturns information about the recent items accessed by a user, either in the last 90 days or up to the last 1000 items accessed.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List retention policiesBOX_LIST_RETENTION_POLICIESAcciónRetrieves all of the retention policies for an enterprise.
BOX_LIST_RETENTION_POLICIESAcciónRetrieves all of the retention policies for an enterprise.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination.
policy_namestringFilters results by a case sensitive prefix of the name of retention policies.
policy_typestringenumFilters results by the type of retention policy.
finiteindefinitecreated_by_user_idstringFilters results by the ID of the user who created policy.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List retention policy assignmentsBOX_LIST_RETENTION_POLICY_ASSIGNMENTSAcciónReturns a list of all retention policy assignments associated with a specified retention policy.
BOX_LIST_RETENTION_POLICY_ASSIGNMENTSAcciónReturns a list of all retention policy assignments associated with a specified retention policy.
Parámetros de entrada
typestringenumThe type of the retention policy assignment to retrieve.
enterprisefoldermetadata_templatelimitintegerThe maximum number of items to return per page.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination.
retention_policy_idstringObligatorioThe ID of the retention policy.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List shield information barrier reportsBOX_LIST_SHIELD_INFORMATION_BARRIER_REPORTSAcciónLists shield information barrier reports.
BOX_LIST_SHIELD_INFORMATION_BARRIER_REPORTSAcciónLists shield information barrier reports.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
shield_information_barrier_idstringObligatorioThe ID of the shield information barrier.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List shield information barriersBOX_LIST_SHIELD_INFORMATION_BARRIERSAcciónRetrieves a list of shield information barrier objects for the enterprise of jwt.
BOX_LIST_SHIELD_INFORMATION_BARRIERSAcciónRetrieves a list of shield information barrier objects for the enterprise of jwt.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List shield information barrier segment membersBOX_LIST_SHIELD_INFORMATION_BARRIER_SEGMENT_MEMBERSAcciónLists shield information barrier segment members based on provided segment ids.
BOX_LIST_SHIELD_INFORMATION_BARRIER_SEGMENT_MEMBERSAcciónLists shield information barrier segment members based on provided segment ids.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
shield_information_barrier_segment_idstringObligatorioThe ID of the shield information barrier segment.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List shield information barrier segment restrictionsBOX_LIST_SHIELD_INFORMATION_BARRIER_SEGMENT_RESTRICTIONSAcciónLists shield information barrier segment restrictions based on provided segment id.
BOX_LIST_SHIELD_INFORMATION_BARRIER_SEGMENT_RESTRICTIONSAcciónLists shield information barrier segment restrictions based on provided segment id.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
shield_information_barrier_segment_idstringObligatorioThe ID of the shield information barrier segment.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List shield information barrier segmentsBOX_LIST_SHIELD_INFORMATION_BARRIER_SEGMENTSAcciónRetrieves a list of shield information barrier segment objects for the specified information barrier id.
BOX_LIST_SHIELD_INFORMATION_BARRIER_SEGMENTSAcciónRetrieves a list of shield information barrier segment objects for the specified information barrier id.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
shield_information_barrier_idstringObligatorioThe ID of the shield information barrier.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List slack integration mappingsBOX_LIST_SLACK_INTEGRATION_MAPPINGSAcciónLists [slack integration mappings](https://support.box.com/hc/en-us/articles/4415585987859-box-as-the-content-layer-for-slack) in a users' enterprise. you need admin or co-admin role to use this endpoint.
BOX_LIST_SLACK_INTEGRATION_MAPPINGSAcciónLists [slack integration mappings](https://support.box.com/hc/en-us/articles/4415585987859-box-as-the-content-layer-for-slack) in a users' enterprise. you need admin or co-admin role to use this endpoint.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
box_item_idstringBox item ID, for which the mappings should be returned
box_item_typestringenumBox item type, for which the mappings should be returned
folderpartner_item_idstringID of the mapped item, for which the mapping should be returned
partner_item_typestringenumMapped item type, for which the mapping should be returned
channelis_manually_createdbooleanWhether the mapping has been manually created
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List storage policiesBOX_LIST_STORAGE_POLICIESAcciónFetches all the storage policies in the enterprise.
BOX_LIST_STORAGE_POLICIESAcciónFetches all the storage policies in the enterprise.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List storage policy assignmentsBOX_LIST_STORAGE_POLICY_ASSIGNMENTSAcciónFetches all the storage policy assignment for an enterprise or user.
BOX_LIST_STORAGE_POLICY_ASSIGNMENTSAcciónFetches all the storage policy assignment for an enterprise or user.
Parámetros de entrada
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
resolved_for_idstringObligatorioThe ID of the user or enterprise to return assignments for
resolved_for_typestringObligatorioenumThe target type to return assignments for
enterpriseuser
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List task assignmentsBOX_LIST_TASK_ASSIGNMENTSAcciónLists all of the assignments for a given task.
BOX_LIST_TASK_ASSIGNMENTSAcciónLists all of the assignments for a given task.
Parámetros de entrada
task_idstringObligatorioThe ID of the task.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List tasks on fileBOX_LIST_TASKS_ON_FILEAcciónRetrieves a list of all the tasks for a file. this endpoint does not support pagination.
BOX_LIST_TASKS_ON_FILEAcciónRetrieves a list of all the tasks for a file. this endpoint does not support pagination.
Parámetros de entrada
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List teams integration mappingsBOX_LIST_TEAMS_INTEGRATION_MAPPINGSAcciónLists [teams integration mappings](https://support.box.com/hc/en-us/articles/360044681474-using-box-for-teams) in a users' enterprise. you need admin or co-admin role to use this endpoint.
BOX_LIST_TEAMS_INTEGRATION_MAPPINGSAcciónLists [teams integration mappings](https://support.box.com/hc/en-us/articles/360044681474-using-box-for-teams) in a users' enterprise. you need admin or co-admin role to use this endpoint.
Parámetros de entrada
box_item_idstringBox item ID, for which the mappings should be returned
box_item_typestringenumBox item type, for which the mappings should be returned
folderpartner_item_idstringID of the mapped item, for which the mapping should be returned
partner_item_typestringenumMapped item type, for which the mapping should be returned
channelteam
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List terms of servicesBOX_LIST_TERMS_OF_SERVICESAcciónReturns the current terms of service text and settings for the enterprise.
BOX_LIST_TERMS_OF_SERVICESAcciónReturns the current terms of service text and settings for the enterprise.
Parámetros de entrada
tos_typestringenumLimits the results to the terms of service of the given type.
externalmanaged
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List terms of service user statusesBOX_LIST_TERMS_OF_SERVICE_USER_STATUSESAcciónRetrieves an overview of users and their status for a terms of service, including whether they have accepted the terms and when.
BOX_LIST_TERMS_OF_SERVICE_USER_STATUSESAcciónRetrieves an overview of users and their status for a terms of service, including whether they have accepted the terms and when.
Parámetros de entrada
tos_idstringObligatorioThe ID of the terms of service.
user_idstringLimits results to the given user ID.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List trashed itemsBOX_LIST_TRASHED_ITEMSAcciónRetrieves the files and folders that have been moved to the trash. any attribute in the full files or folders objects can be passed in with the `fields` parameter to retrieve those specific attributes that are not returned by default. this endpoint defaults to use offset-based pagination, yet also supports marker-based pagination using the `marker` parameter.
BOX_LIST_TRASHED_ITEMSAcciónRetrieves the files and folders that have been moved to the trash. any attribute in the full files or folders objects can be passed in with the `fields` parameter to retrieve those specific attributes that are not returned by default. this endpoint defaults to use offset-based pagination, yet also supports marker-based pagination using the `marker` parameter.
Parámetros de entrada
sortstringenumDefines the **second** attribute by which items are sorted. Items are always sorted by their `type` first, with folders listed before files, and files listed before web links. This parameter is not supported when using marker-based pagination.
datenamesizelimitintegerThe maximum number of items to return per page.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
offsetintegerThe offset of the item at which to begin the response. Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
directionstringenumThe direction to sort results in. This can be either in alphabetical ascending (`ASC`) or descending (`DESC`) order.
ASCDESCusemarkerbooleanSpecifies whether to use marker-based pagination instead of offset-based pagination. Only one pagination method can be used at a time. By setting this value to true, the API will return a `marker` field that can be passed as a parameter to this endpoint to get the next page of the response.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List user and enterprise eventsBOX_LIST_USER_AND_ENTERPRISE_EVENTSAcciónReturns up to a year of past events for a given user or for the entire enterprise. by default this returns events for the authenticated user. to retrieve events for the entire enterprise, set the `stream type` to `admin logs streaming` for live monitoring of new events, or `admin logs` for querying across historical events. the user making the api call will need to have admin privileges, and the application will need to have the scope `manage enterprise properties` checked.
BOX_LIST_USER_AND_ENTERPRISE_EVENTSAcciónReturns up to a year of past events for a given user or for the entire enterprise. by default this returns events for the authenticated user. to retrieve events for the entire enterprise, set the `stream type` to `admin logs streaming` for live monitoring of new events, or `admin logs` for querying across historical events. the user making the api call will need to have admin privileges, and the application will need to have the scope `manage enterprise properties` checked.
Parámetros de entrada
limitintegerLimits the number of events returned Note: Sometimes, the events less than the limit requested can be returned even when there may be more events remaining. This is primarily done in the case where a number of events have already been retrieved and these retrieved events are returned rather than delaying for an unknown amount of time to see if there are any more results.
event_typestring[]A comma-separated list of events to filter by. This can only be used when requesting the events with a `stream_type` of `admin_logs` or `adming_logs_streaming`. For any other `stream_type` this value will be ignored.
stream_typestringenumDefines the type of events that are returned * `all` returns everything for a user and is the default * `changes` returns events that may cause file tree changes such as file updates or collaborations. * `sync` is similar to `changes` but only applies to synced folders * `admin_logs` returns all events for an entire enterprise and requires the user making the API call to have admin permissions. This stream type is for programmatically pulling from a 1 year history of events across all users within the enterprise and within a `created_after` and `created_before` time frame. The complete history of events will be returned in chronological order based on the event time, but latency will be much higher than `admin_logs_streaming`. * `admin_logs_streaming` returns all events for an entire enterprise and requires the user making the API call to have admin permissions. This stream type is for polling for recent events across all users within the enterprise. Latency will be much lower than `admin_logs`, but events will not be returned in chronological order and may contain duplicates.
admin_logsadmin_logs_streamingallchangessynccreated_afterstringThe lower bound date and time to return events for. This can only be used when requesting the events with a `stream_type` of `admin_logs`. For any other `stream_type` this value will be ignored.
created_beforestringThe upper bound date and time to return events for. This can only be used when requesting the events with a `stream_type` of `admin_logs`. For any other `stream_type` this value will be ignored.
stream_positionstringThe location in the event stream to start receiving events from. * `now` will return an empty list events and the latest stream position for initialization. * `0` or `null` will return all events.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List user s email aliasesBOX_LIST_USER_S_EMAIL_ALIASESAcciónRetrieves all email aliases for a user. the collection does not include the primary login for the user.
BOX_LIST_USER_S_EMAIL_ALIASESAcciónRetrieves all email aliases for a user. the collection does not include the primary login for the user.
Parámetros de entrada
user_idstringObligatorioThe ID of the user.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List users exempt from collaboration domain restrictionsBOX_LIST_USERS_EXEMPT_FROM_COLLABORATION_DOMAIN_RESTRICTIONSAcciónReturns a list of users who have been exempt from the collaboration domain restrictions.
BOX_LIST_USERS_EXEMPT_FROM_COLLABORATION_DOMAIN_RESTRICTIONSAcciónReturns a list of users who have been exempt from the collaboration domain restrictions.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List user s groupsBOX_LIST_USER_S_GROUPSAcciónRetrieves all the groups for a user. only members of this group or users with admin-level permissions will be able to use this api.
BOX_LIST_USER_S_GROUPSAcciónRetrieves all the groups for a user. only members of this group or users with admin-level permissions will be able to use this api.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
offsetintegerThe offset of the item at which to begin the response. Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
user_idstringObligatorioThe ID of the user.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List workflowsBOX_LIST_WORKFLOWSAcciónReturns list of workflows that act on a given `folder id`, and have a flow with a trigger type of `workflow manual start`. you application must be authorized to use the `manage box relay` application scope within the developer console in to use this endpoint.
BOX_LIST_WORKFLOWSAcciónReturns list of workflows that act on a given `folder id`, and have a flow with a trigger type of `workflow manual start`. you application must be authorized to use the `manage box relay` application scope within the developer console in to use this endpoint.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
folder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
trigger_typestringType of trigger to search for.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Permanently remove fileBOX_PERMANENTLY_REMOVE_FILEAcciónPermanently deletes a file that is in the trash. this action cannot be undone.
BOX_PERMANENTLY_REMOVE_FILEAcciónPermanently deletes a file that is in the trash. this action cannot be undone.
Parámetros de entrada
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Permanently remove folderBOX_PERMANENTLY_REMOVE_FOLDERAcciónPermanently deletes a folder that is in the trash. this action cannot be undone.
BOX_PERMANENTLY_REMOVE_FOLDERAcciónPermanently deletes a folder that is in the trash. this action cannot be undone.
Parámetros de entrada
folder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Permanently remove web linkBOX_PERMANENTLY_REMOVE_WEB_LINKAcciónPermanently deletes a web link that is in the trash. this action cannot be undone.
BOX_PERMANENTLY_REMOVE_WEB_LINKAcciónPermanently deletes a web link that is in the trash. this action cannot be undone.
Parámetros de entrada
web_link_idstringObligatorioThe ID of the web link.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Preflight check before uploadBOX_PREFLIGHT_CHECK_BEFORE_UPLOADAcciónPerforms a check to verify that a file will be accepted by box before you upload the entire file.
BOX_PREFLIGHT_CHECK_BEFORE_UPLOADAcciónPerforms a check to verify that a file will be accepted by box before you upload the entire file.
Parámetros de entrada
namestringThe name for the file
sizeintegerThe size of the file in bytes
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Promote file versionBOX_PROMOTE_FILE_VERSIONAcciónPromote a specific version of a file. if previous versions exist, this method can be used to promote one of the older versions to the top of the version history. this creates a new copy of the old version and puts it at the top of the versions history. the file will have the exact same contents as the older version, with the the same hash digest, `etag`, and name as the original. other properties such as comments do not get updated to their former values. don't use this endpoint to restore box notes, as it works with file formats such as pdf, doc, pptx or similar.
BOX_PROMOTE_FILE_VERSIONAcciónPromote a specific version of a file. if previous versions exist, this method can be used to promote one of the older versions to the top of the version history. this creates a new copy of the old version and puts it at the top of the versions history. the file will have the exact same contents as the older version, with the the same hash digest, `etag`, and name as the original. other properties such as comments do not get updated to their former values. don't use this endpoint to restore box notes, as it works with file formats such as pdf, doc, pptx or similar.
Parámetros de entrada
idstringThe file version ID
typestringenumThe type to promote
file_versionfieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Query files folders by metadataBOX_QUERY_FILES_FOLDERS_BY_METADATAAcciónCreate a search using sql-like syntax to return items that match specific metadata. by default, this endpoint returns only the most basic info about the items for which the query matches. to get additional fields for each item, including any of the metadata, use the `fields` attribute in the query.
BOX_QUERY_FILES_FOLDERS_BY_METADATAAcciónCreate a search using sql-like syntax to return items that match specific metadata. by default, this endpoint returns only the most basic info about the items for which the query matches. to get additional fields for each item, including any of the metadata, use the `fields` attribute in the query.
Parámetros de entrada
fromstringObligatorioSpecifies the template used in the query. Must be in the form `scope.templateKey`. Not all templates can be used in this field, most notably the built-in, Box-provided classification templates can not be used in a query.
limitintegerA value between 0 and 100 that indicates the maximum number of results to return for a single request. This only specifies a maximum boundary and will not guarantee the minimum number of results returned.
querystringThe query to perform. A query is a logical expression that is very similar to a SQL `SELECT` statement. Values in the search query can be turned into parameters specified in the `query_param` arguments list to prevent having to manually insert search values into the query string. For example, a value of `:amount` would represent the `amount` value in `query_params` object.
fieldsstring[]By default, this endpoint returns only the most basic info about the items for which the query matches. This attribute can be used to specify a list of additional attributes to return for any item, including its metadata. This attribute takes a list of item fields, metadata template identifiers, or metadata template field identifiers. For example: * `created_by` will add the details of the user who created the item to the response. * `metadata.<scope>.<templateKey>` will return the mini-representation of the metadata instance identified by the `scope` and `templateKey`. * `metadata.<scope>.<templateKey>.<field>` will return all the mini-representation of the metadata instance identified by the `scope` and `templateKey` plus the field specified by the `field` name. Multiple fields for the same `scope` and `templateKey` can be defined.
markerstringMarker to use for requesting the next page.
order_byobject[]A list of template fields and directions to sort the metadata query results by. The ordering `direction` must be the same for each item in the array.
query_paramsobjectSet of arguments corresponding to the parameters specified in the `query`. The type of each parameter used in the `query_params` must match the type of the corresponding metadata template field.
ancestor_folder_idstringObligatorioThe ID of the folder that you are restricting the query to. A value of zero will return results from all folders you have access to. A non-zero value will only return results found in the folder corresponding to the ID or in any of its subfolders.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Refresh access tokenBOX_REFRESH_ACCESS_TOKENAcciónRefresh an access token using its client id, secret, and refresh token.
BOX_REFRESH_ACCESS_TOKENAcciónRefresh an access token using its client id, secret, and refresh token.
Parámetros de entrada
client_idstringObligatorioThe client ID of the application requesting to refresh the token.
grant_typestringObligatoriournenumThe type of request being made, in this case a refresh request.
refresh_tokenclient_secretstringObligatorioThe client secret of the application requesting to refresh the token.
refresh_tokenstringObligatoriotokenThe refresh token to refresh.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove box skill cards from fileBOX_REMOVE_BOX_SKILL_CARDS_FROM_FILEAcciónRemoves any box skills cards metadata from a file.
BOX_REMOVE_BOX_SKILL_CARDS_FROM_FILEAcciónRemoves any box skills cards metadata from a file.
Parámetros de entrada
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove classification from fileBOX_REMOVE_CLASSIFICATION_FROM_FILEAcciónRemoves any classifications from a file. this api can also be called by including the enterprise id in the url explicitly, for example `/files/:id//enterprise 12345/securityclassification-6vmvochwuwo`.
BOX_REMOVE_CLASSIFICATION_FROM_FILEAcciónRemoves any classifications from a file. this api can also be called by including the enterprise id in the url explicitly, for example `/files/:id//enterprise 12345/securityclassification-6vmvochwuwo`.
Parámetros de entrada
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove classification from folderBOX_REMOVE_CLASSIFICATION_FROM_FOLDERAcciónRemoves any classifications from a folder. this api can also be called by including the enterprise id in the url explicitly, for example `/folders/:id/enterprise 12345/securityclassification-6vmvochwuwo`.
BOX_REMOVE_CLASSIFICATION_FROM_FOLDERAcciónRemoves any classifications from a folder. this api can also be called by including the enterprise id in the url explicitly, for example `/folders/:id/enterprise 12345/securityclassification-6vmvochwuwo`.
Parámetros de entrada
folder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove collaborationBOX_REMOVE_COLLABORATIONAcciónDeletes a single collaboration.
BOX_REMOVE_COLLABORATIONAcciónDeletes a single collaboration.
Parámetros de entrada
collaboration_idstringObligatorioThe ID of the collaboration
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove commentBOX_REMOVE_COMMENTAcciónPermanently deletes a comment.
BOX_REMOVE_COMMENTAcciónPermanently deletes a comment.
Parámetros de entrada
comment_idstringObligatorioThe ID of the comment.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove device pinBOX_REMOVE_DEVICE_PINAcciónDeletes an individual device pin.
BOX_REMOVE_DEVICE_PINAcciónDeletes an individual device pin.
Parámetros de entrada
device_pinner_idstringObligatorioThe ID of the device pin
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove domain from list of allowed collaboration domainsBOX_REMOVE_DOMAIN_FROM_LIST_OF_ALLOWED_COLLABORATION_DOMAINSAcciónRemoves a domain from the list of domains that have been deemed safe to create collaborations for within the current enterprise.
BOX_REMOVE_DOMAIN_FROM_LIST_OF_ALLOWED_COLLABORATION_DOMAINSAcciónRemoves a domain from the list of domains that have been deemed safe to create collaborations for within the current enterprise.
Parámetros de entrada
collaboration_whitelist_entry_idstringObligatorioThe ID of the entry in the list.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove email aliasBOX_REMOVE_EMAIL_ALIASAcciónRemoves an email alias from a user.
BOX_REMOVE_EMAIL_ALIASAcciónRemoves an email alias from a user.
Parámetros de entrada
user_idstringObligatorioThe ID of the user.
email_alias_idstringObligatorioThe ID of the email alias.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove file versionBOX_REMOVE_FILE_VERSIONAcciónMove a file version to the trash. versions are only tracked for box users with premium accounts.
BOX_REMOVE_FILE_VERSIONAcciónMove a file version to the trash. versions are only tracked for box users with premium accounts.
Parámetros de entrada
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
file_version_idstringObligatorioThe ID of the file version
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove groupBOX_REMOVE_GROUPAcciónPermanently deletes a group. only users with admin-level permissions will be able to use this api.
BOX_REMOVE_GROUPAcciónPermanently deletes a group. only users with admin-level permissions will be able to use this api.
Parámetros de entrada
group_idstringObligatorioThe ID of the group.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove legal hold policyBOX_REMOVE_LEGAL_HOLD_POLICYAcciónDelete an existing legal hold policy. this is an asynchronous process. the policy will not be fully deleted yet when the response returns.
BOX_REMOVE_LEGAL_HOLD_POLICYAcciónDelete an existing legal hold policy. this is an asynchronous process. the policy will not be fully deleted yet when the response returns.
Parámetros de entrada
legal_hold_policy_idstringObligatorioThe ID of the legal hold policy
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove metadata cascade policyBOX_REMOVE_METADATA_CASCADE_POLICYAcciónDeletes a metadata cascade policy.
BOX_REMOVE_METADATA_CASCADE_POLICYAcciónDeletes a metadata cascade policy.
Parámetros de entrada
metadata_cascade_policy_idstringObligatorioThe ID of the metadata cascade policy.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove metadata instance from fileBOX_REMOVE_METADATA_INSTANCE_FROM_FILEAcciónDeletes a piece of file metadata.
BOX_REMOVE_METADATA_INSTANCE_FROM_FILEAcciónDeletes a piece of file metadata.
Parámetros de entrada
scopestringObligatorioenumThe scope of the metadata template
enterpriseglobalfile_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
template_keystringObligatorioThe name of the metadata template
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove metadata instance from folderBOX_REMOVE_METADATA_INSTANCE_FROM_FOLDERAcciónDeletes a piece of folder metadata.
BOX_REMOVE_METADATA_INSTANCE_FROM_FOLDERAcciónDeletes a piece of folder metadata.
Parámetros de entrada
scopestringObligatorioenumThe scope of the metadata template
enterpriseglobalfolder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
template_keystringObligatorioThe name of the metadata template
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove metadata templateBOX_REMOVE_METADATA_TEMPLATEAcciónDelete a metadata template and its instances. this deletion is permanent and can not be reversed.
BOX_REMOVE_METADATA_TEMPLATEAcciónDelete a metadata template and its instances. this deletion is permanent and can not be reversed.
Parámetros de entrada
scopestringObligatorioenumThe scope of the metadata template
enterpriseglobaltemplate_keystringObligatorioThe name of the metadata template
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove retention policy assignmentBOX_REMOVE_RETENTION_POLICY_ASSIGNMENTAcciónRemoves a retention policy assignment applied to content.
BOX_REMOVE_RETENTION_POLICY_ASSIGNMENTAcciónRemoves a retention policy assignment applied to content.
Parámetros de entrada
retention_policy_assignment_idstringObligatorioThe ID of the retention policy assignment.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove shared link from fileBOX_REMOVE_SHARED_LINK_FROM_FILEAcciónRemoves a shared link from a file.
BOX_REMOVE_SHARED_LINK_FROM_FILEAcciónRemoves a shared link from a file.
Parámetros de entrada
fieldsstringObligatorioExplicitly request the `shared_link` fields to be returned for this item.
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove shared link from folderBOX_REMOVE_SHARED_LINK_FROM_FOLDERAcciónRemoves a shared link from a folder.
BOX_REMOVE_SHARED_LINK_FROM_FOLDERAcciónRemoves a shared link from a folder.
Parámetros de entrada
fieldsstringObligatorioExplicitly request the `shared_link` fields to be returned for this item.
folder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove shared link from web linkBOX_REMOVE_SHARED_LINK_FROM_WEB_LINKAcciónRemoves a shared link from a web link.
BOX_REMOVE_SHARED_LINK_FROM_WEB_LINKAcciónRemoves a shared link from a web link.
Parámetros de entrada
fieldsstringObligatorioExplicitly request the `shared_link` fields to be returned for this item.
web_link_idstringObligatorioThe ID of the web link.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove taskBOX_REMOVE_TASKAcciónRemoves a task from a file.
BOX_REMOVE_TASKAcciónRemoves a task from a file.
Parámetros de entrada
task_idstringObligatorioThe ID of the task.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove upload sessionBOX_REMOVE_UPLOAD_SESSIONAcciónAbort an upload session and discard all data uploaded. this cannot be reversed. the actual endpoint url is returned by the [`create upload session`](e://post-files-upload-sessions) and [`get upload session`](e://get-files-upload-sessions-id) endpoints.
BOX_REMOVE_UPLOAD_SESSIONAcciónAbort an upload session and discard all data uploaded. this cannot be reversed. the actual endpoint url is returned by the [`create upload session`](e://post-files-upload-sessions) and [`get upload session`](e://get-files-upload-sessions-id) endpoints.
Parámetros de entrada
upload_session_idstringObligatorioThe ID of the upload session.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove User Domain ExemptionBOX_REMOVE_USER_DOMAIN_EXEMPTIONAcciónRemoves a user's exemption from the restrictions set out by the allowed list of domains for collaborations.
BOX_REMOVE_USER_DOMAIN_EXEMPTIONAcciónRemoves a user's exemption from the restrictions set out by the allowed list of domains for collaborations.
Parámetros de entrada
collaboration_whitelist_exempt_target_idstringObligatorioThe ID of the exemption to the list.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove user from groupBOX_REMOVE_USER_FROM_GROUPAcciónDeletes a specific group membership. only admins of this group or users with admin-level permissions will be able to use this api.
BOX_REMOVE_USER_FROM_GROUPAcciónDeletes a specific group membership. only admins of this group or users with admin-level permissions will be able to use this api.
Parámetros de entrada
group_membership_idstringObligatorioThe ID of the group membership.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove watermark from fileBOX_REMOVE_WATERMARK_FROM_FILEAcciónRemoves the watermark from a file.
BOX_REMOVE_WATERMARK_FROM_FILEAcciónRemoves the watermark from a file.
Parámetros de entrada
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove watermark from folderBOX_REMOVE_WATERMARK_FROM_FOLDERAcciónRemoves the watermark from a folder.
BOX_REMOVE_WATERMARK_FROM_FOLDERAcciónRemoves the watermark from a folder.
Parámetros de entrada
folder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove webhookBOX_REMOVE_WEBHOOKAcciónDeletes a webhook.
BOX_REMOVE_WEBHOOKAcciónDeletes a webhook.
Parámetros de entrada
webhook_idstringObligatorioThe ID of the webhook.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove web linkBOX_REMOVE_WEB_LINKAcciónDeletes a web link.
BOX_REMOVE_WEB_LINKAcciónDeletes a web link.
Parámetros de entrada
web_link_idstringObligatorioThe ID of the web link.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Request access tokenBOX_REQUEST_ACCESS_TOKENAcciónRequest an access token using either a client-side obtained oauth 2.0 authorization code or a server-side jwt assertion. an access token is a string that enables box to verify that a request belongs to an authorized session. in the normal order of operations you will begin by requesting authentication from the [authorize](#get-authorize) endpoint and box will send you an authorization code. you will then send this code to this endpoint to exchange it for an access token. the returned access token can then be used to to make box api calls.
BOX_REQUEST_ACCESS_TOKENAcciónRequest an access token using either a client-side obtained oauth 2.0 authorization code or a server-side jwt assertion. an access token is a string that enables box to verify that a request belongs to an authorized session. in the normal order of operations you will begin by requesting authentication from the [authorize](#get-authorize) endpoint and box will send you an authorization code. you will then send this code to this endpoint to exchange it for an access token. the returned access token can then be used to to make box api calls.
Parámetros de entrada
codestringtokenThe client-side authorization code passed to your application by Box in the browser redirect after the user has successfully granted your application permission to make API calls on their behalf. Used in combination with `authorization_code` as the `grant_type`.
scopestringspace_delimited_listThe space-delimited list of scopes that you want apply to the new access token. The `subject_token` will need to have all of these scopes or the call will error with **401 Unauthorized**.
resourcestringurlFull URL for the file that the token should be generated for.
assertionstringjwtA JWT assertion for which to request a new access token. Used in combination with `urn:ietf:params:oauth:grant-type:jwt-bearer` as the `grant_type`.
client_idstringThe Client ID of the application requesting an access token. Used in combination with `authorization_code`, `client_credentials`, or `urn:ietf:params:oauth:grant-type:jwt-bearer` as the `grant_type`.
grant_typestringObligatoriournenumThe type of request being made, either using a client-side obtained authorization code, a refresh token, a JWT assertion, client credentials grant or another access token for the purpose of downscoping a token.
authorization_codeclient_credentialsrefresh_tokenurn:ietf:params:oauth:grant-type:jwt-bearerurn:ietf:params:oauth:grant-type:token-exchangeactor_tokenstringtokenThe token used to create an annotator token. This is a JWT assertion. Used in combination with `urn:ietf:params:oauth:grant-type:token-exchange` as the `grant_type`.
client_secretstringThe client secret of the application requesting an access token. Used in combination with `authorization_code`, `client_credentials`, or `urn:ietf:params:oauth:grant-type:jwt-bearer` as the `grant_type`.
refresh_tokenstringtokenA refresh token used to get a new access token with. Used in combination with `refresh_token` as the `grant_type`.
subject_tokenstringtokenThe token to exchange for a downscoped token. This can be a regular access token, a JWT assertion, or an app token. Used in combination with `urn:ietf:params:oauth:grant-type:token-exchange` as the `grant_type`.
box_subject_idstringUsed in combination with `client_credentials` as the `grant_type`. Value is determined by `box_subject_type`. If `user` use user ID and if `enterprise` use enterprise ID.
box_shared_linkstringurlFull URL of the shared link on the file or folder that the token should be generated for.
actor_token_typestringurnenumThe type of `actor_token` passed in. Used in combination with `urn:ietf:params:oauth:grant-type:token-exchange` as the `grant_type`.
urn:ietf:params:oauth:token-type:id_tokenbox_subject_typestringenumUsed in combination with `client_credentials` as the `grant_type`.
enterpriseusersubject_token_typestringenumThe type of `subject_token` passed in. Used in combination with `urn:ietf:params:oauth:grant-type:token-exchange` as the `grant_type`.
urn:ietf:params:oauth:token-type:access_token
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Resend box sign requestBOX_RESEND_BOX_SIGN_REQUESTAcciónResends a signature request email to all outstanding signers.
BOX_RESEND_BOX_SIGN_REQUESTAcciónResends a signature request email to all outstanding signers.
Parámetros de entrada
sign_request_idstringObligatorioThe ID of the signature request
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Restore fileBOX_RESTORE_FILEAcciónRestores a file that has been moved to the trash. an optional new parent id can be provided to restore the file to in case the original folder has been deleted.
BOX_RESTORE_FILEAcciónRestores a file that has been moved to the trash. an optional new parent id can be provided to restore the file to in case the original folder has been deleted.
Parámetros de entrada
namestringAn optional new name for the file.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Restore file versionBOX_RESTORE_FILE_VERSIONAcciónRestores a specific version of a file after it was deleted. don't use this endpoint to restore box notes, as it works with file formats such as pdf, doc, pptx or similar.
BOX_RESTORE_FILE_VERSIONAcciónRestores a specific version of a file after it was deleted. don't use this endpoint to restore box notes, as it works with file formats such as pdf, doc, pptx or similar.
Parámetros de entrada
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
trashed_atstringSet this to `null` to clear the date and restore the file.
file_version_idstringObligatorioThe ID of the file version
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Restore folderBOX_RESTORE_FOLDERAcciónRestores a folder that has been moved to the trash. an optional new parent id can be provided to restore the folder to in case the original folder has been deleted. during this operation, part of the file tree will be locked, mainly the source folder and all of its descendants, as well as the destination folder. for the duration of the operation, no other move, copy, delete, or restore operation can performed on any of the locked folders.
BOX_RESTORE_FOLDERAcciónRestores a folder that has been moved to the trash. an optional new parent id can be provided to restore the folder to in case the original folder has been deleted. during this operation, part of the file tree will be locked, mainly the source folder and all of its descendants, as well as the destination folder. for the duration of the operation, no other move, copy, delete, or restore operation can performed on any of the locked folders.
Parámetros de entrada
namestringAn optional new name for the folder.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
folder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Restore web linkBOX_RESTORE_WEB_LINKAcciónRestores a web link that has been moved to the trash. an optional new parent id can be provided to restore the web link to in case the original folder has been deleted.
BOX_RESTORE_WEB_LINKAcciónRestores a web link that has been moved to the trash. an optional new parent id can be provided to restore the web link to in case the original folder has been deleted.
Parámetros de entrada
namestringAn optional new name for the web link.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
web_link_idstringObligatorioThe ID of the web link.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Review files on legal hold policy assignmentBOX_REVIEW_FILES_ON_LEGAL_HOLD_POLICY_ASSIGNMENTAcciónGet a list of files with current file versions for a legal hold assignment. in some cases you may want to get previous file versions instead. in these cases, use the `get /legal hold policy assignments/:id/file versions on hold` api instead to return any previous versions of a file for this legal hold policy assignment. due to ongoing re-architecture efforts this api might not return all file versions held for this policy id. instead, this api will only return the latest file version held in the newly developed architecture. the `get /file version legal holds` api can be used to fetch current and past versions of files held within the legacy architecture. this endpoint does not support returning any content that is on hold due to a custodian collaborating on a hub. the `get /legal hold policy assignments?policy id={id}` api can be used to find a list of policy assignments for a given policy id.
BOX_REVIEW_FILES_ON_LEGAL_HOLD_POLICY_ASSIGNMENTAcciónGet a list of files with current file versions for a legal hold assignment. in some cases you may want to get previous file versions instead. in these cases, use the `get /legal hold policy assignments/:id/file versions on hold` api instead to return any previous versions of a file for this legal hold policy assignment. due to ongoing re-architecture efforts this api might not return all file versions held for this policy id. instead, this api will only return the latest file version held in the newly developed architecture. the `get /file version legal holds` api can be used to fetch current and past versions of files held within the legacy architecture. this endpoint does not support returning any content that is on hold due to a custodian collaborating on a hub. the `get /legal hold policy assignments?policy id={id}` api can be used to find a list of policy assignments for a given policy id.
Parámetros de entrada
limitintegerThe maximum number of items to return per page.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
markerstringDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination. This requires `usemarker` to be set to `true`.
legal_hold_policy_assignment_idstringObligatorioThe ID of the legal hold policy assignment
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Revoke access tokenBOX_REVOKE_ACCESS_TOKENAcciónRevoke an active access token, effectively logging a user out that has been previously authenticated.
BOX_REVOKE_ACCESS_TOKENAcciónRevoke an active access token, effectively logging a user out that has been previously authenticated.
Parámetros de entrada
tokenstringtokenThe access token to revoke.
client_idstringThe Client ID of the application requesting to revoke the access token.
client_secretstringThe client secret of the application requesting to revoke an access token.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search for contentBOX_SEARCH_FOR_CONTENTAcciónSearches for files, folders, web links, and shared files across the users content or across the entire enterprise.
BOX_SEARCH_FOR_CONTENTAcciónSearches for files, folders, web links, and shared files across the users content or across the entire enterprise.
Parámetros de entrada
sortstringenumDefines the order in which search results are returned. This API defaults to returning items by relevance unless this parameter is explicitly specified. * `relevance` (default) returns the results sorted by relevance to the query search term. The relevance is based on the occurrence of the search term in the items name, description, content, and additional properties. * `modified_at` returns the results ordered in descending order by date at which the item was last modified.
modified_atrelevancetypestringenumLimits the search results to any items of this type. This parameter only takes one value. By default the API returns items that match any of these types. * `file` - Limits the search results to files * `folder` - Limits the search results to folders * `web_link` - Limits the search results to web links, also known as bookmarks
filefolderweb_linklimitintegerDefines the maximum number of items to return as part of a page of results.
querystringThe string to search for. This query is matched against item names, descriptions, text content of files, and various other fields of the different item types. This parameter supports a variety of operators to further refine the results returns. * `""` - by wrapping a query in double quotes only exact matches are returned by the API. Exact searches do not return search matches based on specific character sequences. Instead, they return matches based on phrases, that is, word sequences. For example: A search for `"Blue-Box"` may return search results including the sequence `"blue.box"`, `"Blue Box"`, and `"Blue-Box"`; any item containing the words `Blue` and `Box` consecutively, in the order specified. * `AND` - returns items that contain both the search terms. For example, a search for `marketing AND BoxWorks` returns items that have both `marketing` and `BoxWorks` within its text in any order. It does not return a result that only has `BoxWorks` in its text. * `OR` - returns items that contain either of the search terms. For example, a search for `marketing OR BoxWorks` returns a result that has either `marketing` or `BoxWorks` within its text. Using this operator is not necessary as we implicitly interpret multi-word queries as `OR` unless another supported boolean term is used. * `NOT` - returns items that do not contain the search term provided. For example, a search for `marketing AND NOT BoxWorks` returns a result that has only `marketing` within its text. Results containing `BoxWorks` are omitted. We do not support lower case (that is, `and`, `or`, and `not`) or mixed case (that is, `And`, `Or`, and `Not`) operators. This field is required unless the `mdfilters` parameter is defined.
scopestringenumLimits the search results to either the files that the user has access to, or to files available to the entire enterprise. The scope defaults to `user_content`, which limits the search results to content that is available to the currently authenticated user. The `enterprise_content` can be requested by an admin through our support channels. Once this scope has been enabled for a user, it will allow that use to query for content across the entire enterprise and not only the content that they have access to.
enterprise_contentuser_contentfieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
offsetintegerThe offset of the item at which to begin the response. Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
directionstringenumDefines the direction in which search results are ordered. This API defaults to returning items in descending (`DESC`) order unless this parameter is explicitly specified. When results are sorted by `relevance` the ordering is locked to returning items in descending order of relevance, and this parameter is ignored.
ASCDESCmdfiltersobject[]Limits the search results to any items for which the metadata matches the provided filter. This parameter is a list that specifies exactly **one** metadata template used to filter the search results. The parameter is required unless the `query` parameter is provided.
size_rangeinteger[]Limits the search results to any items with a size within a given file size range. This applied to files and folders. Size ranges are defined as comma separated list of a lower and upper byte size limit (inclusive). The upper and lower bound can be omitted to create open ranges.
content_typesstring[]Limits the search results to any items that match the search query for a specific part of the file, for example the file description. Content types are defined as a comma separated lists of Box recognized content types. The allowed content types are as follows. * `name` - The name of the item, as defined by its `name` field. * `description` - The description of the item, as defined by its `description` field. * `file_content` - The actual content of the file. * `comments` - The content of any of the comments on a file or folder. * `tags` - Any tags that are applied to an item, as defined by its `tags` field.
trash_contentstringenumDetermines if the search should look in the trash for items. By default, this API only returns search results for items not currently in the trash (`non_trashed_only`). * `trashed_only` - Only searches for items currently in the trash * `non_trashed_only` - Only searches for items currently not in the trash * `all_items` - Searches for both trashed and non-trashed items.
all_itemsnon_trashed_onlytrashed_onlyowner_user_idsstring[]Limits the search results to any items that are owned by the given list of owners, defined as a list of comma separated user IDs. The items still need to be owned or shared with the currently authenticated user for them to show up in the search results. If the user does not have access to any files owned by any of the users an empty result set will be returned. To search across an entire enterprise, we recommend using the `enterprise_content` scope parameter which can be requested with our support team.
file_extensionsstring[]Limits the search results to any files that match any of the provided file extensions. This list is a comma-separated list of file extensions without the dots.
created_at_rangestring[]Limits the search results to any items created within a given date range. Date ranges are defined as comma separated RFC3339 timestamps. If the the start date is omitted (`,2014-05-17T13:35:01-07:00`) anything created before the end date will be returned. If the end date is omitted (`2014-05-15T13:35:01-07:00,`) the current date will be used as the end date instead.
deleted_at_rangestring[]Limits the search results to any items deleted within a given date range. Date ranges are defined as comma separated RFC3339 timestamps. If the the start date is omitted (`2014-05-17T13:35:01-07:00`), anything deleted before the end date will be returned. If the end date is omitted (`2014-05-15T13:35:01-07:00`), the current date will be used as the end date instead. The `trash_content` parameter needs to be set to `trashed_only`. If searching in trash is not performed, then an empty result is returned. Data available from 2023-02-01 onwards.
deleted_user_idsstring[]Limits the search results to items that were deleted by the given list of users, defined as a list of comma separated user IDs. The `trash_content` parameter needs to be set to `trashed_only`. If searching in trash is not performed, an empty result set is returned. The items need to be owned or shared with the currently authenticated user for them to show up in the search results. If the user does not have access to any files owned by any of the users, an empty result set is returned. Data available from 2023-02-01 onwards.
updated_at_rangestring[]Limits the search results to any items updated within a given date range. Date ranges are defined as comma separated RFC3339 timestamps. If the start date is omitted (`,2014-05-17T13:35:01-07:00`) anything updated before the end date will be returned. If the end date is omitted (`2014-05-15T13:35:01-07:00,`) the current date will be used as the end date instead.
ancestor_folder_idsstring[]Limits the search results to items within the given list of folders, defined as a comma separated lists of folder IDs. Search results will also include items within any subfolders of those ancestor folders. The folders still need to be owned or shared with the currently authenticated user. If the folder is not accessible by this user, or it does not exist, a `HTTP 404` error code will be returned instead. To search across an entire enterprise, we recommend using the `enterprise_content` scope parameter which can be requested with our support team.
recent_updater_user_idsstring[]Limits the search results to any items that have been updated by the given list of users, defined as a list of comma separated user IDs. The items still need to be owned or shared with the currently authenticated user for them to show up in the search results. If the user does not have access to any files owned by any of the users an empty result set will be returned. This feature only searches back to the last 10 versions of an item.
include_recent_shared_linksbooleanDefines whether the search results should include any items that the user recently accessed through a shared link. When this parameter has been set to true, the format of the response of this API changes to return a list of [Search Results with Shared Links](r://search_results_with_shared_links)
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Starts workflow based on request bodyBOX_STARTS_WORKFLOW_BASED_ON_REQUEST_BODYAcciónInitiates a flow with a trigger type of `workflow manual start`. you application must be authorized to use the `manage box relay` application scope within the developer console.
BOX_STARTS_WORKFLOW_BASED_ON_REQUEST_BODYAcciónInitiates a flow with a trigger type of `workflow manual start`. you application must be authorized to use the `manage box relay` application scope within the developer console.
Parámetros de entrada
typestringenumThe type of the parameters object
workflow_parametersfilesobject[]ObligatorioThe array of files for which the workflow should start. All files must be in the workflow"s configured folder.
flow__idstringThe id of the flow
outcomesobject[]A configurable outcome the workflow should complete.
flow__typestringThe type of the flow object
folder__idstringThe id of the folder
workflow_idstringObligatorioThe ID of the workflow.
folder__typestringenumThe type of the folder object
folder
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Transfer owned foldersBOX_TRANSFER_OWNED_FOLDERSAcciónTransfers ownership of a specific folder (with id 0) from one user to another in the box cloud storage system. this endpoint should be used when you need to change the owner of a user's root folder, effectively transferring all of their content to another user. it's particularly useful in scenarios such as employee offboarding or role transitions within an organization. the operation is irreversible, so it should be used with caution. note that this endpoint specifically targets the folder with id 0, which typically represents a user's root folder in box.
BOX_TRANSFER_OWNED_FOLDERSAcciónTransfers ownership of a specific folder (with id 0) from one user to another in the box cloud storage system. this endpoint should be used when you need to change the owner of a user's root folder, effectively transferring all of their content to another user. it's particularly useful in scenarios such as employee offboarding or role transitions within an organization. the operation is irreversible, so it should be used with caution. note that this endpoint specifically targets the folder with id 0, which typically represents a user's root folder in box.
Parámetros de entrada
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
notifybooleanDetermines if users should receive email notification for the action performed.
user_idstringObligatorioThe ID of the user.
owned__by__idstringThe ID of the user who the folder will be transferred to
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Unassign legal hold policyBOX_UNASSIGN_LEGAL_HOLD_POLICYAcciónRemove a legal hold from an item. this is an asynchronous process. the policy will not be fully removed yet when the response returns.
BOX_UNASSIGN_LEGAL_HOLD_POLICYAcciónRemove a legal hold from an item. this is an asynchronous process. the policy will not be fully removed yet when the response returns.
Parámetros de entrada
legal_hold_policy_assignment_idstringObligatorioThe ID of the legal hold policy assignment
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Unassign storage policyBOX_UNASSIGN_STORAGE_POLICYAcciónDelete a storage policy assignment. deleting a storage policy assignment on a user will have the user inherit the enterprise's default storage policy. there is a rate limit for calling this endpoint of only twice per user in a 24 hour time frame.
BOX_UNASSIGN_STORAGE_POLICYAcciónDelete a storage policy assignment. deleting a storage policy assignment on a user will have the user inherit the enterprise's default storage policy. there is a rate limit for calling this endpoint of only twice per user in a 24 hour time frame.
Parámetros de entrada
storage_policy_assignment_idstringObligatorioThe ID of the storage policy assignment.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Unassign taskBOX_UNASSIGN_TASKAcciónDeletes a specific task assignment.
BOX_UNASSIGN_TASKAcciónDeletes a specific task assignment.
Parámetros de entrada
task_assignment_idstringObligatorioThe ID of the task assignment.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update ai agentBOX_UPDATE_AI_AGENTAcciónUpdates an ai agent.
BOX_UPDATE_AI_AGENTAcciónUpdates an ai agent.
Parámetros de entrada
namestringObligatorioThe name of the AI Agent.
typestringObligatorioenumThe type of agent used to handle queries.
ai_agentagent_idstringObligatorioThe ID of the agent to update.
ask__typestringenumThe type of AI agent used to handle queries.
ai_agent_askaccess_statestringObligatorioThe state of the AI Agent. Possible values are: `enabled`, `disabled`, and `enabled_for_selected_users`.
extract__typestringenumThe type of AI agent to be used for extraction.
ai_agent_extracticon_referencestringThe icon reference of the AI Agent. It should have format of the URL `https://cdn01.boxcdn.net/app-assets/aistudio/avatars/<file_name>` where possible values of `file_name` are: `logo_boxAi.png`,`logo_stamp.png`,`logo_legal.png`,`logo_finance.png`,`logo_config.png`,`logo_handshake.png`,`logo_analytics.png`,`logo_classification.png`
text__gen__typestringenumThe type of AI agent used for generating text.
ai_agent_text_genallowed_entitiesobject[]List of allowed users or groups.
ask__descriptionstringThe description of the AI Agent.
ask__access__statestringThe state of the AI Agent capability. Possible values are: `enabled` and `disabled`.
extract__descriptionstringThe description of the AI Agent.
extract__access__statestringThe state of the AI Agent capability. Possible values are: `enabled` and `disabled`.
text__gen__descriptionstringThe description of the AI Agent.
text__gen__access__statestringThe state of the AI Agent capability. Possible values are: `enabled` and `disabled`.
ask__custom__instructionsstringCustom instructions for the agent.
extract__custom__instructionsstringCustom instructions for the agent.
text__gen__custom__instructionsstringCustom instructions for the agent.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update all box skill cards on fileBOX_UPDATE_ALL_BOX_SKILL_CARDS_ON_FILEAcciónAn alternative method that can be used to overwrite and update all box skill metadata cards on a file.
BOX_UPDATE_ALL_BOX_SKILL_CARDS_ON_FILEAcciónAn alternative method that can be used to overwrite and update all box skill metadata cards on a file.
Parámetros de entrada
statusstringObligatorioenumDefines the status of this invocation. Set this to `success` when setting Skill cards.
invokedpermanent_failureprocessingsuccesstransient_failurefile__idstringThe ID of the file
skill_idstringObligatorioThe ID of the skill to apply this metadata for.
file__typestringenum`file`
fileusage__unitstring`file`
usage__valueinteger`1`
metadata__cardsobject[]A list of Box Skill cards to apply to this file.
file__version__idstringThe ID of the file version
file__version__typestringenum`file_version`
file_version
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update collaborationBOX_UPDATE_COLLABORATIONAcciónUpdates a collaboration. can be used to change the owner of an item, or to accept collaboration invites.
BOX_UPDATE_COLLABORATIONAcciónUpdates a collaboration. can be used to change the owner of an item, or to accept collaboration invites.
Parámetros de entrada
rolestringObligatorioenumThe level of access granted.
co-ownereditorownerpreviewerpreviewer uploaderuploaderviewerviewer uploaderstatusstringenum<!--alex ignore reject--> Set the status of a `pending` collaboration invitation, effectively accepting, or rejecting the invite.
acceptedpendingrejectedexpires_atstringdate-timeUpdate the expiration date for the collaboration. At this date, the collaboration will be automatically removed from the item. This feature will only work if the **Automatically remove invited collaborators: Allow folder owners to extend the expiry date** setting has been enabled in the **Enterprise Settings** of the **Admin Console**. When the setting is not enabled, collaborations can not have an expiry date and a value for this field will be result in an error. Additionally, a collaboration can only be given an expiration if it was created after the **Automatically remove invited collaborator** setting was enabled.
can_view_pathbooleanDetermines if the invited users can see the entire parent path to the associated folder. The user will not gain privileges in any parent folder and therefore can not see content the user is not collaborated on. Be aware that this meaningfully increases the time required to load the invitee"s **All Files** page. We recommend you limit the number of collaborations with `can_view_path` enabled to 1,000 per user. Only owner or co-owners can invite collaborators with a `can_view_path` of `true`. `can_view_path` can only be used for folder collaborations.
collaboration_idstringObligatorioThe ID of the collaboration
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update commentBOX_UPDATE_COMMENTAcciónUpdate the message of a comment.
BOX_UPDATE_COMMENTAcciónUpdate the message of a comment.
Parámetros de entrada
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
messagestringThe text of the comment to update
comment_idstringObligatorioThe ID of the comment.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update fileBOX_UPDATE_FILEAcciónUpdates a file. this can be used to rename or move a file, create a shared link, or lock a file.
BOX_UPDATE_FILEAcciónUpdates a file. this can be used to rename or move a file, create a shared link, or lock a file.
Parámetros de entrada
namestringAn optional different name for the file. This can be used to rename the file.
tagsstring[]The tags for this item. These tags are shown in the Box web app and mobile apps next to an item. To add or remove a tag, retrieve the item"s current tags, modify them, and then update this field. There is a limit of 100 tags per item, and 10,000 unique tags per enterprise.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
collectionsobject[]An array of collections to make this file a member of. Currently we only support the `favorites` collection. To get the ID for a collection, use the [List all collections][1] endpoint. Passing an empty array `[]` or `null` will remove the file from all collections. [1]: e://get-collections
descriptionstringThe description for a file. This can be seen in the right-hand sidebar panel when viewing a file in the Box web app. Additionally, this index is used in the search index of the file, allowing users to find the file by the content in the description.
lock__accessstringenumThe type of this object.
lockdisposition_atstringdate-timeThe retention expiration timestamp for the given file. This date cannot be shortened once set on a file.
lock__expires__atstringdate-timeDefines the time at which the lock expires.
permissions__can__downloadstringenumDefines who is allowed to download this file. The possible values are either `open` for everyone or `company` for the other members of the user"s enterprise. This setting overrides the download permissions that are normally part of the `role` of a collaboration. When set to `company`, this essentially removes the download option for external users with `viewer` or `editor` a roles.
companyopenlock__is__download__preventedbooleanDefines if the file can be downloaded while it is locked.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update file requestBOX_UPDATE_FILE_REQUESTAcciónUpdates a file request. this can be used to activate or deactivate a file request.
BOX_UPDATE_FILE_REQUESTAcciónUpdates a file request. this can be used to activate or deactivate a file request.
Parámetros de entrada
titlestringAn optional new title for the file request. This can be used to change the title of the file request. This will default to the value on the existing file request.
statusstringenumAn optional new status of the file request. When the status is set to `inactive`, the file request will no longer accept new submissions, and any visitor to the file request URL will receive a `HTTP 404` status code. This will default to the value on the existing file request.
activeinactiveexpires_atstringdate-timeThe date after which a file request will no longer accept new submissions. After this date, the `status` will automatically be set to `inactive`. This will default to the value on the existing file request.
descriptionstringAn optional new description for the file request. This can be used to change the description of the file request. This will default to the value on the existing file request.
file_request_idstringObligatorioThe unique identifier that represent a file request. The ID for any file request can be determined by visiting a file request builder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/filerequest/123` the `file_request_id` is `123`.
is_email_requiredbooleanWhether a file request submitter is required to provide their email address. When this setting is set to true, the Box UI will show an email field on the file request form. This will default to the value on the existing file request.
is_description_requiredbooleanWhether a file request submitter is required to provide a description of the files they are submitting. When this setting is set to true, the Box UI will show a description field on the file request form. This will default to the value on the existing file request.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update folderBOX_UPDATE_FOLDERAcciónUpdates a folder. this can be also be used to move the folder, create shared links, update collaborations, and more.
BOX_UPDATE_FOLDERAcciónUpdates a folder. this can be also be used to move the folder, create shared links, update collaborations, and more.
Parámetros de entrada
namestringThe optional new name for this folder.
tagsstring[]The tags for this item. These tags are shown in the Box web app and mobile apps next to an item. To add or remove a tag, retrieve the item"s current tags, modify them, and then update this field. There is a limit of 100 tags per item, and 10,000 unique tags per enterprise.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
folder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
sync_statestringenumSpecifies whether a folder should be synced to a user"s device or not. This is used by Box Sync (discontinued) and is not used by Box Drive.
not_syncedpartially_syncedsyncedcollectionsobject[]An array of collections to make this folder a member of. Currently we only support the `favorites` collection. To get the ID for a collection, use the [List all collections][1] endpoint. Passing an empty array `[]` or `null` will remove the folder from all collections. [1]: e://get-collections
descriptionstringThe optional description of this folder
can_non_owners_invitebooleanSpecifies if users who are not the owner of the folder can invite new collaborators to the folder.
can_non_owners_view_collaboratorsbooleanRestricts collaborators who are not the owner of this folder from viewing other collaborations on this folder. It also restricts non-owners from inviting new collaborators. When setting this field to `false`, it is required to also set `can_non_owners_invite_collaborators` to `false` if it has not already been set.
is_collaboration_restricted_to_enterprisebooleanSpecifies if new invites to this folder are restricted to users within the enterprise. This does not affect existing collaborations.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update groupBOX_UPDATE_GROUPAcciónUpdates a specific group. only admins of this group or users with admin-level permissions will be able to use this api.
BOX_UPDATE_GROUPAcciónUpdates a specific group. only admins of this group or users with admin-level permissions will be able to use this api.
Parámetros de entrada
namestringThe name of the new group to be created. Must be unique within the enterprise.
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
group_idstringObligatorioThe ID of the group.
provenancestringKeeps track of which external source this group is coming, for example `Active Directory`, or `Okta`. Setting this will also prevent Box admins from editing the group name and its members directly via the Box web application. This is desirable for one-way syncing of groups.
descriptionstringA human readable description of the group.
invitability_levelstringenumSpecifies who can invite the group to collaborate on folders. When set to `admins_only` the enterprise admin, co-admins, and the group"s admin can invite the group. When set to `admins_and_members` all the admins listed above and group members can invite the group. When set to `all_managed_users` all managed users in the enterprise can invite the group.
admins_and_membersadmins_onlyall_managed_usersexternal_sync_identifierstringAn arbitrary identifier that can be used by external group sync tools to link this Box Group to an external group. Example values of this field could be an **Active Directory Object ID** or a **Google Group ID**. We recommend you use of this field in order to avoid issues when group names are updated in either Box or external systems.
member_viewability_levelstringenumSpecifies who can see the members of the group. * `admins_only` - the enterprise admin, co-admins, group"s group admin * `admins_and_members` - all admins and group members * `all_managed_users` - all managed users in the enterprise
admins_and_membersadmins_onlyall_managed_users
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update group membershipBOX_UPDATE_GROUP_MEMBERSHIPAcciónUpdates a user's group membership. only admins of this group or users with admin-level permissions will be able to use this api.
BOX_UPDATE_GROUP_MEMBERSHIPAcciónUpdates a user's group membership. only admins of this group or users with admin-level permissions will be able to use this api.
Parámetros de entrada
rolestringenumThe role of the user in the group.
adminmemberfieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
group_membership_idstringObligatorioThe ID of the group membership.
configurable_permissionsobjectCustom configuration for the permissions an admin if a group will receive. This option has no effect on members with a role of `member`. Setting these permissions overwrites the default access levels of an admin. Specifying a value of `null` for this object will disable all configurable permissions. Specifying permissions will set them accordingly, omitted permissions will be enabled by default.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update legal hold policyBOX_UPDATE_LEGAL_HOLD_POLICYAcciónUpdate legal hold policy.
BOX_UPDATE_LEGAL_HOLD_POLICYAcciónUpdate legal hold policy.
Parámetros de entrada
descriptionstringA description for the policy.
policy_namestringThe name of the policy.
release_notesstringNotes around why the policy was released.
legal_hold_policy_idstringObligatorioThe ID of the legal hold policy
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update retention policyBOX_UPDATE_RETENTION_POLICYAcciónUpdates a retention policy.
BOX_UPDATE_RETENTION_POLICYAcciónUpdates a retention policy.
Parámetros de entrada
statusstringUsed to retire a retention policy. If not retiring a policy, do not include this parameter or set it to `null`.
descriptionstringThe additional text description of the retention policy.
policy_namestringThe name for the retention policy
retention_typestringSpecifies the retention type: * `modifiable`: You can modify the retention policy. For example, you can add or remove folders, shorten or lengthen the policy duration, or delete the assignment. Use this type if your retention policy is not related to any regulatory purposes. * `non-modifiable`: You can modify the retention policy only in a limited way: add a folder, lengthen the duration, retire the policy, change the disposition action or notification settings. You cannot perform other actions, such as deleting the assignment or shortening the policy duration. Use this type to ensure compliance with regulatory retention policies. When updating a retention policy, you can use `non-modifiable` type only. You can convert a `modifiable` policy to `non-modifiable`, but not the other way around.
retention_lengthstringint32The length of the retention policy. This value specifies the duration in days that the retention policy will be active for after being assigned to content. If the policy has a `policy_type` of `indefinite`, the `retention_length` will also be `indefinite`.
disposition_actionstringenumThe disposition action of the retention policy. This action can be `permanently_delete`, which will cause the content retained by the policy to be permanently deleted, or `remove_retention`, which will lift the retention policy from the content, allowing it to be deleted by users, once the retention policy has expired. You can use `null` if you don"t want to change `disposition_action`.
permanently_deleteremove_retentionare_owners_notifiedbooleanDetermines if owners and co-owners of items under the policy are notified when the retention duration is about to end.
retention_policy_idstringObligatorioThe ID of the retention policy.
can_owner_extend_retentionbooleanDetermines if the owner of items under the policy can extend the retention when the original retention duration is about to end.
custom_notification_recipientsobject[]A list of users notified when the retention duration is about to end.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update shared link on fileBOX_UPDATE_SHARED_LINK_ON_FILEAcciónUpdates a shared link on a file.
BOX_UPDATE_SHARED_LINK_ON_FILEAcciónUpdates a shared link on a file.
Parámetros de entrada
fieldsstringObligatorioExplicitly request the `shared_link` fields to be returned for this item.
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
shared__link__accessstringenumThe level of access for the shared link. This can be restricted to anyone with the link (`open`), only people within the company (`company`) and only those who have been invited to the folder (`collaborators`). If not set, this field defaults to the access level specified by the enterprise admin. To create a shared link with this default setting pass the `shared_link` object with no `access` field, for example `{ "shared_link": {} }`. The `company` access level is only available to paid accounts.
collaboratorscompanyopenshared__link__passwordstringThe password required to access the shared link. Set the password to `null` to remove it. Passwords must now be at least eight characters long and include a number, upper case letter, or a non-numeric or non-alphabetic character. A password can only be set when `access` is set to `open`.
shared__link__unshared__atstringdate-timeThe timestamp at which this shared link will expire. This field can only be set by users with paid accounts. The value must be greater than the current date and time.
shared__link__vanity__namestringDefines a custom vanity name to use in the shared link URL, for example `https://app.box.com/v/my-shared-link`. Custom URLs should not be used when sharing sensitive content as vanity URLs are a lot easier to guess than regular shared links.
shared__link__permissions__can__editbooleanIf the shared link allows for editing of files. This can only be set when `access` is set to `open` or `company`. This value can only be `true` is `can_download` is also `true`.
shared__link__permissions__can__previewbooleanIf the shared link allows for previewing of files. This value is always `true`. For shared links on folders this also applies to any items in the folder.
shared__link__permissions__can__downloadbooleanIf the shared link allows for downloading of files. This can only be set when `access` is set to `open` or `company`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update shared link on folderBOX_UPDATE_SHARED_LINK_ON_FOLDERAcciónUpdates a shared link on a folder.
BOX_UPDATE_SHARED_LINK_ON_FOLDERAcciónUpdates a shared link on a folder.
Parámetros de entrada
fieldsstringObligatorioExplicitly request the `shared_link` fields to be returned for this item.
folder_idstringObligatorioThe unique identifier that represent a folder. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
shared__link__accessstringenumThe level of access for the shared link. This can be restricted to anyone with the link (`open`), only people within the company (`company`) and only those who have been invited to the folder (`collaborators`). If not set, this field defaults to the access level specified by the enterprise admin. To create a shared link with this default setting pass the `shared_link` object with no `access` field, for example `{ "shared_link": {} }`. The `company` access level is only available to paid accounts.
collaboratorscompanyopenshared__link__passwordstringThe password required to access the shared link. Set the password to `null` to remove it. Passwords must now be at least eight characters long and include a number, upper case letter, or a non-numeric or non-alphabetic character. A password can only be set when `access` is set to `open`.
shared__link__unshared__atstringdate-timeThe timestamp at which this shared link will expire. This field can only be set by users with paid accounts. The value must be greater than the current date and time.
shared__link__vanity__namestringDefines a custom vanity name to use in the shared link URL, for example `https://app.box.com/v/my-shared-link`. Custom URLs should not be used when sharing sensitive content as vanity URLs are a lot easier to guess than regular shared links.
shared__link__permissions__can__editbooleanThis value can only be `false` for items with a `type` of `folder`.
shared__link__permissions__can__previewbooleanIf the shared link allows for previewing of files. This value is always `true`. For shared links on folders this also applies to any items in the folder.
shared__link__permissions__can__downloadbooleanIf the shared link allows for downloading of files. This can only be set when `access` is set to `open` or `company`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update shared link on web linkBOX_UPDATE_SHARED_LINK_ON_WEB_LINKAcciónUpdates a shared link on a web link.
BOX_UPDATE_SHARED_LINK_ON_WEB_LINKAcciónUpdates a shared link on a web link.
Parámetros de entrada
fieldsstringObligatorioExplicitly request the `shared_link` fields to be returned for this item.
web_link_idstringObligatorioThe ID of the web link.
shared__link__accessstringenumThe level of access for the shared link. This can be restricted to anyone with the link (`open`), only people within the company (`company`) and only those who have been invited to the folder (`collaborators`). If not set, this field defaults to the access level specified by the enterprise admin. To create a shared link with this default setting pass the `shared_link` object with no `access` field, for example `{ "shared_link": {} }`. The `company` access level is only available to paid accounts.
collaboratorscompanyopenshared__link__passwordstringThe password required to access the shared link. Set the password to `null` to remove it. Passwords must now be at least eight characters long and include a number, upper case letter, or a non-numeric or non-alphabetic character. A password can only be set when `access` is set to `open`.
shared__link__unshared__atstringdate-timeThe timestamp at which this shared link will expire. This field can only be set by users with paid accounts. The value must be greater than the current date and time.
shared__link__vanity__namestringDefines a custom vanity name to use in the shared link URL, for example `https://app.box.com/v/my-shared-link`. Custom URLs should not be used when sharing sensitive content as vanity URLs are a lot easier to guess than regular shared links.
shared__link__permissions__can__editbooleanThis value can only be `true` is `type` is `file`.
shared__link__permissions__can__previewbooleanIf the shared link allows for previewing of files. This value is always `true`. For shared links on folders this also applies to any items in the folder.
shared__link__permissions__can__downloadbooleanIf the shared link allows for downloading of files. This can only be set when `access` is set to `open` or `company`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update shield information barrier segment with specified idBOX_UPDATE_SHIELD_INFORMATION_BARRIER_SEGMENT_WITH_SPECIFIED_IDAcciónUpdate shield information barrier segment with specified id
BOX_UPDATE_SHIELD_INFORMATION_BARRIER_SEGMENT_WITH_SPECIFIED_IDAcciónUpdate shield information barrier segment with specified id
Parámetros de entrada
namestringThe updated name for the shield information barrier segment.
descriptionstringThe updated description for the shield information barrier segment.
shield_information_barrier_segment_idstringObligatorioThe ID of the shield information barrier segment.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update slack integration mappingBOX_UPDATE_SLACK_INTEGRATION_MAPPINGAcciónUpdates a [slack integration mapping](https://support.box.com/hc/en-us/articles/4415585987859-box-as-the-content-layer-for-slack). supports updating the box folder id and options. you need admin or co-admin role to use this endpoint.
BOX_UPDATE_SLACK_INTEGRATION_MAPPINGAcciónUpdates a [slack integration mapping](https://support.box.com/hc/en-us/articles/4415585987859-box-as-the-content-layer-for-slack). supports updating the box folder id and options. you need admin or co-admin role to use this endpoint.
Parámetros de entrada
integration_mapping_idstringObligatorioAn ID of an integration mapping
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update storage policy assignmentBOX_UPDATE_STORAGE_POLICY_ASSIGNMENTAcciónUpdates a specific storage policy assignment.
BOX_UPDATE_STORAGE_POLICY_ASSIGNMENTAcciónUpdates a specific storage policy assignment.
Parámetros de entrada
storage__policy__idstringThe ID of the storage policy to assign.
storage__policy__typestringenumThe type to assign.
storage_policystorage_policy_assignment_idstringObligatorioThe ID of the storage policy assignment.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update taskBOX_UPDATE_TASKAcciónUpdates a task. this can be used to update a task's configuration, or to update its completion state.
BOX_UPDATE_TASKAcciónUpdates a task. this can be used to update a task's configuration, or to update its completion state.
Parámetros de entrada
actionstringenumThe action the task assignee will be prompted to do. Must be * `review` defines an approval task that can be approved or rejected * `complete` defines a general task which can be completed
completereviewdue_atstringdate-timeWhen the task is due at.
messagestringThe message included with the task.
task_idstringObligatorioThe ID of the task.
completion_rulestringenumDefines which assignees need to complete this task before the task is considered completed. * `all_assignees` (default) requires all assignees to review or approve the the task in order for it to be considered completed. * `any_assignee` accepts any one assignee to review or approve the the task in order for it to be considered completed.
all_assigneesany_assignee
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update task assignmentBOX_UPDATE_TASK_ASSIGNMENTAcciónUpdates a task assignment. this endpoint can be used to update the state of a task assigned to a user.
BOX_UPDATE_TASK_ASSIGNMENTAcciónUpdates a task assignment. this endpoint can be used to update the state of a task assigned to a user.
Parámetros de entrada
messagestringAn optional message by the assignee that can be added to the task.
resolution_statestringenumThe state of the task assigned to the user. * For a task with an `action` value of `complete` this can be `incomplete` or `completed`. * For a task with an `action` of `review` this can be `incomplete`, `approved`, or `rejected`.
approvedcompletedincompleterejectedtask_assignment_idstringObligatorioThe ID of the task assignment.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update teams integration mappingBOX_UPDATE_TEAMS_INTEGRATION_MAPPINGAcciónUpdates a [teams integration mapping](https://support.box.com/hc/en-us/articles/360044681474-using-box-for-teams). supports updating the box folder id and options. you need admin or co-admin role to use this endpoint.
BOX_UPDATE_TEAMS_INTEGRATION_MAPPINGAcciónUpdates a [teams integration mapping](https://support.box.com/hc/en-us/articles/360044681474-using-box-for-teams). supports updating the box folder id and options. you need admin or co-admin role to use this endpoint.
Parámetros de entrada
integration_mapping_idstringObligatorioAn ID of an integration mapping
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update terms of serviceBOX_UPDATE_TERMS_OF_SERVICEAcciónUpdates a specific terms of service.
BOX_UPDATE_TERMS_OF_SERVICEAcciónUpdates a specific terms of service.
Parámetros de entrada
textstringObligatorioThe terms of service text to display to users. The text can be set to empty if the `status` is set to `disabled`.
statusstringObligatorioenumWhether this terms of service is active.
disabledenabledterms_of_service_idstringObligatorioThe ID of the terms of service.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update terms of service status for existing userBOX_UPDATE_TERMS_OF_SERVICE_STATUS_FOR_EXISTING_USERAcciónUpdates the status for a terms of service for a user.
BOX_UPDATE_TERMS_OF_SERVICE_STATUS_FOR_EXISTING_USERAcciónUpdates the status for a terms of service for a user.
Parámetros de entrada
is_acceptedbooleanObligatorioWhether the user has accepted the terms.
terms_of_service_user_status_idstringObligatorioThe ID of the terms of service status.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update userBOX_UPDATE_USERAcciónUpdates a managed or app user in an enterprise. this endpoint is only available to users and applications with the right admin permissions.
BOX_UPDATE_USERAcciónUpdates a managed or app user in an enterprise. this endpoint is only available to users and applications with the right admin permissions.
Parámetros de entrada
namestringThe name of the user
rolestringenumThe user’s enterprise role
coadminuserloginstringThe email address the user uses to log in Note: If the target user"s email is not confirmed, then the primary login address cannot be changed.
phonestringThe user’s phone number
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
notifybooleanWhether the user should receive an email when they are rolled out of an enterprise
statusstringenumThe user"s account status
activecannot_delete_editcannot_delete_edit_uploadinactiveaddressstringThe user’s address
user_idstringObligatorioThe ID of the user.
languagestringThe language of the user, formatted in modified version of the [ISO 639-1](/guides/api-calls/language-codes) format.
timezonestringtimezoneThe user"s timezone
job_titlestringThe user’s job title
enterprisestringSet this to `null` to roll the user out of the enterprise and make them a free user
space_amountintegerThe user’s total available space in bytes. Set this to `-1` to indicate unlimited storage.
tracking_codesobject[]Tracking codes allow an admin to generate reports from the admin console and assign an attribute to a specific group of users. This setting must be enabled for an enterprise before it can be used.
is_sync_enabledbooleanWhether the user can use Box Sync
external_app_user_idstringAn external identifier for an app user, which can be used to look up the user. This can be used to tie user IDs from external identity providers to Box users. Note: In order to update this field, you need to request a token using the application that created the app user.
can_see_managed_usersbooleanWhether the user can see other enterprise users in their contact list
is_password_reset_requiredbooleanWhether the user is required to reset their password
notification__email__emailstringThe email address to send the notifications to.
is_exempt_from_device_limitsbooleanWhether to exempt the user from enterprise device limits
is_external_collab_restrictedbooleanWhether the user is allowed to collaborate with users outside their enterprise
is_exempt_from_login_verificationbooleanWhether the user must use two-factor authentication
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update webhookBOX_UPDATE_WEBHOOKAcciónUpdates a webhook.
BOX_UPDATE_WEBHOOKAcciónUpdates a webhook.
Parámetros de entrada
addressstringThe URL that is notified by this webhook
triggersstring[]An array of event names that this webhook is to be triggered for
target__idstringThe ID of the item to trigger a webhook
webhook_idstringObligatorioThe ID of the webhook.
target__typestringenumThe type of item to trigger a webhook
filefolder
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update web linkBOX_UPDATE_WEB_LINKAcciónUpdates a web link object.
BOX_UPDATE_WEB_LINKAcciónUpdates a web link object.
Parámetros de entrada
urlstringThe new URL that the web link links to. Must start with `"http://"` or `"https://"`.
namestringA new name for the web link. Defaults to the URL if not set.
descriptionstringA new description of the web link.
web_link_idstringObligatorioThe ID of the web link.
shared__link__accessstringenumThe level of access for the shared link. This can be restricted to anyone with the link (`open`), only people within the company (`company`) and only those who have been invited to the folder (`collaborators`). If not set, this field defaults to the access level specified by the enterprise admin. To create a shared link with this default setting pass the `shared_link` object with no `access` field, for example `{ "shared_link": {} }`. The `company` access level is only available to paid accounts.
collaboratorscompanyopenshared__link__passwordstringThe password required to access the shared link. Set the password to `null` to remove it. Passwords must now be at least eight characters long and include a number, upper case letter, or a non-numeric or non-alphabetic character. A password can only be set when `access` is set to `open`.
shared__link__unshared__atstringdate-timeThe timestamp at which this shared link will expire. This field can only be set by users with paid accounts. The value must be greater than the current date and time.
shared__link__vanity__namestringDefines a custom vanity name to use in the shared link URL, for example `https://app.box.com/v/my-shared-link`. Custom URLs should not be used when sharing sensitive content as vanity URLs are a lot easier to guess than regular shared links.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upload fileBOX_UPLOAD_FILEAcciónUploads a small file to box. for file sizes over 50mb we recommend using the chunk upload apis. the `attributes` part of the body must come **before** the `file` part. requests that do not follow this format when uploading the file will receive a http `400` error with a `metadata after file contents` error code.
BOX_UPLOAD_FILEAcciónUploads a small file to box. for file sizes over 50mb we recommend using the chunk upload apis. the `attributes` part of the body must come **before** the `file` part. requests that do not follow this format when uploading the file will receive a http `400` error with a `metadata after file contents` error code.
Parámetros de entrada
fileobjectbinaryFile
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
attributesobjectAttributes
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upload file versionBOX_UPLOAD_FILE_VERSIONAcciónUpdate a file's content. for file sizes over 50mb we recommend using the chunk upload apis. the `attributes` part of the body must come **before** the `file` part. requests that do not follow this format when uploading the file will receive a http `400` error with a `metadata after file contents` error code.
BOX_UPLOAD_FILE_VERSIONAcciónUpdate a file's content. for file sizes over 50mb we recommend using the chunk upload apis. the `attributes` part of the body must come **before** the `file` part. requests that do not follow this format when uploading the file will receive a http `400` error with a `metadata after file contents` error code.
Parámetros de entrada
fileobjectbinaryFile
fieldsstring[]A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response. Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
file_idstringObligatorioThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
attributesobjectAttributes
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upload part of fileBOX_UPLOAD_PART_OF_FILEAcciónUploads a chunk of a file for an upload session. the actual endpoint url is returned by the [`create upload session`](e://post-files-upload-sessions) and [`get upload session`](e://get-files-upload-sessions-id) endpoints.
BOX_UPLOAD_PART_OF_FILEAcciónUploads a chunk of a file for an upload session. the actual endpoint url is returned by the [`create upload session`](e://post-files-upload-sessions) and [`get upload session`](e://get-files-upload-sessions-id) endpoints.
Parámetros de entrada
fileobjectPath to file
upload_session_idstringObligatorioThe ID of the upload session.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Triggers (20)
Los triggers son eventos externos que pueden iniciar un flujo en tus agentes (ej: nuevo email, mensaje recibido, registro creado).
Collaboration Details ChangedBOX_COLLABORATION_DETAILS_CHANGED_TRIGGERTriggerTriggers when a collaboration's details change (e.g., role, status, expiration).
This trigger monitors a specific collaboration and detects when any meaningful
field changes, such as role, status, expiration date, access type, or
acknowledgment status.
BOX_COLLABORATION_DETAILS_CHANGED_TRIGGERTriggerTriggers when a collaboration's details change (e.g., role, status, expiration). This trigger monitors a specific collaboration and detects when any meaningful field changes, such as role, status, expiration date, access type, or acknowledgment status.
Configuración
collaboration_idstringObligatorioThe unique identifier of the collaboration to monitor for changes. This is a numeric string ID returned when creating or listing collaborations (e.g., '69886391395').
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
Payload del evento
changed_fieldsstring[]List of field names that changed (e.g., 'role', 'status', 'expires_at')
collaborationobjectObligatorioThe collaboration with updated details
current_valuesobjectCurrent values of changed fields
event_typestringType of event that occurred
previous_valuesobjectPrevious values of changed fields
Instrucciones
**Instructions for Setting Up the Trigger:** - This trigger monitors a specific collaboration for changes to its details. - You must provide a collaboration_id to monitor that specific collaboration. - The trigger will detect when meaningful fields change, including: - role: Changes in permission level (viewer, editor, co-owner, etc.) - status: Changes in collaboration status (pending, accepted, rejected) - expires_at: Changes to expiration date - is_access_only: Changes to access-only setting - acknowledged_at: When the collaboration is acknowledged - modified_at: When any modification occurs - You can get collaboration IDs from listing collaborations on files/folders.
Comment ChangedBOX_COMMENT_CHANGED_TRIGGERTriggerTriggers when a comment's content or details change in Box.
This trigger monitors a specific Box comment and detects when any meaningful
field changes, such as message text edits, tagged message changes, or
modification timestamp updates.
BOX_COMMENT_CHANGED_TRIGGERTriggerTriggers when a comment's content or details change in Box. This trigger monitors a specific Box comment and detects when any meaningful field changes, such as message text edits, tagged message changes, or modification timestamp updates.
Configuración
comment_idstringObligatorioThe unique identifier of the comment to monitor for changes. Comment IDs can be obtained from the 'list_file_comments' action or when creating a comment. Example: '12345678'.
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
Payload del evento
changed_fieldsstring[]List of field names that changed (e.g., 'message', 'modified_at')
commentobjectObligatorioThe comment with updated content
current_valuesobjectCurrent values of changed fields
event_typestringType of event that occurred
previous_valuesobjectPrevious values of changed fields
Instrucciones
**Instructions for Setting Up the Trigger:** - This trigger monitors a specific comment for changes to its content or details. - You must provide a comment_id to monitor that specific comment. - The trigger will detect when meaningful fields change, including: - message: Changes to the comment text - tagged_message: Changes to mentions in the comment - modified_at: When the comment was last modified - You can get comment IDs from the 'list_file_comments' action or when creating comments. **Example Use Cases:** - Track when important comments are edited - Monitor changes to feedback or review comments - Detect updates to collaboration discussions
New File Comment AddedBOX_FILE_COMMENT_ADDED_TRIGGERTriggerTriggers when a new comment is added to a file in Box.
This trigger monitors a specific Box file and fires when new comments are detected.
BOX_FILE_COMMENT_ADDED_TRIGGERTriggerTriggers when a new comment is added to a file in Box. This trigger monitors a specific Box file and fires when new comments are detected.
Configuración
file_idstringObligatorioThe unique identifier of the file to monitor for new comments. File IDs can be obtained from file URLs or from actions like 'list_items_in_folder'. Example: '2090489102308'.
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
limitintegerMaximum number of comments to check in each poll (default: 100)
Payload del evento
commentobjectObligatorioThe newly added comment
event_typestringType of event that occurred
Instrucciones
**Instructions for Setting Up the Trigger:** - This trigger monitors a specific Box file for newly added comments. - You must provide the file_id of the file you want to monitor. - The trigger will detect new comments added after the trigger is set up. - The file_id can be obtained from the file URL or from actions like 'list_items_in_folder'. - Example file_id: '2090489102308' **Example Use Cases:** - Get notified when someone comments on a shared document - Track feedback and discussions on important files - Monitor collaboration activity on specific files
File Metadata ChangedBOX_FILE_METADATA_CHANGED_TRIGGERTriggerTriggers when a file's metadata or properties change in Box.
This trigger monitors a specific Box file and fires when changes are detected
in key fields like name, description, size, modification time, parent folder,
or status.
BOX_FILE_METADATA_CHANGED_TRIGGERTriggerTriggers when a file's metadata or properties change in Box. This trigger monitors a specific Box file and fires when changes are detected in key fields like name, description, size, modification time, parent folder, or status.
Configuración
file_idstringObligatorioThe unique identifier of the file to monitor for metadata or property changes. File IDs can be obtained from the 'upload_file', 'list_items_in_folder', or 'search_for_content' actions. Example: '2119320206124'.
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
Payload del evento
changed_fieldsstring[]List of field names that changed in this update
event_typestringType of event that occurred
fileobjectObligatorioThe file with updated metadata
Instrucciones
**Instructions for Setting Up the Trigger:** - This trigger monitors a specific Box file for metadata or property changes. - You must provide the file_id of the file you want to monitor. - The trigger will detect changes in: - File name - File description - File size (when a new version is uploaded) - File modification time - File version (sha1, version ID) - Parent folder (when file is moved) - Item status (active, trashed, deleted) - File etag and sequence_id - Content creation/modification timestamps - Owner or modifier information - The file_id can be obtained from the 'upload_file', 'list_items_in_folder', or 'search_for_content' actions. - Example file_id: '2119320206124' **Example Use Cases:** - Get notified when a file is renamed - Track when a file is moved to a different folder - Monitor when a new version of a file is uploaded - Detect when a file's description is updated - Alert when a file is moved to trash
File Shared Link ChangedBOX_FILE_SHARED_LINK_CHANGED_TRIGGERTriggerTriggers when a file's shared link settings change in Box.
This trigger monitors a specific Box file's shared link and fires when changes
are detected in the shared link configuration, such as access level, permissions,
password protection, expiration date, or vanity URL.
BOX_FILE_SHARED_LINK_CHANGED_TRIGGERTriggerTriggers when a file's shared link settings change in Box. This trigger monitors a specific Box file's shared link and fires when changes are detected in the shared link configuration, such as access level, permissions, password protection, expiration date, or vanity URL.
Configuración
file_idstringObligatorioThe unique identifier of the file to monitor for shared link changes. File IDs can be obtained from the 'upload_file', 'list_items_in_folder', or 'search_for_content' actions. Example: '2090483963494'.
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
Payload del evento
change_typestringObligatorioType of change: 'created', 'modified', or 'removed'
changed_fieldsstring[]List of shared link field names that changed
event_typestringType of event that occurred
file_idstringObligatorioThe unique identifier of the file
file_namestringObligatorioThe name of the file
shared_linkobjectShared link information for the file.
Instrucciones
**Instructions for Setting Up the Trigger:** - This trigger monitors a specific Box file for shared link setting changes. - You must provide the file_id of the file you want to monitor. - The trigger will detect changes in: - Shared link creation (when shared link is added to a file) - Shared link removal (when shared link is disabled/removed) - Access level (open, company, collaborators) - Permissions (can_download, can_preview, can_edit) - Password protection (is_password_enabled) - Expiration date (unshared_at) - Vanity URL settings (vanity_url, vanity_name) - Effective access and permissions - The file_id can be obtained from 'upload_file', 'list_items_in_folder', or 'search_for_content' actions. - Example file_id: '2090483963494' **Example Use Cases:** - Get notified when a file's shared link is created or removed - Track when shared link access level changes - Monitor when shared link permissions are modified - Alert when a shared link expiration is set or changed - Detect when password protection is enabled/disabled
New File Version UploadedBOX_FILE_VERSION_UPLOADED_TRIGGERTriggerTriggers when a new file version is uploaded to a file in Box.
This trigger monitors a specific Box file and fires when new versions are detected.
BOX_FILE_VERSION_UPLOADED_TRIGGERTriggerTriggers when a new file version is uploaded to a file in Box. This trigger monitors a specific Box file and fires when new versions are detected.
Configuración
file_idstringObligatorioThe unique identifier of the file to monitor for new versions. The ID for any file can be determined by visiting this file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
limitintegerMaximum number of versions to check in each poll (1-1000)
Payload del evento
event_typestringType of event that occurred
file_idstringObligatorioThe ID of the file this version belongs to
file_versionobjectObligatorioThe newly uploaded file version
Instrucciones
**Instructions for Setting Up the Trigger:** - This trigger monitors a specific Box file for newly uploaded versions. - You must provide the file_id of the file you want to monitor. - The trigger will detect new file versions uploaded after the trigger is set up. - The file_id can be obtained from the file URL in Box (e.g., '123' from 'https://*.app.box.com/files/123'). - You can optionally set the limit to control how many versions to check in each poll (default: 100). - Note: Box only tracks versions for users with premium accounts. **Example Use Cases:** - Get notified when a document is updated with a new version - Track when contracts or agreements are revised - Monitor when design files receive new iterations - Automate workflows when important files are updated
New Item Added to FolderBOX_FOLDER_ITEM_ADDED_TRIGGERTriggerTriggers when a new item (file, folder, or web link) is added to a folder in Box.
This trigger monitors a specific Box folder and fires when new items are detected.
BOX_FOLDER_ITEM_ADDED_TRIGGERTriggerTriggers when a new item (file, folder, or web link) is added to a folder in Box. This trigger monitors a specific Box folder and fires when new items are detected.
Configuración
folder_idstringObligatorioThe unique identifier of the folder to monitor for new items. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
limitintegerMaximum number of items to check in each poll (1-1000)
Payload del evento
event_typestringType of event that occurred
itemobjectObligatorioThe newly added item
Instrucciones
**Instructions for Setting Up the Trigger:** - This trigger monitors a specific Box folder for newly added items (files, folders, or web links). - You must provide the folder_id of the folder you want to monitor. - The trigger will detect new items added after the trigger is set up. - The folder_id can be obtained from the folder URL in Box (e.g., '123' from 'https://*.app.box.com/folder/123'). - Use folder_id '0' to monitor the root folder. - You can optionally set the limit to control how many items to check in each poll (default: 100). **Example Use Cases:** - Get notified when new files are uploaded to a shared folder - Track when new folders are created in a project directory - Monitor when new web links are added to a resource folder - Automate workflows when documents are added to specific folders
Folder Properties ChangedBOX_FOLDER_PROPERTIES_CHANGED_TRIGGERTriggerTriggers when a folder's core properties change in Box.
This trigger monitors a specific Box folder and fires when changes are detected
in properties like name, description, modification time, parent folder,
item status, or shared link settings.
BOX_FOLDER_PROPERTIES_CHANGED_TRIGGERTriggerTriggers when a folder's core properties change in Box. This trigger monitors a specific Box folder and fires when changes are detected in properties like name, description, modification time, parent folder, item status, or shared link settings.
Configuración
folder_idstringObligatorioThe unique identifier of the folder to monitor for property changes. Folder IDs can be obtained from actions like 'create_folder', 'list_items_in_folder', or 'search_for_content'. The root folder is always represented by ID '0'. Example: '353353898191'.
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
Payload del evento
changed_fieldsstring[]List of property field names that changed.
descriptionstringCurrent folder description.
event_typestringType of event that occurred.
folder_idstringObligatorioThe unique identifier of the folder.
folder_namestringObligatorioThe current name of the folder.
item_statusstringCurrent item status: 'active', 'trashed', or 'deleted'.
modified_atstringLast modification timestamp.
namestringCurrent folder name.
parentobjectSchema for folder mini representation.
shared_linkobjectShared link information for the folder.
Instrucciones
**Instructions for Setting Up the Trigger:** - This trigger monitors a specific Box folder for core property changes. - You must provide the folder_id of the folder you want to monitor. - The trigger will detect changes in: - **name**: When the folder is renamed - **description**: When the folder description is updated - **modified_at**: When the folder's last modified timestamp changes - **parent**: When the folder is moved to a different parent folder - **item_status**: When the folder status changes (active → trashed, etc.) - **shared_link**: When any shared link property changes (creation, removal, or modification) - The folder_id can be obtained from actions like 'create_folder', 'list_items_in_folder', or 'search_for_content'. - The root folder is always represented by ID '0'. - Example folder_id: '353353898191' **Example Use Cases:** - Get notified when a folder is renamed - Track when a folder's description is updated - Monitor when a folder is moved to a different location - Detect when a folder is moved to trash - Alert when shared link settings change for a folder - Track folder modification times for audit purposes
Folder Shared Link ChangedBOX_FOLDER_SHARED_LINK_CHANGED_TRIGGERTriggerTriggers when a folder's shared link settings change in Box.
This trigger monitors a specific Box folder's shared link and fires when changes
are detected in the shared link configuration, such as access level, permissions,
password protection, expiration date, or vanity URL.
BOX_FOLDER_SHARED_LINK_CHANGED_TRIGGERTriggerTriggers when a folder's shared link settings change in Box. This trigger monitors a specific Box folder's shared link and fires when changes are detected in the shared link configuration, such as access level, permissions, password protection, expiration date, or vanity URL.
Configuración
folder_idstringObligatorioThe unique identifier of the folder to monitor for shared link changes. Folder IDs can be obtained from the 'create_folder', 'list_items_in_folder', or 'search_for_content' actions. The root folder is always represented by ID '0'. Example: '353353898191'.
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
Payload del evento
change_typestringObligatorioType of change: 'created', 'modified', or 'removed'
changed_fieldsstring[]List of shared link field names that changed
event_typestringType of event that occurred
folder_idstringObligatorioThe unique identifier of the folder
folder_namestringObligatorioThe name of the folder
shared_linkobjectShared link information for the folder.
Instrucciones
**Instructions for Setting Up the Trigger:** - This trigger monitors a specific Box folder for shared link setting changes. - You must provide the folder_id of the folder you want to monitor. - The trigger will detect changes in: - Shared link creation (when shared link is added to a folder) - Shared link removal (when shared link is disabled/removed) - Access level (open, company, collaborators) - Permissions (can_download, can_preview, can_edit) - Password protection (is_password_enabled) - Expiration date (unshared_at) - Vanity URL settings (vanity_url, vanity_name) - Effective access and permissions - The folder_id can be obtained from 'create_folder', 'list_items_in_folder', or 'search_for_content' actions. - The root folder is always represented by ID '0'. - Example folder_id: '353353898191' **Example Use Cases:** - Get notified when a folder's shared link is created or removed - Track when shared link access level changes - Monitor when shared link permissions are modified - Alert when a shared link expiration is set or changed - Detect when password protection is enabled/disabled
New File Added to FolderBOX_NEW_FILE_ADDED_TRIGGERTriggerTriggers when a new file is added to a folder in Box.
This trigger monitors a specific Box folder and fires when new files are detected.
Only files (not folders or web links) are monitored.
BOX_NEW_FILE_ADDED_TRIGGERTriggerTriggers when a new file is added to a folder in Box. This trigger monitors a specific Box folder and fires when new files are detected. Only files (not folders or web links) are monitored.
Configuración
folder_idstringObligatorioThe unique identifier of the folder to monitor for new files. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`. The root folder of a Box account is always represented by the ID `0`.
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
limitintegerMaximum number of items to check in each poll (1-1000)
Payload del evento
event_typestringType of event that occurred
fileobjectObligatorioThe newly added file
Instrucciones
**Instructions for Setting Up the Trigger:** - This trigger monitors a specific Box folder for newly added files. - You must provide the folder_id of the folder you want to monitor. - The trigger will detect new files added after the trigger is set up. - The folder_id can be obtained from the folder URL in Box (e.g., '123' from 'https://*.app.box.com/folder/123'). - Use folder_id '0' to monitor the root folder. - You can optionally set the limit to control how many items to check in each poll (default: 100). - Note: This trigger only detects files, not folders or web links. **Example Use Cases:** - Get notified when new documents are uploaded to a shared folder - Track when new reports are added to a project directory - Monitor when new images are uploaded to a media folder - Automate workflows when files are added to specific folders
New Folder Collaboration CreatedBOX_NEW_FOLDER_COLLABORATION_CREATED_TRIGGERTriggerTriggers when a new collaboration is created on a specific folder in Box.
This trigger monitors a specific Box folder and fires when new collaborations are detected.
BOX_NEW_FOLDER_COLLABORATION_CREATED_TRIGGERTriggerTriggers when a new collaboration is created on a specific folder in Box. This trigger monitors a specific Box folder and fires when new collaborations are detected.
Configuración
folder_idstringObligatorioThe unique identifier of the folder to monitor for collaborations. The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folder/123` the `folder_id` is `123`.
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
limitintegerMaximum number of collaborations to check in each poll (1-1000)
Payload del evento
collaborationobjectObligatorioThe newly created folder collaboration
event_typestringType of event that occurred
Instrucciones
**Instructions for Setting Up the Trigger:** - This trigger monitors a specific Box folder for newly created collaborations. - You must provide the folder_id of the folder you want to monitor. - The trigger will detect new collaborations added after the trigger is set up. - The folder_id can be found in the URL when viewing the folder in Box web application. - Example folder_id: '123456789' **Example Use Cases:** - Get notified when someone is given access to a sensitive folder - Track when new team members are added to project folders - Monitor collaboration changes for compliance purposes - Receive alerts when external users are granted folder access
New Pending Collaboration InviteBOX_NEW_PENDING_COLLABORATION_TRIGGERTriggerTriggers when a new pending collaboration invite is created.
This trigger monitors the user's pending collaborations and fires when new
pending collaboration invites are detected.
BOX_NEW_PENDING_COLLABORATION_TRIGGERTriggerTriggers when a new pending collaboration invite is created. This trigger monitors the user's pending collaborations and fires when new pending collaboration invites are detected.
Configuración
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
limitintegerMaximum number of pending collaborations to check in each poll (1-1000)
Payload del evento
collaborationobjectObligatorioThe new pending collaboration invite
event_typestringType of event that occurred
Instrucciones
**Instructions for Setting Up the Trigger:** - This trigger monitors your Box account for new pending collaboration invites. - It will detect new collaboration invites that are in "pending" status. - The trigger will fire when someone invites you to collaborate on a file or folder. - You can configure the maximum number of pending collaborations to check in each poll. **Example Use Cases:** - Get notified when someone invites you to collaborate on a document - Track collaboration requests that need your acceptance - Monitor collaboration invites across your organization
New Sign Request CreatedBOX_NEW_SIGN_REQUEST_CREATED_TRIGGERTriggerTriggers when a new Box sign request is created.
This trigger monitors Box sign requests and fires when new sign requests are detected.
BOX_NEW_SIGN_REQUEST_CREATED_TRIGGERTriggerTriggers when a new Box sign request is created. This trigger monitors Box sign requests and fires when new sign requests are detected.
Configuración
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
limitintegerMaximum number of sign requests to check in each poll (1-1000)
Payload del evento
event_typestringType of event that occurred
sign_requestobjectObligatorioThe newly created Box sign request
Instrucciones
**Instructions for Setting Up the Trigger:** - This trigger monitors Box sign requests for newly created requests. - The trigger will detect sign requests created after the trigger is set up. - Use limit to control how many sign requests to check in each poll (default: 100).
New Task Assignment AddedBOX_NEW_TASK_ASSIGNMENT_TRIGGERTriggerTriggers when a new assignment is added to a task in Box.
This trigger monitors a specific Box task and fires when new assignments are detected.
BOX_NEW_TASK_ASSIGNMENT_TRIGGERTriggerTriggers when a new assignment is added to a task in Box. This trigger monitors a specific Box task and fires when new assignments are detected.
Configuración
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
task_idstringObligatorioThe unique identifier of the task to monitor for new assignments. Task IDs can be obtained from the 'create_task' or 'list_tasks_on_file' actions. Example: '39641675308'.
Payload del evento
event_typestringType of event that occurred
task_assignmentobjectObligatorioThe newly added task assignment
Instrucciones
**Instructions for Setting Up the Trigger:** - This trigger monitors a specific Box task for newly added assignments. - You must provide the task_id of the task you want to monitor. - The trigger will detect new assignments added after the trigger is set up. - The task_id can be obtained from the 'create_task' or 'list_tasks_on_file' actions. - Example task_id: '39641675308' **Example Use Cases:** - Get notified when someone is assigned to a review task - Track when team members are assigned to collaboration tasks - Monitor task delegation in your Box workflow
New Task Created on FileBOX_NEW_TASK_CREATED_TRIGGERTriggerTriggers when a new task is created on a Box file.
This trigger monitors a specific Box file and fires when new tasks are detected.
BOX_NEW_TASK_CREATED_TRIGGERTriggerTriggers when a new task is created on a Box file. This trigger monitors a specific Box file and fires when new tasks are detected.
Configuración
file_idstringObligatorioThe unique identifier of the file to monitor for new tasks. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
Payload del evento
event_typestringType of event that occurred
taskobjectObligatorioThe newly created task on the file
Instrucciones
**Instructions for Setting Up the Trigger:** - This trigger monitors a specific Box file for newly created tasks. - You must provide the file_id of the file you want to monitor. - The trigger will detect new tasks created after the trigger is set up. - The file_id can be obtained from the Box web application URL or by using file listing actions. - Example file_id: '123456789' **Example Use Cases:** - Get notified when a review task is created on a document - Track when collaboration tasks are assigned to a file - Monitor approval workflows on important files
Box Sign Request Status ChangedBOX_SIGN_REQUEST_STATUS_CHANGED_TRIGGERTriggerTriggers when a Box Sign request's status or meaningful fields change.
This trigger monitors a specific Box Sign request and fires when changes are detected
in key fields like status, signer decisions, document readiness, or completion state.
BOX_SIGN_REQUEST_STATUS_CHANGED_TRIGGERTriggerTriggers when a Box Sign request's status or meaningful fields change. This trigger monitors a specific Box Sign request and fires when changes are detected in key fields like status, signer decisions, document readiness, or completion state.
Configuración
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
sign_request_idstringObligatorioThe unique identifier (UUID) of the Box Sign request to monitor for status or detail changes. This ID can be obtained from the response when creating a sign request or by listing all sign requests. Example: 'c5c832e7-b890-4a48-96f5-27ce66d1e3b9'.
Payload del evento
changed_fieldsstring[]List of field names that changed in this update
event_typestringType of event that occurred
sign_requestobjectObligatorioThe Box Sign request with updated state
Instrucciones
**Instructions for Setting Up the Trigger:** - This trigger monitors a specific Box Sign request for status or detail changes. - You must provide the sign_request_id of the sign request you want to monitor. - The trigger will detect changes in: - Request status (converting, created, sent, viewed, signed, cancelled, declined, expired, etc.) - Signer decisions (signed, declined) - Document readiness (is_ready_for_download) - Signer view status (has_viewed_document) - Completion timestamp (finished_at) - Expiration date changes - Email subject or message updates - The sign_request_id can be obtained from the 'BOX_CREATE_BOX_SIGN_REQUEST' or 'BOX_LIST_BOX_SIGN_REQUESTS' actions. - Example sign_request_id: 'c5c832e7-b890-4a48-96f5-27ce66d1e3b9' **Example Use Cases:** - Get notified when all signers have signed a document - Track when a signer declines a signature request - Monitor when documents are ready for download after signing - Detect when a sign request is cancelled or expires - Track when signers view the document
Task Assignment State ChangedBOX_TASK_ASSIGNMENT_STATE_CHANGED_TRIGGERTriggerTriggers when a task assignment's state changes.
This trigger monitors task assignments for a specific task and detects when
the resolution_state changes (e.g., from incomplete to completed, or from
completed to approved/rejected).
BOX_TASK_ASSIGNMENT_STATE_CHANGED_TRIGGERTriggerTriggers when a task assignment's state changes. This trigger monitors task assignments for a specific task and detects when the resolution_state changes (e.g., from incomplete to completed, or from completed to approved/rejected).
Configuración
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
task_idstringObligatorioThe unique identifier of the task to monitor for assignment state changes. Task IDs can be obtained from the 'create_task' or 'list_tasks_on_file' actions.
Payload del evento
assignmentobjectObligatorioThe task assignment with updated state
current_statestringThe current resolution state of the assignment
event_typestringType of event that occurred
previous_statestringThe previous resolution state of the assignment
Instrucciones
**Instructions for Setting Up the Trigger:** - This trigger monitors task assignments for state changes. - You must provide a task_id to monitor assignments for that specific task. - The trigger will detect when assignment states change (incomplete, completed, approved, rejected). - The trigger fires when any field in the assignment changes, with focus on resolution_state.
Task State ChangedBOX_TASK_STATE_CHANGED_TRIGGERTriggerTriggers when a task's status or details change in Box.
This trigger monitors a specific Box task and fires when changes are detected
in key fields like status, due date, message, or completion state.
BOX_TASK_STATE_CHANGED_TRIGGERTriggerTriggers when a task's status or details change in Box. This trigger monitors a specific Box task and fires when changes are detected in key fields like status, due date, message, or completion state.
Configuración
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
task_idstringObligatorioThe unique identifier of the task to monitor for status or detail changes. Task IDs can be obtained from the 'create_task' or 'list_tasks_on_file' actions. Example: '39641675308'.
Payload del evento
changed_fieldsstring[]List of field names that changed in this update
event_typestringType of event that occurred
taskobjectObligatorioThe task with updated state
Instrucciones
**Instructions for Setting Up the Trigger:** - This trigger monitors a specific Box task for status or detail changes. - You must provide the task_id of the task you want to monitor. - The trigger will detect changes in: - Task completion status (is_completed) - Due date (due_at) - Task message - Task action type (review/complete) - Completion rule (all_assignees/any_assignee) - Number of assignments - The task_id can be obtained from the 'create_task' or 'list_tasks_on_file' actions. - Example task_id: '39641675308' **Example Use Cases:** - Get notified when a task is marked as completed - Track when task due dates are changed - Monitor when task messages or instructions are updated - Detect when task completion rules change
Trashed File State ChangedBOX_TRASHED_FILE_STATE_CHANGED_TRIGGERTriggerTriggers when a file's trash state changes in Box.
This trigger monitors a specific Box file and fires when its trash state changes
(e.g., moved to trash or restored from trash).
BOX_TRASHED_FILE_STATE_CHANGED_TRIGGERTriggerTriggers when a file's trash state changes in Box. This trigger monitors a specific Box file and fires when its trash state changes (e.g., moved to trash or restored from trash).
Configuración
file_idstringObligatorioThe unique identifier of the file to monitor for trash state changes. The file ID can be obtained from the 'get_file_information' or 'list_items_in_folder' actions. Example: '2119317417511'.
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
Payload del evento
changed_fieldsstring[]List of field names that changed in this update
current_statestringCurrent item_status value ('active', 'trashed', or 'deleted')
event_typestringType of event that occurred
fileobjectObligatorioThe file with updated trash state
previous_statestringPrevious item_status value ('active', 'trashed', or 'deleted')
Instrucciones
**Instructions for Setting Up the Trigger:** - This trigger monitors a specific Box file for trash state changes. - You must provide the file_id of the file you want to monitor. - The trigger will detect changes in: - item_status (active, trashed, deleted) - trashed_at timestamp - purged_at timestamp - The file_id can be obtained from the 'get_file_information' or 'list_items_in_folder' actions. - Example file_id: '2119317417511' **Example Use Cases:** - Get notified when a file is moved to trash - Track when a file is restored from trash - Monitor when a file's trash state changes - Detect when a file is permanently deleted
Trashed Folder State ChangedBOX_TRASHED_FOLDER_STATE_CHANGED_TRIGGERTriggerTriggers when a folder's trash state changes in Box.
This trigger monitors a specific Box folder and fires when its trash state changes
(e.g., moved to trash or restored from trash).
BOX_TRASHED_FOLDER_STATE_CHANGED_TRIGGERTriggerTriggers when a folder's trash state changes in Box. This trigger monitors a specific Box folder and fires when its trash state changes (e.g., moved to trash or restored from trash).
Configuración
folder_idstringObligatorioThe unique identifier of the folder to monitor for trash state changes. The folder ID can be obtained from the 'get_folder_information' or 'list_items_in_folder' actions. Example: '353353898191'.
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
Payload del evento
changed_fieldsstring[]List of field names that changed in this update
current_statestringCurrent item_status value ('active', 'trashed', or 'deleted')
event_typestringType of event that occurred
folderobjectObligatorioThe folder with updated trash state
previous_statestringPrevious item_status value ('active', 'trashed', or 'deleted')
Instrucciones
**Instructions for Setting Up the Trigger:** - This trigger monitors a specific Box folder for trash state changes. - You must provide the folder_id of the folder you want to monitor. - The trigger will detect changes in: - item_status (active, trashed, deleted) - trashed_at timestamp - purged_at timestamp - The folder_id can be obtained from the 'get_folder_information' or 'list_items_in_folder' actions. - Example folder_id: '353353898191' **Example Use Cases:** - Get notified when a folder is moved to trash - Track when a folder is restored from trash - Monitor when a folder's trash state changes - Detect when a folder is permanently deleted