API - Get topics a user is active in


(Frank Bailey) #1

Is there an API endpoint to get all the topics a user has posted in, or perhaps all topics a user has started? We’ve got WordPress and Discourse working together but my client wants to display a list of the user’s topics on the user’s WordPress profile page (which I’ve custom-built from the ground up in WordPress).


#2

Try

GET /topics/created-by/<username>.json

For example https://meta.discourse.org/topics/created-by/Frank_Bailey.json.


There is a useful guide on how to “reverse engineer” the Discourse APIs:


(Frank Bailey) #3

Nice one. Thanks so much! Am I right in thinking, though, that’s there isn’t a similar one for topics in which the user has only replied but didn’t create?