We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

mpg9123's avatar
mpg9123
New member | Level 2
5 years ago

Get comments / discussion for a file via API?

Hi, is there a way to get the comments (as appears on the right side panel of the web UI) for a file via the API? I have searched the methods list for logical names related to that function and also tried `filesGetMetadata`, but no luck so far. Thanks

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    No, unfortunately the Dropbox API doesn't offer a way to access file comments, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 

    • brad-robinson's avatar
      brad-robinson
      New member | Level 2

      It's been 4 years ... any update on this?

       

      I need to export comments on 8,000+ photos in Dropbox.  How do I do this?

       

      I found some sample code using the endpoint `/2/comments2/list_comments` but it gives this error:

       

      ```

      Error in call to API function "comments2/list_comments": Your app is not permitted to access this endpoint because it does not have the required scope 'private:comments.read'. The owner of the app can enable the scope for the app using the Permissions tab on the App Console.

      ```

       

      Checking the Permissions page for my app, I can't see that permission listed anywhere.

       

      Sounds like there's an API for this, just can't figure out how to access it, nor can I find any documentation.

       

      Please help.

       

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff

        brad-robinson No, unfortunately I don't have any update to share on this. The endpoint you mentioned is internal and not part of the public API and so is not available to third party apps.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,877 PostsLatest Activity: 12 months ago
325 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!