Dropbox for Business Teams Folders Using REST API
Creating a Connection
The following GET will return a target URL. Use this URL to log in to the Dropbox for Business account to authenticate and create the connection. Make sure you connect using an Administrator account.Â
GET {{url}}v1/connections/platforms/dfb-teams/new
Creating a Connection Using Custom Credentials
Create a new connection using custom credentials with the example call below. Replace the name, client_id, and client_secret with information relevant to your connection.Â
{
"name": "Dropbox for Business Teams Folder",
"platform": {
"id": "dfb-teams"
},
"auth": {
"client_id": "{{clientID}}",
"client_secret": "{{clientSecret}}"
}
}
Creating a Connection with Single Sign-On (SSO)
Create a new connection using single sign-on with the example call below. You will need to obtain the applicable access token for your Dropbox for Business account.
{
"name": "Dropbox for Business Teams Folder",
"platform": {
"id": "dfb-teams"
},
"auth": {
"access_token": "{{access_token}}"
}
}
Creating a Job
Create a simple transfer job using the example call below. Replace the information with information relevant to your job and connectors.Â
Â
The following are known issues when creating a job for a Dropbox for Business account using an Administrator account connection.
Connection-based Impersonation should be used due to a caching issue which may incorrect shared folder detection.
Connection-based Impersonation is shown in the user-interface as "Run As...." option on the Locations step when creating a new job.
Path-based impersonation should not be used, first 'folder' is a user name such as "path": "/user@company.com/".
Â
Â
Â
Â
Â