# Maak aangepaste API's

**URL:** <https://meta.discourse.org/t/create-custom-apis/184054>\
**Category:** Development\
**Created:** [22 maart 2021 om 15:27 UTC](https://meta.discourse.org/t/create-custom-apis/184054 "2021-03-22T15:27:34Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [22 maart 2021 om 17:27 UTC](https://meta.discourse.org/t/create-custom-apis/184054/5 "2021-03-22T17:27:58Z")

</div>

I’ve been using [GitHub - discourse/discourse-subscriptions: A Discourse plugin that allows payments and subscription management via Stripe. · GitHub](https://github.com/discourse/discourse-subscriptions) as a model for adding a model (you don’t need a full model, but [discourse-subscriptions/config/routes.rb at main · discourse/discourse-subscriptions · GitHub](https://github.com/discourse/discourse-subscriptions/blob/main/config/routes.rb) gives you an example of how to add a route. That and `add_to_class` is most of what you need to know. Good luck!

---

_[View the full topic](https://meta.discourse.org/t/create-custom-apis/184054)._
