# Add or update the membership of a user to the group **POST /group/{id}/{unique_id}** Provides the ability to add or update the membership a user has to a specific group. Note the result is sorted by date joined order. ## Servers - API Auto Mocking: https://YOURSITE.infoodle.com/apiv2 (API Auto Mocking) ## Authentication methods - O auth2 ## Parameters ### Path parameters - **id** (integer) The group id to add this contact to - **unique_id** (integer) The unique_id of the contact, obtained from the people/search or people/directory search endpoints ### Body: text/plain (object) - **date_joined** (string) The date they joined this group (optional)) - **date_left** (string) The date they left this group (optional)) - **function** (integer) ID of the lookup for the function - **team_skill** (string) comma list of IDs from the team skills lookup - **permission** (string) The permission level for this contact in this group P = Past member V = View only F = Full member A = Administrator - **parent_permission** (string) The permission level for any parent group contact in this group ## Responses ### 200 OK #### Body: application/json (object) - **ok** (integer) - **connection_id** (integer) - **added_older_connection** (boolean) Whether the added record is old than the latest one, if so it does not change the live status of the record only historic [Powered by Bump.sh](https://bump.sh)