Assign content to a group
Description

Using the API, partners can assign content to a group of users such as different teams, departments, and/or business units within a portal using the Go1 Groups functionality.

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/assignment' \
--header 'Authorization: Bearer ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
	"group_id": THE_GROUP_ID_RETURNED_WHEN_CREATING_THE_GROUP,
	"lo_ids": [LO_ID1, LO_ID2],
	"due_date": 1559252809
}'
Step 3

The API will return a success message.