cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Swift SDK Authorization

Swift SDK Authorization

Bob S.49
New member | Level 1

I'm using a dropbox account to save data in my ios app. I don't want to authorize the current user, but I want to use the account associated with my app key to upload to a specific folder location. I've tested this with the api explorer and know that it is possible, but the documentation suggests that the swift sdk only allows authorization through a user signing into their dropbox account. Is it possible to do the upload with the swift sdk or will I need to just stick with the http api? 

1 Reply 1

Greg-DB
Dropbox Staff

The API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. However, it is technically possible to connect to just one account. The SDKs don't offer explicit support for it and we don't recommend doing so, for various technical and security reasons.

However if you did want to go this route, instead of kicking off the authorization flow, you would manually use an existing access token for your account and app. (Just be careful not to revoke it, e.g. via https://www.dropbox.com/account/security .)

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?