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
Andrew C.67
10 years agoNew member | Level 1
Is there any way of getting user's profile picture?
As far as I know there is no API for that in both v1 and upcoming v2 of Dropbox Core API. Is there any workaround? E.g. can I manually make an URL for getting a user's photo (given I have an access token)?
- Greg-DBDropbox Staff
Unfortunately, no, it's not currently possible to get the profile picture via the API, but I'll be sure to pass this along as a request.
- Steve K.45New member | Level 1
We need this too. Would like to push profile pictures from AD to Dropbox via Okta automatically. Making it available in the API is the first step.
- Kyle N.1New member | Level 1
I need this too. We'd very much like to make a beautiful experience for the users of the planned Ubuntu Scope for Dropbox, and showing the user their current profile photo (in addition to have an HTTP API to modify it) would be really nice.
- luiz fernando sNew member | Level 1
curl -X POST https://api.dropboxapi.com/2/users/get_current_account
--header 'Authorization: Bearer <TOKEN>'
--header 'Content-Type: application/json'
--data 'null'
REPLY
[....]
"account_id": "ID-OF-USER",
[....]
https://dl-web.dropbox.com/account_photo/get/ID-OF-USER?vers=1469058358325&size=64x64
vers is the current timestamp, to grab the last photo
size, I think this is square, and I don't know the sizes, like 128x128, 32x32, etc - Greg-DBDropbox Staff
Thanks for posting this Luiz! That's correct, it's now possible to get the profile picture in API v2 via profile_photo_url returned by /users/get_current_account.
- Greg-DBDropbox Staff
It's also now possible to set the profile picture using /2/account/set_profile_photo.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,917 PostsLatest Activity: 11 days ago
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!