

tag field in an object identifies the subtype of a struct or selected member of a union. Request authentication is via OAuth 2.0 using the Authorization request header or authorization URL parameter. In general, the Dropbox API uses HTTP POST requests with JSON arguments and JSON responses. The Dropbox API explorer is the easiest way to get started making API calls. This SDK is distributed under the MIT license, please see LICENSE for more information.The Dropbox API allows developers to work with files in Dropbox, including advanced functionality like full-text search, thumbnails, and sharing. If you need help that is not specific to this SDK, please reach out to Dropbox Support. If you find a bug, please see CONTRIBUTING.md for information on how to report it.

Team As User - An example showing how to act as a user.Download - An example showing how to download a shared file.Basic - A simple example that takes in a token and fetches files from your Dropbox account.PKCE Browser - A simple example of a frontend doing a multi-step auth flow using PKCE and Short Lived Tokens.PKCE Backend - A simple example of a node backend doing a multi-step auth flow using PKCE and Short Lived Tokens.Simple Backend - A simple example of a node backend doing a multi-step auth flow for Short Lived Tokens.Auth - A simple auth example to get an access token and list the files in the root of your Dropbox account.We provide most examples in both Javascript and Typescript with some having a Node equivalent. We provide Examples to help get you started with a lot of the basic functionality in the SDK. Note, we follow semver naming conventions which means that any major version update could contain a breaking change.Īfter installation, follow one of our Examples or read the Documentation. When we update and release a breaking change, this could break production code which we hope to avoid. However, we highly recommend you do not directly import the latest version and instead choose a specific version. If you are using the repository from the browser, you can use any CDNs that hosts the Dropbox package by including a script tag with the link to the package.
