Version 1
Connector Overview: This page documents all 266 endpoints for the Boxconnector v1.
GET
AI: Get AI agent default configuration
Get the AI agent default config
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The mode to filter the agent config to return. |
|
|
The ISO language code to return the agent config for.
|
|
|
The model to return the default agent config for. |
|
|
N/A |
POST
AI: Send AI question request
Sends an AI request to supported LLMs and returns an answer specifically focused on the user's question given the provided context.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
POST
AI: Send AI request to generate text
Sends an AI request to supported LLMs and returns an answer specifically focused on the creation of new text.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Authorization: Authorize user
Authorize a user by sending them through the Box
website and request their permission to act on their behalf.
This is the first step when authenticating a user using
OAuth 2.0. To request a user's authorization to use the Box APIs
on their behalf you will need to send a user to the URL with this
format.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The type of response we'd like to receive. |
|
|
The Client ID of the application that is requesting to authenticate
|
|
|
The URI to which Box redirects the browser after the user has granted
|
|
|
A custom string of your choice. Box will pass the same string to
|
|
|
A space-separated list of application scopes you'd like to
|
|
|
N/A |
POST
Authorization: Refresh access token
Refresh an Access Token using its client ID, secret, and refresh token.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
POST
Authorization: Request access token
Request an Access Token using either a client-side obtained OAuth 2.0
authorization code or a server-side JWT assertion.
An Access Token is a string that enables Box to verify that a
request belongs to an authorized session. In the normal order of
operations you will begin by requesting authentication from the
authorize endpoint and Box will send you an
authorization code.
You will then send this code to this endpoint to exchange it for
an Access Token. The returned Access Token can then be used to to make
Box API calls.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
POST
Authorization: Revoke access token
Revoke an active Access Token, effectively logging a user out
that has been previously authenticated.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
POST
Classifications on files: Add classification to file
Adds a classification to a file by specifying the label of the
classification to add.
This API can also be called by including the enterprise ID in the
URL explicitly, for example
/files/:id//enterprise_12345/securityClassification-6VMVochwUWo.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
N/A |
GET
Classifications on files: Get classification on file
Retrieves the classification metadata instance that
has been applied to a file.
This API can also be called by including the enterprise ID in the
URL explicitly, for example
/files/:id//enterprise_12345/securityClassification-6VMVochwUWo.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
N/A |
DELETE
Classifications on files: Remove classification from file
Removes any classifications from a file.
This API can also be called by including the enterprise ID in the
URL explicitly, for example
/files/:id//enterprise_12345/securityClassification-6VMVochwUWo.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
N/A |
PUT
Classifications on files: Update classification on file
Updates a classification on a file.
The classification can only be updated if a classification has already been
applied to the file before. When editing classifications, only values are
defined for the enterprise will be accepted.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
N/A |
POST
Classifications on folders: Add classification to folder
Adds a classification to a folder by specifying the label of the
classification to add.
This API can also be called by including the enterprise ID in the
URL explicitly, for example
/folders/:id//enterprise_12345/securityClassification-6VMVochwUWo.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
N/A |
GET
Classifications on folders: Get classification on folder
Retrieves the classification metadata instance that
has been applied to a folder.
This API can also be called by including the enterprise ID in the
URL explicitly, for example
/folders/:id//enterprise_12345/securityClassification-6VMVochwUWo.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
N/A |
DELETE
Classifications on folders: Remove classification from folder
Removes any classifications from a folder.
This API can also be called by including the enterprise ID in the
URL explicitly, for example
/folders/:id//enterprise_12345/securityClassification-6VMVochwUWo.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
N/A |
PUT
Classifications on folders: Update classification on folder
Updates a classification on a folder.
The classification can only be updated if a classification has already been
applied to the folder before. When editing classifications, only values are
defined for the enterprise will be accepted.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
N/A |
PUT
Classifications: Add classification
Adds one or more new classifications to the list of classifications
available to the 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.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
POST
Classifications: Add initial classifications
When an enterprise does not yet have any classifications, this API call
initializes the classification template with an initial set of
classifications.
If an enterprise already has a classification, the template will already
exist and instead an API call should be made to add additional
classifications.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Classifications: List all classifications
Retrieves the classification metadata template and lists all the
classifications available to this enterprise.
This API can also be called by including the enterprise ID in the
URL explicitly, for example
/metadata_templates/enterprise_12345/securityClassification-6VMVochwUWo/schema.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
PUT
Classifications: Update classification
Updates the labels and descriptions of one or more classifications
available to the 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.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Collaborations (List): List file collaborations
Retrieves a list of pending and active collaborations for a
file. This returns all the users that have access to the file
or have been invited to the file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
The maximum number of items to return per page. |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
N/A |
GET
Collaborations (List): List folder collaborations
Retrieves a list of pending and active collaborations for a
folder. This returns all the users that have access to the folder
or have been invited to the folder.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
GET
Collaborations (List): List group collaborations
Retrieves all the collaborations for a group. The user
must have admin permissions to inspect enterprise's groups.
Each collaboration object has details on which files or
folders the group has access to and with what role.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the group. |
|
|
The maximum number of items to return per page. |
|
|
The offset of the item at which to begin the response. Queries with offset parameter value
|
|
|
N/A |
GET
Collaborations (List): List pending collaborations
Retrieves all pending collaboration invites for this user.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The status of the collaborations to retrieve |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
The offset of the item at which to begin the response. Queries with offset parameter value
|
|
|
The maximum number of items to return per page. |
|
|
N/A |
POST
Collaborations: Create collaboration
Adds a collaboration for a single user or a single group to a file
or folder.
Collaborations can be created using email address, user IDs, or a
group IDs.
If a collaboration is being created with a group, access to
this endpoint is dependent on the group's ability to be invited.
If collaboration is in pending status, the following fields
are redacted:
-
loginandnameare hidden if a collaboration was created
using user_id,
-
nameis hidden if a collaboration was created usinglogin.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
Determines if users should receive email notification
|
|
|
N/A |
GET
Collaborations: Get collaboration
Retrieves a single collaboration.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the collaboration |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
DELETE
Collaborations: Remove collaboration
Deletes a single collaboration.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the collaboration |
|
|
N/A |
PUT
Collaborations: Update collaboration
Updates a collaboration.
Can be used to change the owner of an item, or to
accept collaboration invites.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the collaboration |
|
|
N/A |
GET
Collections: List all collections
Retrieves all collections for a given user.
Currently, only the favorites collection
is supported.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
The offset of the item at which to begin the response. Queries with offset parameter value
|
|
|
The maximum number of items to return per page. |
|
|
N/A |
GET
Collections: List collection items
Retrieves the files and/or folders contained within
this collection.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the collection. |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
The offset of the item at which to begin the response. Queries with offset parameter value
|
|
|
The maximum number of items to return per page. |
|
|
N/A |
POST
Comments: Create comment
Adds a comment by the user to a specific file, or
as a reply to an other comment.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
GET
Comments: Get comment
Retrieves the message and metadata for a specific comment, as well
as information on the user who created the comment.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the comment. |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
GET
Comments: List file comments
Retrieves a list of comments for a file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
The maximum number of items to return per page. |
|
|
The offset of the item at which to begin the response. Queries with offset parameter value
|
|
|
N/A |
DELETE
Comments: Remove comment
Permanently deletes a comment.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the comment. |
|
|
N/A |
PUT
Comments: Update comment
Update the message of a comment.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the comment. |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
GET
Device pinners: Get device pin
Retrieves information about an individual device pin.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the device pin |
|
|
N/A |
GET
Device pinners: List enterprise device pins
Retrieves all the device pins within an enterprise.
The user must have admin privileges, and the application
needs the "manage enterprise" scope to make this call.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the enterprise |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The maximum number of items to return per page. |
|
|
The direction to sort results in. This can be either in alphabetical ascending
|
|
|
N/A |
DELETE
Device pinners: Remove device pin
Deletes an individual device pin.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the device pin |
|
|
N/A |
POST
Domain restrictions (User exemptions): Create user exemption from collaboration domain restrictions
Exempts a user from the restrictions set out by the allowed list of domains
for collaborations.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Domain restrictions (User exemptions): Get user exempt from collaboration domain restrictions
Returns a users who has been exempt from the collaboration
domain restrictions.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the exemption to the list. |
|
|
N/A |
GET
Domain restrictions (User exemptions): List users exempt from collaboration domain restrictions
Returns a list of users who have been exempt from the collaboration
domain restrictions.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The maximum number of items to return per page. |
|
|
N/A |
DELETE
Domain restrictions (User exemptions): Remove user from list of users exempt from domain restrictions
Removes a user's exemption from the restrictions set out by the allowed list
of domains for collaborations.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the exemption to the list. |
|
|
N/A |
POST
Domain restrictions for collaborations: Add domain to list of allowed collaboration domains
Creates a new entry in the list of allowed domains to allow
collaboration for.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Domain restrictions for collaborations: Get allowed collaboration domain
Returns a domain that has been deemed safe to create collaborations
for within the current enterprise.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the entry in the list. |
|
|
N/A |
GET
Domain restrictions for collaborations: List allowed collaboration domains
Returns the list domains that have been deemed safe to create collaborations
for within the current enterprise.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The maximum number of items to return per page. |
|
|
N/A |
DELETE
Domain restrictions for collaborations: Remove domain from list of allowed collaboration domains
Removes a domain from the list of domains that have been deemed safe to create
collaborations for within the current enterprise.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the entry in the list. |
|
|
N/A |
GET
Downloads: Download file
Returns the contents of a file in binary format.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
The byte range of the content to download. The format bytes={start_byte}-{end_byte} can be used to specify
|
|
|
The URL, and optional password, for the shared link of this item. This header can be used to access items that have not been
Use the format shared_link=[link] or if a password is required then
This header can be used on the file or folder shared, as well as on any files
|
|
|
The file version to download |
|
|
An 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.
|
|
|
N/A |
POST
Email aliases: Create email alias
Adds a new email alias to a user account..
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the user. |
|
|
N/A |
GET
Email aliases: List user's email aliases
Retrieves all email aliases for a user. The collection
does not include the primary login for the user.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the user. |
|
|
N/A |
DELETE
Email aliases: Remove email alias
Removes an email alias from a user.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the user. |
|
|
The ID of the email alias. |
|
|
N/A |
UNKNOWN
Events: Get events long poll endpoint (OPTIONS)
Returns a list of real-time servers that can be used for long-polling updates
to the event stream.
Long polling is the concept where a HTTP request is kept open until the
server sends a response, then repeating the process over and over to receive
updated responses.
Long polling the event stream can only be used for user events, not for
enterprise events.
To use long polling, first use this endpoint to retrieve a list of long poll
URLs. Next, make a long poll request to any of the provided URLs.
When an event occurs in monitored account a response with the value
new_changewill be sent. The response contains no other details as
it only serves as a prompt to take further action such as sending a
request to the events endpoint with the last known
stream_position.
After the server sends this response it closes the connection. You must now
repeat the long poll process to begin listening for events again.
If no events occur for a while and the connection times out you will
receive a response with the value reconnect. When you receive this response
you’ll make another call to this endpoint to restart the process.
If you receive no events in retry_timeout seconds then you will need to
make another request to the real-time server (one of the URLs in the response
for this endpoint). This might be necessary due to network errors.
Finally, if you receive a max_retries error when making a request to the
real-time server, you should start over by making a call to this endpoint
first.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Events: List user and enterprise events
Returns up to a year of past events for a given user
or for the entire enterprise.
By default this returns events for the authenticated user. To retrieve events
for the entire enterprise, set the stream_type to admin_logs_streaming
for live monitoring of new events, or admin_logs for querying across
historical events. The user making the API call will
need to have admin privileges, and the application will need to have the
scope manage enterprise properties checked.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Defines the type of events that are returned all returns everything for a user and is the default
requires the user making the API call to have admin permissions. This
|
|
|
The location in the event stream to start receiving events from. now will return an empty list events and
|
|
|
Limits the number of events returned Note: Sometimes, the events less than the limit requested can be returned
|
|
|
A comma-separated list of events to filter by. This can only be used when
|
|
|
The lower bound date and time to return events for. This can only be used
|
|
|
The upper bound date and time to return events for. This can only be used
|
|
|
N/A |
POST
File requests: Copy file request
Copies an existing file request that is already present on one folder,
and applies it to another folder.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a file request. The ID for any file request can be determined
|
|
|
N/A |
DELETE
File requests: Delete file request
Deletes a file request permanently.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a file request. The ID for any file request can be determined
|
|
|
N/A |
GET
File requests: Get file request
Retrieves the information about a file request.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a file request. The ID for any file request can be determined
|
|
|
N/A |
PUT
File requests: Update file request
Updates a file request. This can be used to activate or
deactivate a file request.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a file request. The ID for any file request can be determined
|
|
|
Ensures this item hasn't recently changed before
Pass in the item's last observed etag value
|
|
|
N/A |
GET
File version legal holds: Get file version legal hold
Retrieves information about the legal hold policies
assigned to a file version.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the file version legal hold |
|
|
N/A |
GET
File version legal holds: List file version legal holds
Get 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_holdAPI 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.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the legal hold policy to get the file version legal
|
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The maximum number of items to return per page. |
|
|
N/A |
GET
File version retentions: Get retention on file
Returns information about a file version retention.
Note:
File retention API is now deprecated.
To get information about files and file versions under retention,
see files under retention or file versions under retention endpoints.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the file version retention |
|
|
N/A |
GET
File version retentions: List file version retentions
Retrieves all file version retentions for the given enterprise.
Note:
File retention API is now deprecated.
To get information about files and file versions under retention,
see files under retention or file versions under retention endpoints.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Filters results by files with this ID. |
|
|
Filters results by file versions with this ID. |
|
|
Filters results by the retention policy with this ID. |
|
|
Filters results by the retention policy with this disposition
|
|
|
Filters results by files that will have their disposition
|
|
|
Filters results by files that will have their disposition
|
|
|
The maximum number of items to return per page. |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
N/A |
GET
File versions: Get file version
Retrieve a specific version of a file.
Versions are only tracked for Box users with premium accounts.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
The ID of the file version |
|
|
N/A |
GET
File versions: List all file versions
Retrieve a list of the past versions for a file.
Versions are only tracked by Box users with premium accounts. To fetch the ID
of the current version of a file, use the GET /file/:id API.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
The maximum number of items to return per page. |
|
|
The offset of the item at which to begin the response. Queries with offset parameter value
|
|
|
N/A |
POST
File versions: Promote file version
Promote a specific version of a file.
If previous versions exist, this method can be used to
promote one of the older versions to the top of the version history.
This creates a new copy of the old version and puts it at the
top of the versions history. The file will have the exact same contents
as the older version, with the the same hash digest, etag, and
name as the original.
Other properties such as comments do not get updated to their
former values.
Don't use this endpoint to restore Box Notes,
as it works with file formats such as PDF, DOC,
PPTX or similar.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
DELETE
File versions: Remove file version
Move a file version to the trash.
Versions are only tracked for Box users with premium accounts.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
The ID of the file version |
|
|
Ensures this item hasn't recently changed before
Pass in the item's last observed etag value
|
|
|
N/A |
PUT
File versions: Restore file version
Restores a specific version of a file after it was deleted.
Don't use this endpoint to restore Box Notes,
as it works with file formats such as PDF, DOC,
PPTX or similar.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
The ID of the file version |
|
|
N/A |
POST
Files: Copy file
Creates a copy of a file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
DELETE
Files: Delete file
Deletes a file, either permanently or by moving it to
the trash.
The the enterprise settings determine whether the item will
be permanently deleted from Box or moved to the trash.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
Ensures this item hasn't recently changed before
Pass in the item's last observed etag value
|
|
|
N/A |
GET
Files: Get file information
Retrieves the details about a file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
Additionally this field can be used to query any metadata
|
|
|
Ensures an item is only returned if it has changed. Pass in the item's last observed etag value
|
|
|
The URL, and optional password, for the shared link of this item. This header can be used to access items that have not been
Use the format shared_link=[link] or if a password is required then
This header can be used on the file or folder shared, as well as on any files
|
|
|
A header required to request specific representations
The general format for these representations is
For example, to request a png representation in 32x32
x-rep-hints: [jpg?dimensions=32x32][jpg?dimensions=64x64] Additionally, a text representation is available for all
x-rep-hints: [extracted_text] |
|
|
N/A |
GET
Files: Get file thumbnail
Retrieves a thumbnail, or smaller image representation, of a file.
Sizes of 32x32,64x64, 128x128, and 256x256 can be returned in
the .png format and sizes of 32x32, 160x160, and 320x320
can be returned in the .jpg format.
Thumbnails can be generated for the image and video file formats listed
[found on our community site][1].
[1]: https://community.box.com/t5/Migrating-and-Previewing-Content/File-Types-and-Fonts-Supported-in-Box-Content-Preview/ta-p/327
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
The file format for the thumbnail |
|
|
The minimum height of the thumbnail |
|
|
The minimum width of the thumbnail |
|
|
The maximum height of the thumbnail |
|
|
The maximum width of the thumbnail |
|
|
N/A |
UNKNOWN
Files: Preflight check before upload (OPTIONS)
Performs a check to verify that a file will be accepted by Box
before you upload the entire file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
PUT
Files: Update file
Updates a file. This can be used to rename or move a file,
create a shared link, or lock a file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
Ensures this item hasn't recently changed before
Pass in the item's last observed etag value
|
|
|
N/A |
POST
Folder Locks: Create folder lock
Creates a folder lock on a folder, preventing it from being moved and/or
deleted.
You must be authenticated as the owner or co-owner of the folder to
use this endpoint.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
DELETE
Folder Locks: Delete folder lock
Deletes a folder lock on a given folder.
You must be authenticated as the owner or co-owner of the folder to
use this endpoint.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the folder lock. |
|
|
N/A |
GET
Folder Locks: List folder locks
Retrieves folder lock details for a given folder.
You must be authenticated as the owner or co-owner of the folder to
use this endpoint.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
N/A |
POST
Folders: Copy folder
Creates a copy of a folder within a destination folder.
The original folder will not be changed.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier of the folder to copy. The ID for any folder can be determined
The root folder with the ID 0 can not be copied. |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
POST
Folders: Create folder
Creates a new empty folder within the specified parent folder.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
DELETE
Folders: Delete folder
Deletes a folder, either permanently or by moving it to
the trash.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
Ensures this item hasn't recently changed before
Pass in the item's last observed etag value
|
|
|
Delete a folder that is not empty by recursively deleting the
|
|
|
N/A |
GET
Folders: Get folder information
Retrieves details for a folder, including the first 100 entries
in the folder.
Passing sort, direction, offset, and limit
parameters in query allows you to manage the
list of returned
folder items.
To fetch more items within the folder, use the
Get items in a folder endpoint.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
Additionally this field can be used to query any metadata
|
|
|
Ensures an item is only returned if it has changed. Pass in the item's last observed etag value
|
|
|
The URL, and optional password, for the shared link of this item. This header can be used to access items that have not been
Use the format shared_link=[link] or if a password is required then
This header can be used on the file or folder shared, as well as on any files
|
|
|
Defines the second attribute by which items
The folder type affects the way the items
Standard folder:
Root folder:
(the folder with an id of 0).
to the associated folder visible to
|
|
|
The direction to sort results in. This can be either in alphabetical ascending
|
|
|
The offset of the item at which to begin the response. Queries with offset parameter value
|
|
|
The maximum number of items to return per page. |
|
|
N/A |
GET
Folders: List items in folder
Retrieves a page of items in a folder. These items can be files,
folders, and web links.
To request more information about the folder itself, like its size,
use the Get a folder endpoint instead.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
Additionally this field can be used to query any metadata
|
|
|
Specifies whether to use marker-based pagination instead of
By setting this value to true, the API will return a marker field
|
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The offset of the item at which to begin the response. Queries with offset parameter value
|
|
|
The maximum number of items to return per page. |
|
|
The URL, and optional password, for the shared link of this item. This header can be used to access items that have not been
Use the format shared_link=[link] or if a password is required then
This header can be used on the file or folder shared, as well as on any files
|
|
|
Defines the second attribute by which items
The folder type affects the way the items
Standard folder:
Root folder:
(the folder with an id of 0).
to the associated folder visible to
|
|
|
The direction to sort results in. This can be either in alphabetical ascending
|
|
|
N/A |
PUT
Folders: Update folder
Updates a folder. This can be also be used to move the folder,
create shared links, update collaborations, and more.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
Ensures this item hasn't recently changed before
Pass in the item's last observed etag value
|
|
|
N/A |
POST
Group memberships: Add user to group
Creates a group membership. Only users with
admin-level permissions will be able to use this API.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
GET
Group memberships: Get group membership
Retrieves a specific group membership. Only admins of this
group or users with admin-level permissions will be able to
use this API.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the group membership. |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
GET
Group memberships: List members of group
Retrieves all the members for a group. Only members of this
group or users with admin-level permissions will be able to
use this API.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the group. |
|
|
The maximum number of items to return per page. |
|
|
The offset of the item at which to begin the response. Queries with offset parameter value
|
|
|
N/A |
GET
Group memberships: List user's groups
Retrieves all the groups for a user. Only members of this
group or users with admin-level permissions will be able to
use this API.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the user. |
|
|
The maximum number of items to return per page. |
|
|
The offset of the item at which to begin the response. Queries with offset parameter value
|
|
|
N/A |
DELETE
Group memberships: Remove user from group
Deletes a specific group membership. Only admins of this
group or users with admin-level permissions will be able to
use this API.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the group membership. |
|
|
N/A |
PUT
Group memberships: Update group membership
Updates a user's group membership. Only admins of this
group or users with admin-level permissions will be able to
use this API.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the group membership. |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
POST
Groups: Create group
Creates a new group of users in an enterprise. Only users with admin
permissions can create new groups.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
GET
Groups: Get group
Retrieves information about a group. Only members of this
group or users with admin-level permissions will be able to
use this API.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the group. |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
GET
Groups: List groups for enterprise
Retrieves all of the groups for a given enterprise. The user
must have admin permissions to inspect enterprise's groups.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Limits the results to only groups whose name starts
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
The maximum number of items to return per page. |
|
|
The offset of the item at which to begin the response. Queries with offset parameter value
|
|
|
N/A |
DELETE
Groups: Remove group
Permanently deletes a group. Only users with
admin-level permissions will be able to use this API.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the group. |
|
|
N/A |
PUT
Groups: Update group
Updates a specific group. Only admins of this
group or users with admin-level permissions will be able to
use this API.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the group. |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
POST
Integration mappings: Create Slack integration mapping
Creates a Slack integration mapping
by mapping a Slack channel to a Box item.
You need Admin or Co-Admin role to
use this endpoint.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
DELETE
Integration mappings: Delete Slack integration mapping
Deletes a Slack integration mapping.
You need Admin or Co-Admin role to
use this endpoint.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
An ID of an integration mapping |
|
|
N/A |
GET
Integration mappings: List Slack integration mappings
Lists Slack integration mappings in a users' enterprise.
You need Admin or Co-Admin role to
use this endpoint.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The maximum number of items to return per page. |
|
|
Mapped item type, for which the mapping should be returned |
|
|
ID of the mapped item, for which the mapping should be returned |
|
|
Box item ID, for which the mappings should be returned |
|
|
Box item type, for which the mappings should be returned |
|
|
Whether the mapping has been manually created |
|
|
N/A |
PUT
Integration mappings: Update Slack integration mapping
Updates a Slack integration mapping.
Supports updating the Box folder ID and options.
You need Admin or Co-Admin role to
use this endpoint.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
An ID of an integration mapping |
|
|
N/A |
POST
Invites: Create user invite
Invites an existing external user to join an enterprise.
The existing user can not be part of another enterprise and
must already have a Box account. Once invited, the user will receive an
email and are prompted to accept the invitation within the
Box web application.
This method requires the "Manage An Enterprise" scope enabled for
the application, which can be enabled within the developer console.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
GET
Invites: Get user invite status
Returns the status of a user invite.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of an invite. |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
POST
Legal hold policies: Create legal hold policy
Create a new legal hold policy.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Legal hold policies: Get legal hold policy
Retrieve a legal hold policy.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the legal hold policy |
|
|
N/A |
GET
Legal hold policies: List all legal hold policies
Retrieves a list of legal hold policies that belong to
an enterprise.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Limits results to policies for which the names start with
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The maximum number of items to return per page. |
|
|
N/A |
DELETE
Legal hold policies: Remove legal hold policy
Delete an existing legal hold policy.
This is an asynchronous process. The policy will not be
fully deleted yet when the response returns.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the legal hold policy |
|
|
N/A |
PUT
Legal hold policies: Update legal hold policy
Update legal hold policy.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the legal hold policy |
|
|
N/A |
POST
Legal hold policy assignments: Assign legal hold policy
Assign a legal hold to a file, file version, folder, or user.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Legal hold policy assignments: Get legal hold policy assignment
Retrieve a legal hold policy assignment.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the legal hold policy assignment |
|
|
N/A |
GET
Legal hold policy assignments: List files with current file versions for legal hold policy assignment
Get 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.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the legal hold policy assignment |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The maximum number of items to return per page. |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
GET
Legal hold policy assignments: List legal hold policy assignments
Retrieves a list of items a legal hold policy has been assigned to.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the legal hold policy |
|
|
Filters the results by the type of item the
|
|
|
Filters the results by the ID of item the
|
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The maximum number of items to return per page. |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
GET
Legal hold policy assignments: List previous file versions for legal hold policy assignment
Get a list of previous file versions for a legal hold
assignment.
In some cases you may only need the latest file versions instead. In these
cases, use the GET /legal_hold_policy_assignments/:id/files_on_hold API
instead to return any current (latest) versions of a file for this legal hold
policy assignment.
Due to ongoing re-architecture efforts this API might not return all files
held for this policy ID. Instead, this API will only return past file versions
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.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the legal hold policy assignment |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The maximum number of items to return per page. |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
DELETE
Legal hold policy assignments: Unassign legal hold policy
Remove a legal hold from an item.
This is an asynchronous process. The policy will not be
fully removed yet when the response returns.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the legal hold policy assignment |
|
|
N/A |
POST
Metadata cascade policies: Create metadata cascade policy
Creates a new metadata cascade policy that applies a given
metadata template to a given folder and automatically
cascades it down to any files within that folder.
In order for the policy to be applied a metadata instance must first
be applied to the folder the policy is to be applied to.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
POST
Metadata cascade policies: Force-apply metadata cascade policy to folder
Force the metadata on a folder with a metadata cascade policy to be applied to
all of its children. This can be used after creating a new cascade policy to
enforce the metadata to be cascaded down to all existing files within that
folder.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the cascade policy to force-apply. |
|
|
N/A |
GET
Metadata cascade policies: Get metadata cascade policy
Retrieve a specific metadata cascade policy assigned to a folder.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the metadata cascade policy. |
|
|
N/A |
GET
Metadata cascade policies: List metadata cascade policies
Retrieves a list of all the metadata cascade policies
that are applied to a given folder. This can not be used on the root
folder with ID 0.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Specifies which folder to return policies for. This can not be used on the
|
|
|
The ID of the enterprise ID for which to find metadata
|
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The offset of the item at which to begin the response. Queries with offset parameter value
|
|
|
N/A |
DELETE
Metadata cascade policies: Remove metadata cascade policy
Deletes a metadata cascade policy.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the metadata cascade policy. |
|
|
N/A |
POST
Metadata instances (Files): Create metadata instance on file
Applies an instance of a metadata template to a file.
In most cases only values that are present in the metadata template
will be accepted, except for the global.properties template which accepts
any key-value pair.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
The scope of the metadata template |
|
|
The name of the metadata template |
|
|
N/A |
GET
Metadata instances (Files): Get metadata instance on file
Retrieves the instance of a metadata template that has been applied to a
file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
The scope of the metadata template |
|
|
The name of the metadata template |
|
|
N/A |
GET
Metadata instances (Files): List metadata instances on file
Retrieves all metadata for a given file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
N/A |
DELETE
Metadata instances (Files): Remove metadata instance from file
Deletes a piece of file metadata.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
The scope of the metadata template |
|
|
The name of the metadata template |
|
|
N/A |
PUT
Metadata instances (Files): Update metadata instance on file
Updates a piece of metadata on a file.
The metadata instance can only be updated if the template has already been
applied to the file before. When editing metadata, only values that match
the metadata template schema will be accepted.
The update is applied atomically. If any errors occur during the
application of the operations, the metadata instance will not be changed.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
The scope of the metadata template |
|
|
The name of the metadata template |
|
|
N/A |
POST
Metadata instances (Folders): Create metadata instance on folder
Applies an instance of a metadata template to a folder.
In most cases only values that are present in the metadata template
will be accepted, except for the global.properties template which accepts
any key-value pair.
To display the metadata template in the Box web app the enterprise needs to be
configured to enable Cascading Folder Level Metadata for the user in the
admin console.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
The scope of the metadata template |
|
|
The name of the metadata template |
|
|
N/A |
GET
Metadata instances (Folders): Get metadata instance on folder
Retrieves the instance of a metadata template that has been applied to a
folder. This can not be used on the root folder with ID 0.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
The scope of the metadata template |
|
|
The name of the metadata template |
|
|
N/A |
GET
Metadata instances (Folders): List metadata instances on folder
Retrieves all metadata for a given folder. This can not be used on the root
folder with ID 0.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
N/A |
DELETE
Metadata instances (Folders): Remove metadata instance from folder
Deletes a piece of folder metadata.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
The scope of the metadata template |
|
|
The name of the metadata template |
|
|
N/A |
PUT
Metadata instances (Folders): Update metadata instance on folder
Updates a piece of metadata on a folder.
The metadata instance can only be updated if the template has already been
applied to the folder before. When editing metadata, only values that match
the metadata template schema will be accepted.
The update is applied atomically. If any errors occur during the
application of the operations, the metadata instance will not be changed.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
The scope of the metadata template |
|
|
The name of the metadata template |
|
|
N/A |
POST
Metadata templates: Create metadata template
Creates a new metadata template that can be applied to
files and folders.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Metadata templates: Find metadata template by instance ID
Finds a metadata template by searching for the ID of an instance of the
template.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of an instance of the metadata template to find. |
|
|
N/A |
GET
Metadata templates: Get metadata template by ID
Retrieves a metadata template by its ID.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the template |
|
|
N/A |
GET
Metadata templates: Get metadata template by name
Retrieves a metadata template by its scope and templateKey values.
To find the scope and templateKey for a template, list all templates for
an enterprise or globally, or list all templates applied to a file or folder.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The scope of the metadata template |
|
|
The name of the metadata template |
|
|
N/A |
GET
Metadata templates: List all global metadata templates
Used to retrieve all generic, global metadata templates available to all
enterprises using Box.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The maximum number of items to return per page. |
|
|
N/A |
GET
Metadata templates: List all metadata templates for enterprise
Used to retrieve all metadata templates created to be used specifically within
the user's enterprise
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The maximum number of items to return per page. |
|
|
N/A |
DELETE
Metadata templates: Remove metadata template
Delete a metadata template and its instances.
This deletion is permanent and can not be reversed.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The scope of the metadata template |
|
|
The name of the metadata template |
|
|
N/A |
PUT
Metadata templates: Update metadata template
Updates a metadata template.
The metadata template can only be updated if the template
already exists.
The update is applied atomically. If any errors occur during the
application of the operations, the metadata template will not be changed.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The scope of the metadata template |
|
|
The name of the metadata template |
|
|
N/A |
GET
Recent items: List recently accessed items
Returns information about the recent items accessed
by a user, either in the last 90 days or up to the last
1000 items accessed.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
The maximum number of items to return per page. |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
N/A |
POST
Retention policies: Create retention policy
Creates a retention policy.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
DELETE
Retention policies: Delete retention policy
Permanently deletes a retention policy.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the retention policy. |
|
|
N/A |
GET
Retention policies: Get retention policy
Retrieves a retention policy.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the retention policy. |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
GET
Retention policies: List retention policies
Retrieves all of the retention policies for an enterprise.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Filters results by a case sensitive prefix of the name of
|
|
|
Filters results by the type of retention policy. |
|
|
Filters results by the ID of the user who created policy. |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
The maximum number of items to return per page. |
|
|
Defines the position marker at which to begin returning results. This is
|
|
|
N/A |
PUT
Retention policies: Update retention policy
Updates a retention policy.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the retention policy. |
|
|
N/A |
POST
Retention policy assignments: Assign retention policy
Assigns a retention policy to an item.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Retention policy assignments: Get file versions under retention
Returns a list of file versions under retention for a retention policy
assignment.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the retention policy assignment. |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The maximum number of items to return per page. |
|
|
N/A |
GET
Retention policy assignments: Get files under retention
Returns a list of files under retention for a retention policy assignment.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the retention policy assignment. |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The maximum number of items to return per page. |
|
|
N/A |
GET
Retention policy assignments: Get retention policy assignment
Retrieves a retention policy assignment
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the retention policy assignment. |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
GET
Retention policy assignments: List retention policy assignments
Returns a list of all retention policy assignments associated with a specified
retention policy.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the retention policy. |
|
|
The type of the retention policy assignment to retrieve. |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
Defines the position marker at which to begin returning results. This is
|
|
|
The maximum number of items to return per page. |
|
|
N/A |
DELETE
Retention policy assignments: Remove retention policy assignment
Removes a retention policy assignment
applied to content.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the retention policy assignment. |
|
|
N/A |
POST
Search: Query files/folders by metadata
Create a search using SQL-like syntax to return items that match specific
metadata.
By default, this endpoint returns only the most basic info about the items for
which the query matches. To get additional fields for each item, including any
of the metadata, use the fields attribute in the query.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Search: Search for content
Searches for files, folders, web links, and shared files across the
users content or across the entire enterprise.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The string to search for. This query is matched against item names,
This parameter supports a variety of operators to further refine
"" - by wrapping a query in double quotes only exact matches are
We do not support lower case (that is,
This field is required unless the mdfilters parameter is defined. |
|
|
Limits the search results to either the files that the user has
The scope defaults to user_content, which limits the search
The enterprise_content can be requested by an admin through our
|
|
|
Limits the search results to any files that match any of the provided
|
|
|
Limits the search results to any items created within
Date ranges are defined as comma separated RFC3339
If the the start date is omitted (,2014-05-17T13:35:01-07:00)
If the end date is omitted (2014-05-15T13:35:01-07:00,) the
|
|
|
Limits the search results to any items updated within
Date ranges are defined as comma separated RFC3339
If the start date is omitted (,2014-05-17T13:35:01-07:00)
If the end date is omitted (2014-05-15T13:35:01-07:00,) the
|
|
|
Limits the search results to any items with a size within
Size ranges are defined as comma separated list of a lower
The upper and lower bound can be omitted to create open ranges. |
|
|
Limits the search results to any items that are owned
The items still need to be owned or shared with
To search across an entire enterprise, we recommend using the
|
|
|
Limits the search results to any items that have been updated
The items still need to be owned or shared with
This feature only searches back to the last 10 versions of an item. |
|
|
Limits the search results to items within the given
Search results will also include items within any subfolders
The folders still need to be owned or shared with
To search across an entire enterprise, we recommend using the
|
|
|
Limits the search results to any items that match the search query
Content types are defined as a comma separated lists
name - The name of the item, as defined by its name field.
tags field. |
|
|
Limits the search results to any items of this type. This
file - Limits the search results to files
as bookmarks |
|
|
Determines if the search should look in the trash for items. By default, this API only returns search results for items
trashed_only - Only searches for items currently in the trash
|
|
|
Limits the search results to any items for which the metadata matches the provided filter.
|
|
|
Defines the order in which search results are returned. This API
relevance (default) returns the results sorted by relevance to the
|
|
|
Defines the direction in which search results are ordered. This API
When results are sorted by relevance the ordering is locked to returning
|
|
|
Defines the maximum number of items to return as part of a page of
|
|
|
Defines whether the search results should include any items
When this parameter has been set to true,
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
The offset of the item at which to begin the response. Queries with offset parameter value
|
|
|
Limits the search results to items that were deleted by the given
The trash_content parameter needs to be set to trashed_only. If searching in trash is not performed, an empty result set
If the user does not have access to any files owned by
Data available from 2023-02-01 onwards. |
|
|
Limits the search results to any items deleted within a given
Date ranges are defined as comma separated RFC3339 timestamps. If the the start date is omitted (2014-05-17T13:35:01-07:00),
If the end date is omitted (2014-05-15T13:35:01-07:00),
The trash_content parameter needs to be set to trashed_only. If searching in trash is not performed, then an empty result
Data available from 2023-02-01 onwards. |
|
|
N/A |
POST
Session termination: Create jobs to terminate user group session
Validates the roles and permissions of the group,
and creates asynchronous jobs
to terminate the group's sessions.
Returns the status for the POST request.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
POST
Session termination: Create jobs to terminate users session
Validates the roles and permissions of the user,
and creates asynchronous jobs
to terminate the user's sessions.
Returns the status for the POST request.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
PUT
Shared links (Files): Add shared link to file
Adds a shared link to a file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
Explicitly request the shared_link fields
|
|
|
N/A |
GET
Shared links (Files): Find file for shared link
Returns 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.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Ensures an item is only returned if it has changed. Pass in the item's last observed etag value
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
A header containing the shared link and optional password for the
The format for this header is as follows. shared_link=[link]&shared_link_password=[password] |
|
|
N/A |
GET
Shared links (Files): Get shared link for file
Gets the information for a shared link on a file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
Explicitly request the shared_link fields
|
|
|
N/A |
PUT
Shared links (Files): Remove shared link from file
Removes a shared link from a file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
Explicitly request the shared_link fields
|
|
|
N/A |
PUT
Shared links (Files): Update shared link on file
Updates a shared link on a file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
Explicitly request the shared_link fields
|
|
|
N/A |
PUT
Shared links (Folders): Add shared link to folder
Adds a shared link to a folder.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
Explicitly request the shared_link fields
|
|
|
N/A |
GET
Shared links (Folders): Find folder for shared link
Return 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.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Ensures an item is only returned if it has changed. Pass in the item's last observed etag value
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
A header containing the shared link and optional password for the
The format for this header is as follows. shared_link=[link]&shared_link_password=[password] |
|
|
N/A |
GET
Shared links (Folders): Get shared link for folder
Gets the information for a shared link on a folder.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
Explicitly request the shared_link fields
|
|
|
N/A |
PUT
Shared links (Folders): Remove shared link from folder
Removes a shared link from a folder.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
Explicitly request the shared_link fields
|
|
|
N/A |
PUT
Shared links (Folders): Update shared link on folder
Updates a shared link on a folder.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
Explicitly request the shared_link fields
|
|
|
N/A |
PUT
Shared links (Web Links): Add shared link to web link
Adds a shared link to a web link.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the web link. |
|
|
Explicitly request the shared_link fields
|
|
|
N/A |
GET
Shared links (Web Links): Find web link for shared link
Returns 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.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Ensures an item is only returned if it has changed. Pass in the item's last observed etag value
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
A header containing the shared link and optional password for the
The format for this header is as follows. shared_link=[link]&shared_link_password=[password] |
|
|
N/A |
GET
Shared links (Web Links): Get shared link for web link
Gets the information for a shared link on a web link.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the web link. |
|
|
Explicitly request the shared_link fields
|
|
|
N/A |
PUT
Shared links (Web Links): Remove shared link from web link
Removes a shared link from a web link.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the web link. |
|
|
Explicitly request the shared_link fields
|
|
|
N/A |
PUT
Shared links (Web Links): Update shared link on web link
Updates a shared link on a web link.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the web link. |
|
|
Explicitly request the shared_link fields
|
|
|
N/A |
POST
Shield information barrier reports: Create shield information barrier report
Creates a shield information barrier report for a given barrier.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Shield information barrier reports: Get shield information barrier report by ID
Retrieves a shield information barrier report by its ID.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the shield information barrier Report. |
|
|
N/A |
GET
Shield information barrier reports: List shield information barrier reports
Lists shield information barrier reports.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the shield information barrier. |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The maximum number of items to return per page. |
|
|
N/A |
POST
Shield information barrier segment members: Create shield information barrier segment member
Creates a new shield information barrier segment member.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
DELETE
Shield information barrier segment members: Delete shield information barrier segment member by ID
Deletes a shield information barrier
segment member based on provided ID.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the shield information barrier segment Member. |
|
|
N/A |
GET
Shield information barrier segment members: Get shield information barrier segment member by ID
Retrieves a shield information barrier
segment member by its ID.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the shield information barrier segment Member. |
|
|
N/A |
GET
Shield information barrier segment members: List shield information barrier segment members
Lists shield information barrier segment members
based on provided segment IDs.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the shield information barrier segment. |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The maximum number of items to return per page. |
|
|
N/A |
POST
Shield information barrier segment restrictions: Create shield information barrier segment restriction
Creates a shield information barrier
segment restriction object.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
DELETE
Shield information barrier segment restrictions: Delete shield information barrier segment restriction by ID
Delete shield information barrier segment restriction
based on provided ID.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the shield information barrier segment Restriction. |
|
|
N/A |
GET
Shield information barrier segment restrictions: Get shield information barrier segment restriction by ID
Retrieves a shield information barrier segment
restriction based on provided ID.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the shield information barrier segment Restriction. |
|
|
N/A |
GET
Shield information barrier segment restrictions: List shield information barrier segment restrictions
Lists shield information barrier segment restrictions
based on provided segment ID.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the shield information barrier segment. |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The maximum number of items to return per page. |
|
|
N/A |
POST
Shield information barrier segments: Create shield information barrier segment
Creates a shield information barrier segment.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
DELETE
Shield information barrier segments: Delete shield information barrier segment
Deletes the shield information barrier segment
based on provided ID.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the shield information barrier segment. |
|
|
N/A |
GET
Shield information barrier segments: Get shield information barrier segment with specified ID
Retrieves shield information barrier segment based on provided ID..
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the shield information barrier segment. |
|
|
N/A |
GET
Shield information barrier segments: List shield information barrier segments
Retrieves a list of shield information barrier segment objects
for the specified Information Barrier ID.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the shield information barrier. |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The maximum number of items to return per page. |
|
|
N/A |
PUT
Shield information barrier segments: Update shield information barrier segment with specified ID
Updates the shield information barrier segment based on provided ID..
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the shield information barrier segment. |
|
|
N/A |
POST
Shield information barriers: Add changed status of shield information barrier with specified ID
Change status of shield information barrier with the specified ID.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
POST
Shield information barriers: Create shield information barrier
Creates a shield information barrier to
separate individuals/groups within the same
firm and prevents confidential information passing between them.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Shield information barriers: Get shield information barrier with specified ID
Get shield information barrier based on provided ID.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the shield information barrier. |
|
|
N/A |
GET
Shield information barriers: List shield information barriers
Retrieves a list of shield information barrier objects
for the enterprise of JWT.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Defines the position marker at which to begin returning results. This is
|
|
|
The maximum number of items to return per page. |
|
|
N/A |
POST
Sign requests: Cancel Box Sign request
Cancels a sign request.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the signature request |
|
|
N/A |
POST
Sign requests: Create Box Sign request
Creates a signature request. This involves preparing a document for signing and
sending the signature request to signers.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Sign requests: Get Box Sign request by ID
Gets a sign request by ID.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the signature request |
|
|
N/A |
GET
Sign requests: List Box Sign requests
Gets signature requests created by a user. If the sign_files and/or
parent_folderare deleted, the signature request will not return in the list.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The maximum number of items to return per page. |
|
|
N/A |
POST
Sign requests: Resend Box Sign request
Resends a signature request email to all outstanding signers.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the signature request |
|
|
N/A |
GET
Sign templates: Get Box Sign template by ID
Fetches details of a specific Box Sign template.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of a Box Sign template. |
|
|
N/A |
GET
Sign templates: List Box Sign templates
Gets Box Sign templates created by a user.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The maximum number of items to return per page. |
|
|
N/A |
POST
Skills: Create Box Skill cards on file
Applies one or more Box Skills metadata cards to a file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
N/A |
GET
Skills: List Box Skill cards on file
List the Box Skills metadata cards that are attached to a file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
N/A |
DELETE
Skills: Remove Box Skill cards from file
Removes any Box Skills cards metadata from a file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
N/A |
PUT
Skills: Update Box Skill cards on file
Updates one or more Box Skills metadata cards to a file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
N/A |
PUT
Skills: Update all Box Skill cards on file
An alternative method that can be used to overwrite and update all Box Skill
metadata cards on a file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the skill to apply this metadata for. |
|
|
N/A |
GET
Standard and Zones Storage Policies: Get storage policy
Fetches a specific storage policy.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the storage policy. |
|
|
N/A |
GET
Standard and Zones Storage Policies: List storage policies
Fetches all the storage policies in the enterprise.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The maximum number of items to return per page. |
|
|
N/A |
POST
Standard and Zones Storage Policy Assignments: Assign storage policy
Creates a storage policy assignment for an enterprise or user.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Standard and Zones Storage Policy Assignments: Get storage policy assignment
Fetches a specific storage policy assignment.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the storage policy assignment. |
|
|
N/A |
GET
Standard and Zones Storage Policy Assignments: List storage policy assignments
Fetches all the storage policy assignment for an enterprise or user.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The target type to return assignments for |
|
|
The ID of the user or enterprise to return assignments for |
|
|
N/A |
DELETE
Standard and Zones Storage Policy Assignments: Unassign storage policy
Delete a storage policy assignment.
Deleting a storage policy assignment on a user
will have the user inherit the enterprise's default
storage policy.
There is a rate limit for calling this endpoint of only
twice per user in a 24 hour time frame.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the storage policy assignment. |
|
|
N/A |
PUT
Standard and Zones Storage Policy Assignments: Update storage policy assignment
Updates a specific storage policy assignment.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the storage policy assignment. |
|
|
N/A |
POST
Task assignments: Assign task
Assigns a task to a user.
A task can be assigned to more than one user by creating multiple
assignments.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Task assignments: Get task assignment
Retrieves information about a task assignment.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the task assignment. |
|
|
N/A |
GET
Task assignments: List task assignments
Lists all of the assignments for a given task.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the task. |
|
|
N/A |
DELETE
Task assignments: Unassign task
Deletes a specific task assignment.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the task assignment. |
|
|
N/A |
PUT
Task assignments: Update task assignment
Updates a task assignment. This endpoint can be
used to update the state of a task assigned to a user.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the task assignment. |
|
|
N/A |
POST
Tasks: Create task
Creates a single task on a file. This task is not assigned to any user and
will need to be assigned separately.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Tasks: Get task
Retrieves information about a specific task.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the task. |
|
|
N/A |
GET
Tasks: List tasks on file
Retrieves a list of all the tasks for a file. This
endpoint does not support pagination.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
N/A |
DELETE
Tasks: Remove task
Removes a task from a file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the task. |
|
|
N/A |
PUT
Tasks: Update task
Updates a task. This can be used to update a task's configuration, or to
update its completion state.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the task. |
|
|
N/A |
POST
Terms of service user statuses: Create terms of service status for new user
Sets the status for a terms of service for a user.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Terms of service user statuses: List terms of service user statuses
Retrieves an overview of users and their status for a
terms of service, including Whether they have accepted
the terms and when.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the terms of service. |
|
|
Limits results to the given user ID. |
|
|
N/A |
PUT
Terms of service user statuses: Update terms of service status for existing user
Updates the status for a terms of service for a user.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the terms of service status. |
|
|
N/A |
POST
Terms of service: Create terms of service
Creates a terms of service for a given enterprise
and type of user.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Terms of service: Get terms of service
Fetches a specific terms of service.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the terms of service. |
|
|
N/A |
GET
Terms of service: List terms of services
Returns the current terms of service text and settings
for the enterprise.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Limits the results to the terms of service of the given type. |
|
|
N/A |
PUT
Terms of service: Update terms of service
Updates a specific terms of service.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the terms of service. |
|
|
N/A |
PUT
Transfer folders: Transfer owned folders
Move all of the items (files, folders and workflows) owned by a user into
another user's account
Only the root folder (0) can be transferred.
Folders can only be moved across users by users with administrative
permissions.
All existing shared links and folder-level collaborations are transferred
during the operation. Please note that while collaborations at the individual
file-level are transferred during the operation, the collaborations are
deleted when the original user is deleted.
This call will be performed synchronously which might lead to a slow response
when the source user has a large number of items in all of its folders.
If the destination path has a metadata cascade policy attached to any of
the parent folders, a metadata cascade operation will be kicked off
asynchronously.
There is currently no way to check for when this operation is finished.
The destination folder's name will be in the format `{User}'s Files and
Folders, where {User}` is the display name of the user.
To make this API call your application will need to have the "Read and write
all files and folders stored in Box" scope enabled.
Please make sure the destination user has access to Relay or Relay Lite,
and has access to the files and folders involved in the workflows being
transferred.
Admins will receive an email when the operation is completed.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the user. |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
Determines if users should receive email notification
|
|
|
N/A |
GET
Trashed files: Get trashed file
Retrieves a file that has been moved to the trash.
Please note that only if the file itself has been moved to the
trash can it be retrieved with this API call. If instead one of
its parent folders was moved to the trash, only that folder
can be inspected using the
GET /folders/:id/trashAPI.
To list all items that have been moved to the trash, please
use the GET /folders/trash/items
API.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
DELETE
Trashed files: Permanently remove file
Permanently deletes a file that is in the trash.
This action cannot be undone.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
N/A |
POST
Trashed files: Restore file
Restores a file that has been moved to the trash.
An optional new parent ID can be provided to restore the file to in case the
original folder has been deleted.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
GET
Trashed folders: Get trashed folder
Retrieves a folder that has been moved to the trash.
Please note that only if the folder itself has been moved to the
trash can it be retrieved with this API call. If instead one of
its parent folders was moved to the trash, only that folder
can be inspected using the
GET /folders/:id/trashAPI.
To list all items that have been moved to the trash, please
use the GET /folders/trash/items
API.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
DELETE
Trashed folders: Permanently remove folder
Permanently deletes a folder that is in the trash.
This action cannot be undone.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
N/A |
POST
Trashed folders: Restore folder
Restores a folder that has been moved to the trash.
An optional new parent ID can be provided to restore the folder to in case the
original folder has been deleted.
During this operation, part of the file tree will be locked, mainly
the source folder and all of its descendants, as well as the destination
folder.
For the duration of the operation, no other move, copy, delete, or restore
operation can performed on any of the locked folders.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
GET
Trashed items: List trashed items
Retrieves the files and folders that have been moved
to the trash.
Any attribute in the full files or folders objects can be passed
in with the fields parameter to retrieve those specific
attributes that are not returned by default.
This endpoint defaults to use offset-based pagination, yet also supports
marker-based pagination using the marker parameter.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
The maximum number of items to return per page. |
|
|
The offset of the item at which to begin the response. Queries with offset parameter value
|
|
|
Specifies whether to use marker-based pagination instead of
By setting this value to true, the API will return a marker field
|
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The direction to sort results in. This can be either in alphabetical ascending
|
|
|
Defines the second attribute by which items
Items are always sorted by their type first, with
This parameter is not supported when using marker-based pagination. |
|
|
N/A |
GET
Trashed web links: Get trashed web link
Retrieves a web link that has been moved to the trash.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the web link. |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
DELETE
Trashed web links: Permanently remove web link
Permanently deletes a web link that is in the trash.
This action cannot be undone.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the web link. |
|
|
N/A |
POST
Trashed web links: Restore web link
Restores 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.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the web link. |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
POST
Uploads (Chunked): Commit upload session
Close an upload session and create a file from the uploaded chunks.
The actual endpoint URL is returned by the Create upload session
and Get upload session endpoints.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the upload session. |
|
|
The [RFC3230][1] message digest of the whole file. Only SHA1 is supported. The SHA1 digest must be Base64
[1]: https://tools.ietf.org/html/rfc3230 |
|
|
Ensures this item hasn't recently changed before
Pass in the item's last observed etag value
|
|
|
Ensures an item is only returned if it has changed. Pass in the item's last observed etag value
|
|
|
N/A |
POST
Uploads (Chunked): Create upload session
Creates an upload session for a new file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
POST
Uploads (Chunked): Create upload session for existing file
Creates an upload session for an existing file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
N/A |
GET
Uploads (Chunked): Get upload session
Return information about an upload session.
The actual endpoint URL is returned by the Create upload session endpoint.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the upload session. |
|
|
N/A |
GET
Uploads (Chunked): List parts
Return a list of the chunks uploaded to the upload session so far.
The actual endpoint URL is returned by the Create upload session
and Get upload session endpoints.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the upload session. |
|
|
The offset of the item at which to begin the response. Queries with offset parameter value
|
|
|
The maximum number of items to return per page. |
|
|
N/A |
DELETE
Uploads (Chunked): Remove upload session
Abort an upload session and discard all data uploaded.
This cannot be reversed.
The actual endpoint URL is returned by the Create upload session
and Get upload session endpoints.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the upload session. |
|
|
N/A |
PUT
Uploads (Chunked): Upload part of file
Uploads a chunk of a file for an upload session.
The actual endpoint URL is returned by the Create upload session
and Get upload session endpoints.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the upload session. |
|
|
The [RFC3230][1] message digest of the chunk uploaded. Only SHA1 is supported. The SHA1 digest must be base64
To get the value for the SHA digest, use the
[1]: https://tools.ietf.org/html/rfc3230 |
|
|
The byte range of the chunk. Must not overlap with the range of a part already
When providing the value for content-range, remember that: The lower bound of each part's byte range
|
|
|
N/A |
POST
Uploads: Upload file
Uploads a small file to Box. For file sizes over 50MB we recommend
using the Chunk Upload APIs.
The attributes part of the body must come before the
filepart. Requests that do not follow this format when
uploading the file will receive a HTTP 400 error with a
metadata_after_file_contentserror code.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
An optional header containing the SHA1 hash of the file to
|
|
|
N/A |
POST
Uploads: Upload file version
Update a file's content. For file sizes over 50MB we recommend
using the Chunk Upload APIs.
The attributes part of the body must come before the
filepart. Requests that do not follow this format when
uploading the file will receive a HTTP 400 error with a
metadata_after_file_contentserror code.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
Ensures this item hasn't recently changed before
Pass in the item's last observed etag value
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
An optional header containing the SHA1 hash of the file to
|
|
|
N/A |
POST
User avatars: Add or update user avatar
Adds or updates a user avatar.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the user. |
|
|
N/A |
DELETE
User avatars: Delete user avatar
Removes an existing user avatar.
You cannot reverse this operation.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the user. |
|
|
N/A |
GET
User avatars: Get user avatar
Retrieves an image of a the user's avatar.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the user. |
|
|
N/A |
POST
Users: Create user
Creates a new managed user in an enterprise. This endpoint
is only available to users and applications with the right
admin permissions.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
DELETE
Users: Delete user
Deletes a user. By default this will fail if the user
still owns any content. Move their owned content first
before proceeding, or use the force field to delete
the user and their files.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the user. |
|
|
Whether the user will receive email notification of
|
|
|
Whether the user should be deleted even if this user
|
|
|
N/A |
GET
Users: Get current user
Retrieves information about the user who is currently authenticated.
In the case of a client-side authenticated OAuth 2.0 application
this will be the user who authorized the app.
In the case of a JWT, server-side authenticated application
this will be the service account that belongs to the application
by default.
Use the As-User header to change who this API call is made on behalf of.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
GET
Users: Get user
Retrieves information about a user in the enterprise.
The application and the authenticated user need to
have the permission to look up users in the entire
enterprise.
This endpoint also returns a limited set of information
for external users who are collaborated on content
owned by the enterprise for authenticated users with the
right scopes. In this case, disallowed fields will return
null instead.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the user. |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
GET
Users: List enterprise users
Returns a list of all users for the Enterprise along with their user_id,
public_name, and login.
The application and the authenticated user need to
have the permission to look up users in the entire
enterprise.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Limits the results to only users who's name or
For externally managed users, the search term needs
|
|
|
Limits the results to the kind of user specified. all returns every kind of user for whom the
login matches the filter_term exactly. |
|
|
Limits the results to app users with the given
When creating an app user, an
|
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
The offset of the item at which to begin the response. Queries with offset parameter value
|
|
|
The maximum number of items to return per page. |
|
|
Specifies whether to use marker-based pagination instead of
By setting this value to true, the API will return a marker field
|
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
N/A |
PUT
Users: Update user
Updates a managed or app user in an enterprise. This endpoint
is only available to users and applications with the right
admin permissions.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the user. |
|
|
A comma-separated list of attributes to include in the
Be aware that specifying this parameter will have the
|
|
|
N/A |
PUT
Watermarks (Files): Apply watermark to file
Applies or update a watermark on a file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
N/A |
GET
Watermarks (Files): Get watermark on file
Retrieve the watermark for a file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
N/A |
DELETE
Watermarks (Files): Remove watermark from file
Removes the watermark from a file.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represents a file. The ID for any file can be determined
|
|
|
N/A |
PUT
Watermarks (Folders): Apply watermark to folder
Applies or update a watermark on a folder.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
N/A |
GET
Watermarks (Folders): Get watermark for folder
Retrieve the watermark for a folder.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
N/A |
DELETE
Watermarks (Folders): Remove watermark from folder
Removes the watermark from a folder.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
N/A |
POST
Web links: Create web link
Creates a web link object within a folder.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Web links: Get web link
Retrieve information about a web link.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the web link. |
|
|
The URL, and optional password, for the shared link of this item. This header can be used to access items that have not been
Use the format shared_link=[link] or if a password is required then
This header can be used on the file or folder shared, as well as on any files
|
|
|
N/A |
DELETE
Web links: Remove web link
Deletes a web link.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the web link. |
|
|
N/A |
PUT
Web links: Update web link
Updates a web link object.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the web link. |
|
|
N/A |
POST
Webhooks: Create webhook
Creates a webhook.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Webhooks: Get webhook
Retrieves a specific webhook
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the webhook. |
|
|
N/A |
GET
Webhooks: List all webhooks
Returns all defined webhooks for the requesting application.
This API only returns webhooks that are applied to files or folders that are
owned by the authenticated user. This means that an admin can not see webhooks
created by a service account unless the admin has access to those folders, and
vice versa.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
The maximum number of items to return per page. |
|
|
N/A |
DELETE
Webhooks: Remove webhook
Deletes a webhook.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the webhook. |
|
|
N/A |
PUT
Webhooks: Update webhook
Updates a webhook.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the webhook. |
|
|
N/A |
GET
Workflows: List workflows
Returns list of workflows that act on a given folder ID, and
have a flow with a trigger type of WORKFLOW_MANUAL_START.
You application must be authorized to use the Manage Box Relay application
scope within the developer console in to use this endpoint.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent a folder. The ID for any folder can be determined
The root folder of a Box account is
|
|
|
Type of trigger to search for. |
|
|
The maximum number of items to return per page. |
|
|
Defines the position marker at which to begin returning results. This is
This requires usemarker to be set to true. |
|
|
N/A |
POST
Workflows: Starts workflow based on request body
Initiates a flow with a trigger type of WORKFLOW_MANUAL_START.
You application must be authorized to use the Manage Box Relay application
scope within the developer console.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The ID of the workflow. |
|
|
N/A |
POST
Zip Downloads: Create zip download
Creates a request to download multiple files and folders as a single zip
archive file. This API does not return the archive but instead performs all
the checks to ensure that the user has access to all the items, and then
returns a download_url and a status_url that can be used to download the
archive.
The limit for an archive is either the Account's upload limit or
10,000 files, whichever is met first.
Note: Downloading a large file can be
affected by various
factors such as distance, network latency,
bandwidth, and congestion, as well as packet loss
ratio and current server load.
For these reasons we recommend that a maximum ZIP archive
total size does not exceed 25GB.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
N/A |
GET
Zip Downloads: Download zip archive
Returns the contents of a zip archive in binary format. This URL does not
require any form of authentication and could be used in a user's browser to
download the archive to a user's device.
By default, this URL is only valid for a few seconds from the creation of
the request for this archive. Once a download has started it can not be
stopped and resumed, instead a new request for a zip archive would need to
be created.
The URL of this endpoint should not be considered as fixed. Instead, use
the Create zip download API to request to create a
ziparchive, and then follow the download_url field in the response to
this endpoint.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent this zip archive. |
|
|
N/A |
GET
Zip Downloads: Get zip download status
Returns the download status of a zip archive, allowing an application to
inspect the progress of the download as well as the number of items that
might have been skipped.
This endpoint can only be accessed once the download has started.
Subsequently this endpoint is valid for 12 hours from the start of the
download.
The URL of this endpoint should not be considered as fixed. Instead, use
the Create zip download API to request to create a
ziparchive, and then follow the status_url field in the response to
this endpoint.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
N/A |
|
|
N/A |
|
|
N/A |
|
|
The unique identifier that represent this zip archive. |
|
|
N/A |