You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Zaidwithdkg's avatar
Zaidwithdkg
New member | Level 2
12 months ago

Dropbox API

Hi all,

I need to know how can I upload my files and data with using Dropbox and also need to know about the offline access token for APIs authentication

  • Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here.

     

    To get started, I recommend reading the Getting Started Guide. For information on how the authorization process works, including information on access tokens and offline access with refresh tokens, check out the OAuth Guide. And for information on interacting with files, refer to the File Access Guide.

     

     

  • Здравко's avatar
    Здравко
    Legendary | Level 20

    Zaidwithdkg wrote:

    ...
    I need to know how can I upload my files and data with using Dropbox ...


    Hi Zaidwithdkg,

    Most simple way would be installing official Dropbox application and put your files in Dropbox folder. 😁 Joke. Using some of the family of upload endpoints (depending on your file size and their count) would do the trick. Of course, there are corresponding methods in all supported Dropbox SDKs if you use some of them.

     


    Zaidwithdkg wrote:

    ... and also need to know about the offline access token for APIs authentication


    Hm..🤔 I have no any idea of such a "offline access token". Where do you see such a thing? 🧐 Don't read untrusted sources!

    Access token is used for call to all regular API endpoints and currently is supported only short lived access token. There was time when was possible to choose long lived access token too, but it impossible now. For long term access you need refresh token usable for "refresh" (regenerate in fact) the access token. The refresh token doesn't expire automatic and can be used till revoke (either by application itself or by user). You receive refresh token when you perform OAuth2 flow with offline access type.

    Hope this helps.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,889 PostsLatest Activity: 2 hours ago
327 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!