Topics Suggestions

Get a list of topic suggestions for a string of text, feed item, or record.
Resource
/connect/topics/suggestions
/connect/communities/communityId/topics/suggestions
Available since version
29.0

In version 28.0, use /chatter/topics/suggestions.

HTTP methods
GET or HEAD
Request parameters
Parameter Name Values Description Required or Optional
maxResults Integer Maximum number of topic suggestions that get returned. The default is 5. Value must be greater than 0 and less than or equal to 25. Optional
recordId String 18-character ID of a feed item or record from which to extract topics. Administrators must enable topics for objects to see topic suggestions for records of that object type. Topics for objects is available in version 30.0. Required if the text parameter isn’t used
text String Text from which to extract topics. Required if the recordId parameter isn’t used
Response body
Topic Suggestion Collection
Example for GET
This example gets topic suggestions for the text “Working on the planning meeting for our new initiative.”
/connect/topics/suggestions?text=Working+on+the+planning+meeting+for+our+new+initiative.