API for badges?

Is there any plan to expose badges through a public API? In other words, we’d love Discourse to be a badge engine for our entire community (which uses many tools/webapps) and create plugins like the GitHub commit plugin that would create badges based upon actions in some of those tools.

But beyond that, we want to be able for our users (driven by SSO in our case) to show off their badges in their profile pages on those various apps. Some type of API is an obvious way to do this.

Any thoughts about this, or existing plans I don’t know about? :slight_smile:


The API is all there I am fine for you to add the endpoints you need to the discourse_api gem.

1 Like