API Keys


I’m interested in making a bot for a Discord Server that searches through the posts on here, and gives them back to the user. For example:
-forums user card badge

And it sends back a list of posts from /search/user%20card%20badge.

I’m not that familiar with Discourse, but I believe that API keys

  1. Are needed for the /search endpoint
  2. Can be limited to a certain scope, i.e. just the /search endpoint.

I’m sure other people would be interested in things like that as well, so please let me know if you think this would be a reasonable idea!

I just found out I was using the API wrong. I’m not sure if this is an error in the docs, or otherwise.

(The correct endpoint is /search.json?term=123, the docs I was referring too are here.)