Steps
-
Create a Dropbox App
- Log in to your Dropbox account
- Go to the Dropbox App Console
- Click Create app
- For Choose an API, select Scoped access
- Choose the access type:
- App folder — Access only to a specific folder
- Full Dropbox — Access to all files
- Enter an app name and click Create app
-
Get Client ID and Client Secret
- On the app’s settings page, find:
- App key → This is your Client ID
- App secret → This is your Client Secret
- Copy both values and save them securely
- On the app’s settings page, find:
-
Configure Redirect URI
- Scroll to the OAuth 2 section on the settings page
- Under Redirect URIs, click Add and enter your callback URL
- The redirect URI must match exactly
-
Configure OAuth Scopes (Permissions)
- Go to the Permissions tab
- Check the permissions your integration needs:
files.metadata.read— Read file metadatafiles.content.read— Read file contentsfiles.content.write— Modify/upload filessharing.read/sharing.write— Sharing features
- Click Submit to save
Key Details
- App Console: https://www.dropbox.com/developers/apps
- Auth Type: OAuth 2.0
- Base API URL:
https://api.dropboxapi.com/2/ - Content API URL:
https://content.dropboxapi.com/2/(for file content operations) - Authorization URL:
https://www.dropbox.com/oauth2/authorize - Token URL:
https://api.dropboxapi.com/oauth2/token - Credentials Location: App Settings → App key (Client ID) & App secret (Client Secret)
- Common Scopes:
files.metadata.read,files.metadata.write,files.content.read,files.content.write,sharing.read,sharing.write,account_info.read,file_requests.read,file_requests.write,openid,email,profile