Your workflow is unique 👨‍💻 -  tell us how you use Dropbox 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

7 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    5 years ago

    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
    1 year ago

    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 Community Moderator rankDropbox Community Moderator
    1 year ago

    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.

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

    So how do you suggest I export comments from 8,000 files?

     

    Most of the comments I received a notification - is there an API I can use to get notifications sent to me?  I don't mean file change notifications, I mean the notifications shown here:

     

     

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    1 year ago

    brad-robinson Unfortunately the Dropbox API doesn't offer a way for third party apps to export comments or notifications like this, but I've sent these along as feature requests. I can't promise if/when this might be offered though. Apologies I don't have better news to offer!

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

    ok thanks.

     

    In the meantime, I think I have most of the comments in email notifications so I'll hopefully be able to scrape them from there.  What a mess.

     

    For the record, I've just told collaborators on three projects to stop using Dropbox for commenting and we'll be switching to something else.  Without a way to export those comments for additional tracking/archiving Dropbox is completely useless to us.

     

    Keeping user data locked up like this is not cool.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    1 year ago

    Thanks for the feedback! I'll pass this along to the team.

About Dropbox API Support and Feedback

Node avatar for Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!