The Dropbox connector lets you connect to a Dropbox instance and perform the supported operations.
Before using the Dropbox connector, do the following tasks:
roles/secretmanager.viewerroles/secretmanager.secretAccessorA service account is a special type of Google account intended to represent a non-human user that needs to authenticate and be authorized to access data in Google APIs. If you don't have a service account, you must create a service account. The connector and the service account must belong to the same project. For more information, see Creating a service account.
secretmanager.googleapis.com (Secret Manager API)connectors.googleapis.com (Connectors API)To understand how to enable services, see Enabling services.
If these services or permissions have not been enabled for your project previously, you are prompted to enable them when configuring the connector.
A connection is specific to a data source. It means that if you have many data sources, you must create a separate connection for each data source. To create a connection, do the following:
For the list of all the supported regions, see Locations.
Connection names must meet the following criteria:
A node is a unit (or replica) of a connection that processes transactions. More nodes are required to process more transactions for a connection and conversely, fewer nodes are required to process fewer transactions. To understand how the nodes affect your connector pricing, see Pricing for connection nodes. If you don't enter any values, by default the minimum nodes are set to 2 (for better availability) and the maximum nodes are set to 50.
The following authentication types are supported by the dropbox connection:
To understand how to configure these authentication types, see Configure authentication.
Enter the details based on the authentication you want to use.
All the Integration Connectors provide a layer of abstraction for the objects of the connected application. You can access an application's objects only through this abstraction. The abstraction is exposed to you as entities, operations, and actions.
However, it is possible that a connector doesn't support or have any entities, in which case the
Entities list will be empty.
Selecting an entity from the available list, generates a list of
operations available for the entity. For a detailed description of the operations, see the Connectors task's
entity operations.
However, if a connector doesn't support any of the entity operations, such unsupported
operations aren't listed in the Operations list.
Actions list will be empty.
The Dropbox connector can process 18 transaction per second, per node, and throttles any transactions beyond this limit. By default, Integration Connectors allocates 2 nodes (for better availability) for a connection.
For information on the limits applicable to Integration Connectors, see Limits.
This section lists the actions supported by the connector. To understand how to configure the actions, see Action examples.
This action lets you copy a file or folder to a different location in the user's Dropbox.
| Parameter name | Data type | Required | Description |
|---|---|---|---|
| From_Path | String | Yes | Path in the user's Dropbox to be copied or moved. |
| To_Path | String | Yes | Destination path in the user's Dropbox for the copied resource. |
| Autorename | String | No | If there's a conflict, have the Dropbox server try to auto rename the file to avoid the conflict. The default for this field is False. |
| Allow_Ownership_Transfer | String | No | Allow moves by owner even if it would result in an ownership transfer for the content being moved. This does not apply to copies. The default for this field is False. |
| ObjectPathsAggregate | String | No | An aggregate representing the object path. Can also be the name of a #TEMP table. |
For example on how to configure the CopyResource action,
see Action examples.
This action lets you create a folder at a given path.
| Parameter name | Data type | Required | Description |
|---|---|---|---|
| Path | String | Yes | Path in the user's Dropbox to create. |
| AutoRename | Boolean | No | If there's a conflict, have the Dropbox server try to autorename the folder to avoid the conflict. The default value is false. |
| ForceAsync | Boolean | No | Whether to force the create to happen asynchronously. Only available when using ObjectPathsAggregate. The default value is false. |
| ObjectPathsAggregate | String | No | A JSON aggregate representing the paths. Can also be the name of a #TEMP table. |
For example on how to configure the CreateFolder action,
see Action examples.
This action lets you delete the file or folder at a given path. If the path is a folder, all its contents will be deleted too.
| Parameter name | Data type | Required | Description |
|---|---|---|---|
| Path | String | Yes | A unique identifier for the file or folder. |
| ObjectPathsAggregate | String | No | An aggregate representing the object path. Can also be the name of a #TEMP table. |
For example on how to configure the DeleteResource action,
see Action examples.
Move a file or folder to a different location in the user's Dropbox. If the source path is a folder all its contents will be moved. Note that we do not currently support case-only renaming.
| Parameter name | Data type | Required | Description |
|---|---|---|---|
| From_Path | String | Yes | Path in the user's Dropbox to be copied or moved. |
| To_Path | String | Yes | Path in the user's Dropbox that is the destination. |
| Autorename | String | No | If there's a conflict, have the Dropbox server try to auto rename the file to avoid the conflict. The default for this field is False. |
| Allow_Ownership_Transfer | String | No | Allow moves by owner even if it would result in an ownership transfer for the content being moved. This does not apply to copies. The default for this field is False. |
| ObjectPathsAggregate | String | No | An aggregate representing the object path. Can also be the name of a #TEMP table. |
For example on how to configure the MoveResource action,
see Action examples.
This action lets you rename a resource by providing a path and new name.
| Parameter name | Data type | Required | Description |
|---|---|---|---|
| Path | String | Yes | The path to resource to be renamed. EX: /myFolder/sample.txt |
| NewName | String | Yes | The new name for the resource. EX: sampleDocument.txt |
For example on how to configure the RenameResource action,
see Action examples.
This action lets you Unshares a folder. Requires the sharing.write scope.
| Parameter name | Data type | Required | Description |
|---|---|---|---|
| FolderId | String | Yes | The id of the shared folder to unshare. |
| LeaveCopy | String | No | If true, members of this shared folder will get a copy of this folder after it's unshared. The default value is false. |
For example on how to configure the UnshareFolder action,
see Action examples.
This action lets you Downloads a File. Requires the files.content.read scope.
| Parameter name | Data type | Required | Description |
|---|---|---|---|
| Id | String | Yes | The ID of the document to download. |
| Revision | String | No | The revision of the document to download, for example 'rev:a1c10ce0dd78'. |
| Path | String | No | The path of the file or folder to download. |
| AsZip | Boolean | No | Download a folder in a zip format. Must be set to true to download a folder. |
| FileStream | String | No | An instance of an output stream where file data is written to. Only used if DownloadTo is not set. |
| DownloadTo | String | No | The folder path to download the file to. |
| FileType | String | Yes | The type of file(file or paper) |
For example on how to configure the
DownloadFile action, see Action examples.
This section describes how to perform some of the actions in this connector.
The following example shows how to copy a resource with specified path to a different path:
Configure connector task dialog, click Actions.CopyResource action, and then click Done.connectorInputPayload and then enter a value similar to the following in the
Default Value field:
{ "From_Path": "/DropboxFolder/pptxFile.pptx", "To_Path": "/DropBoxFolder2/Folder/pptFile.pptx" }
If the action is successful, the
CopyResource task's connectorOutputPayload response
parameter will have a value similar to the following:
[ { "Success": "true", "metadata_.tag": "file", "metadata_name": "pptxFile.pptx", "metadata_path_lower": "/testingdropboxupdated/abcde/pptxfile.pptx", "metadata_path_display": "/TestingDropBoxUpdated/abcde/pptxFile.pptx", "metadata_parent_shared_folder_id": "3204685267", "metadata_id": "id:8-07A6kHAoIAAAAAAAAC1w", "metadata_client_modified": "2024-06-13T11:06:37Z", "metadata_server_modified": "2024-07-12T10:19:02Z", "metadata_rev": "61d0a3560ecb5bf039dd3", "metadata_size": "17052", "metadata_sharing_info_read_only": "false", "metadata_sharing_info_parent_shared_folder_id": "3204685267", "metadata_sharing_info_modified_by": "dbid:AACVLctlrEo-ouTSxUVSTi0loZCSZKc933A", "metadata_is_downloadable": "true", "metadata_content_hash": "0234f7d4eaf914cb276716c8b2a24e24655d1f6f39ee549207e33a4255e2fba2" } ]
The following example shows how to create a folder at a given path:
Configure connector task dialog, click Actions.CreateFolder action, and then click Done.connectorInputPayload and then enter a value similar to the following in the
Default Value field:
{ "Path": "/TestDrobBoxFolder/newFolder" }
If the action is successful, the CreateFolder task's connectorOutputPayload response
parameter will have a value similar to the following:
[ { "Id": "id:8-07A6kHAoIAAAAAAAAC2Q" } ]
The following example shows how to delete a resource:
Configure connector task dialog, click Actions.DeleteResource action, and then click Done.connectorInputPayload and then enter a value similar to the following in the
Default Value field:
{ "Path": "/TestingDropBox/FolderToBeDeletedName" }
If the action is successful, the
DeleteResource task's connectorOutputPayload response
parameter will have a value similar to the following:
[{ "Status": "Success" }]
The following example shows how to move a resource:
Configure connector task dialog, click Actions.MoveResource action, and then click Done.connectorInputPayload and then enter a value similar to the following in the
Default Value field:
{ "From_Path": "/TestDropBoxFolder/Folder1/dummypdf2.pdf", "To_Path": "/EmptyFolder/Folder1/dummypdf2.pdf" }
If the action is successful, the
MoveResource task's connectorOutputPayload response
parameter will have a value similar to the following:
[{ "Status": "Success" }]
The following example shows how to rename a resource:
Configure connector task dialog, click Actions.RenameResource action, and then click Done.connectorInputPayload and then enter a value similar to the following in the
Default Value field:
{ "Path": "/TestDropBox/abcd", "NewName": "abcded" }
If the action is successful, the
RenameResource task's connectorOutputPayload response
parameter will have a value similar to the following:
[{ "Status": "Success" }]
The following example shows how to unshare a folder:
Configure connector task dialog, click Actions.UnshareFolder action, and then click Done.connectorInputPayload and then enter a value similar to the following in the
Default Value field:
{ "FolderId": "3336772979" }
If the action is successful, the
UnshareFolder task's connectorOutputPayload response
parameter will have a value similar to the following:
[{ "Status": "Success" }]
The following example shows how to download a file:
Configure connector task dialog, click Actions.DownloadFile action, and then click Done.connectorInputPayload and then enter a value similar to the following in the
Default Value field:
{ "Id": "id:8-07A6kHAoIAAAAAAAABcg", "FileType": "file" }
If the action is successful, the
DownloadFile task's connectorOutputPayload response
parameter will have a value similar to the following:
[ { "Success": "true", "Name": "license.txt", "Id": "id:8-07A6kHAoIAAAAAAAABcg", "ClientModified": "2024-07-09T09:52:41Z", "ServerModified": "2024-07-09T09:52:41Z", "Revision": "61ccd7da2b987c0f52053", "Size": "11", "LowerCasePath": "/sahil kapoor/testingdropboxupdated/uploadfolderwithnestedfolder/nestedfolder2/license.txt", "DisplayPath": "/Sahil Kapoor/TestingDropBoxUpdated/uploadFolderWithNestedFolder/NestedFolder2/license.txt", "PreviewURL": null, "IsDownloadable": "true", "HasExplicitSharedMembers": null, "ContentHash": "f6dc724d119649460e47ce719139e521e082be8a9755c5bece181de046ee65fe", "Owner": null, "Title": null, "MimeType": null, "FileData": "SGVsbG8gd29ybGQ=", "parent_shared_folder_id": "3237290067", "sharing_info_read_only": "false", "sharing_info_parent_shared_folder_id": "3237290067", "sharing_info_modified_by": "dbid:AACVLctlrEo-ouTSxUVSTi0loZCSZKc933A" } ]
After you create the connection, it becomes available in both Apigee Integration and Application Integration. You can use the connection in an integration through the Connectors task.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-09 UTC.