Creating a Connection
Create a New Dropbox for Business 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.
Code Block |
---|
GET {{url}}v1/connections/platforms/dfb/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.
Code Block |
---|
{ "name": "Dropbox for Business", "platform": { "id": "dfb" }, "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.
Code Block |
---|
{ "name": "Dropbox for Business", "platform": { "id": "dfb" }, "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.
...