Add users to a group
Description

Using the API, partners can add existing users to a group within a customer portal.

Requirements
  • Admin access to the customer portal
  • Group.write scopes
Often used with

API Docs
Step 1

Follow the steps on our Authentication and authorization guide to retrieve an access token.

Step 2

Post a request to the GroupsAPI with the access token in the header

curl --location --request POST 'https://api.go1.com/v2/groups/membership' \
--header 'Authorization: Bearer ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
	"group_id": THE_GROUP_ID_RETURNED_WHEN_CREATING_THE_GROUP,
	"user_ids": [USER_ID1, USER_ID2]
}'
Step 3

The API will return a success message and the membership ID.