# Add a user to a group via API?

**URL:** <https://meta.discourse.org/t/add-a-user-to-a-group-via-api/45077>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [June 1, 2016, 9:42am UTC](https://meta.discourse.org/t/add-a-user-to-a-group-via-api/45077 "2016-06-01T09:42:55Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jefflau](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jefflau/32/121720_2.png) [@jefflau](https://meta.discourse.org/u/jefflau)\
**Post date:** [June 1, 2016, 5:57pm UTC](https://meta.discourse.org/t/add-a-user-to-a-group-via-api/45077/4 "2016-06-01T17:57:02Z")

</div>

Is the groupID supposed to be a number or the name of the group? From the API call I saw it was an ID. I actually get a 200 success when I use the ID, but the groups don’t seem to be updating for that user

---

_[View the full topic](https://meta.discourse.org/t/add-a-user-to-a-group-via-api/45077)._
