Using the API, partners can create a group within a customer portal and assign existing users to it. This page walks through the steps required to create a group.
Follow the steps on our Authentication and authorization guide to retrieve an access token.
Post a request to the GroupsAPI with the access token in the header
curl --location --request POST 'https://api.go1.com/v2/groups' \ --header 'Authorization: Bearer ACCESS_TOKEN' \ --header 'Content-Type: application/json' \ --data-raw '{ "title": "Your group name", "description": "Your group description", "image": "https://res.cloudinary.com/v1431504122/ztiqbtyqcncc5bnk6ef1.png" }'
The API will return the ID of the group which has been just created. The ID is later needed when adding users or assign content to the group.