You can find your Dropbox app credentials in your Dropbox Developer Account.You’ll need the following information to set up your Dropbox App with Paragon Connect:
Under Integrations > Connected Integrations > Dropbox > App Configuration > Configure, fill out your credentials from your developer app in their respective sections:
App Key: Found under Settings > App key on your Dropbox App page.
App Secret Found under Settings > App secret on your Dropbox App page.
Permissions: Select the scopes you’ve requested for your application. For a list of recommended scopes, please view this integration within your Paragon dashboard. View dashboard.
Leaving the Client ID and Client Secret blank will use Paragon development keys.
Once your users have connected their Dropbox account, you can use the Paragon SDK to access the Dropbox API on behalf of connected users.See the Dropbox REST API documentation for their full API reference.Any Dropbox API endpoints can be accessed with the Paragon SDK as shown in this example.
Copy
Ask AI
// You can find your project ID in the Overview tab of any Integration// Authenticate the userparagon.authenticate(<ProjectId>, <UserToken>);// Query files in Dropbox's root directoryparagon.request("dropbox", "/2/files/list_folder", { method: "POST", body: { { "include_deleted": false, "include_has_explicit_shared_members": false, "include_media_info": false, "include_mounted_folders": true, "include_non_downloadable_files": true, "path": "", "recursive": false }});// Move a file or folder to a different location.paragon.request("dropbox", "/2/files/move_v2", { method: "POST", body: { "allow_ownership_transfer": false, "allow_shared_folder": false, "autorename": false, "from_path": "/Homework/math", "to_path": "/Homework/algebra" }});
Webhook triggers can be used to run workflows based on events in your users’ Dropbox account. For example, you might want to trigger a workflow whenever new files are created in Dropbox to sync your users’ Dropbox files to your application in real-time.
You can find the full list of Webhook Triggers for Dropbox below: