# API Functionality for invites

**URL:** <https://meta.discourse.org/t/api-functionality-for-invites/20278>\
**Category:** Feature\
**Created:** [September 20, 2014, 10:22pm UTC](https://meta.discourse.org/t/api-functionality-for-invites/20278 "2014-09-20T22:22:59Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![alxnik](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@alxnik](https://meta.discourse.org/u/alxnik)\
**Post date:** [September 20, 2014, 10:22pm UTC](https://meta.discourse.org/t/api-functionality-for-invites/20278/1 "2014-09-20T22:22:59Z")

</div>

I have deployed a discourse installation which is invite only and I am looking for a way to trigger invitations from another website. However, I don’t want to invite users to a specific topic, but to the forum in general. The ideal solution for this is to have invites generated from the user profile page functionality.

Is there a way to generate invites from the API that will not tie the invite to a specific topic? Bonus points if it is possible to add the user to specific groups.  
FYI, I’m going to implement this in python so I’m not looking for a solution via the ruby reference api implementation (And I checked that it doesn’t support it), however in the [routes.txt](https://github.com/discourse/discourse_api/blob/master/routes.txt) file I can see some invitation specific endpoints. Do these work? If yes, how can I call them?

---

_[View the full topic](https://meta.discourse.org/t/api-functionality-for-invites/20278)._
