# Is there a way to let people sign up to a group?

**URL:** <https://meta.discourse.org/t/is-there-a-way-to-let-people-sign-up-to-a-group/44430>\
**Category:** Support\
**Created:** [2016年五月18日 10:43 UTC](https://meta.discourse.org/t/is-there-a-way-to-let-people-sign-up-to-a-group/44430 "2016-05-18T10:43:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![SaintSal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saintsal/32/121687_2.png) [@SaintSal](https://meta.discourse.org/u/SaintSal)\
**Post date:** [2016年五月18日 10:43 UTC](https://meta.discourse.org/t/is-there-a-way-to-let-people-sign-up-to-a-group/44430/1 "2016-05-18T10:43:19Z")

</div>

I have a bunch of private categories, each of which is seen only by members of a specific group for that category. I’d like a way for them to sign themselves up to those groups.

For example, when we run a conference, we want attendees of that event to receive access to a special category for that conference so they can exchange ideas privately.

Is there a way to give members of this group a special link to sign up or add themselves to their group? Not all of these groups have a common email domain. I’d like to give them, [forum.com/signup/funevent/](http://forum.com/signup/funevent/) and then when they’re signed up, they’re automatically assigned to that group so they have access.

Or is there another way to achieve this?

Thanks.

---

<div class="post-metadata">

**Author:** ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)\
**Post date:** [2016年五月18日 10:48 UTC](https://meta.discourse.org/t/is-there-a-way-to-let-people-sign-up-to-a-group/44430/2 "2016-05-18T10:48:31Z")

</div>

not as of yet but has been requested as an enhancement to the groups

> [@Group related enhancements](https://meta.discourse.org/t/group-related-enhancements/44357):
>
> I would like to revisit the [suggestion](https://meta.discourse.org/t/prioritize-showing-group-members-not-posts-on-group-landing-page-describe-groups-provide-groups-directory/15719) of @tobiaseigen and others for certain group-related enhancements. initial request show group members (not posts) on the group landing page the URL [http://example.com/groups/groupname](http://example.com/groups/groupname) would resolve to [http://example.com/groups/groupname/members](http://example.com/groups/groupname/members) for each group posts would get new URL at [http://example.com/groups/groupname/posts](http://example.com/groups/groupname/posts) bonus points add “Request Membership” link/button that sends PM from user to group owner(s) requesting membership (requested [he…](https://meta.discourse.org/t/customize-group-profile/26761/6)

---

<div class="post-metadata">

**Author:** ![SaintSal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saintsal/32/121687_2.png) [@SaintSal](https://meta.discourse.org/u/SaintSal)\
**Post date:** [2016年五月18日 14:45 UTC](https://meta.discourse.org/t/is-there-a-way-to-let-people-sign-up-to-a-group/44430/3 "2016-05-18T14:45:25Z")

</div>

Thanks Mike! Think this is doable via the API? I scanned it but didn’t see a way to add a user to a group or vice versa.

---

<div class="post-metadata">

**Author:** ![Tom\_Newsom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tom_newsom/32/115981_2.png) [@Tom\_Newsom](https://meta.discourse.org/u/Tom_Newsom)\
**Post date:** [2016年五月18日 14:53 UTC](https://meta.discourse.org/t/is-there-a-way-to-let-people-sign-up-to-a-group/44430/4 "2016-05-18T14:53:02Z")

</div>

Yes it’s possible.

1. `/admin/groups.json` will tell you the `[group_id]` of every group
2. To add a member to a group  
`curl -X PUT -d usernames=username -d api_key=ApiKeyGoesHere -d api_username=ApiUsernameGoesHere https://yoursite.tld/admin/groups/[group_id]/members.json?`
3. To delete a member from a group  
`curl -X DELETE -d username=username -d api_key=ApiKeyGoesHere -d api_username=ApiUsernameGoesHere https://yoursite.tld/admin/groups/[group_id]/members.json?`

Note that the PUT command accepts a comma separated list, but DELETE is one username at a time

---

<div class="post-metadata">

**Author:** ![dennyv](https://avatars.discourse-cdn.com/v4/letter/d/8e7dd6/32.png) [@dennyv](https://meta.discourse.org/u/dennyv)\
**Post date:** [2016年七月6日 06:42 UTC](https://meta.discourse.org/t/is-there-a-way-to-let-people-sign-up-to-a-group/44430/5 "2016-07-06T06:42:20Z")

</div>

Is there a way to put the user in a group during the SSO process? Any params?

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2016年七月6日 06:48 UTC](https://meta.discourse.org/t/is-there-a-way-to-let-people-sign-up-to-a-group/44430/6 "2016-07-06T06:48:03Z")

</div>

I do think the group page should offer a way to join the group if allowed. It seems like something that should logically be present on that page.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2017年三月29日 10:04 UTC](https://meta.discourse.org/t/is-there-a-way-to-let-people-sign-up-to-a-group/44430/7 "2017-03-29T10:04:59Z")

</div>

Joining a group via the group page is possible as of Discourse 1.7.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2017年三月29日 10:05 UTC](https://meta.discourse.org/t/is-there-a-way-to-let-people-sign-up-to-a-group/44430/8 "2017-03-29T10:05:02Z")

</div>


