Search code examples
getgoogle-drive-apigoogle-docs-api

Getting information about a suggestion from a suggestion ID in Google Docs API


I'm currently using the documents.get API method to retrieve documents with suggestions inline, returned as so:

{
   "startIndex": 108,
   "endIndex": 159,
   "textRun": {
     "content": "This is some content that I have suggested to insert",
     "suggestedInsertionIds": [
        "suggest.fakesuggestionId123"
     ],
     "textStyle": {}
    }
}

I would like to retrieve information about this suggestion (i.e. who wrote it and when), but I can't see any endpoints in which the suggestedInsertionId values can be queried. Is there a way to retrieve this information in either the Drive or Docs APIs (outside of exporting to docx)?


Solution

  • Currently this information is not available via API

    It is available for comments via Comments:get, but not for suggestions. There is a related feature request for it on Public Issue Tracker.

    You can "star" it or comment on it to increase visibility.