Lodol Docs

Google Groups

API actions for the Google Groups integration.

Google Groups

Create and manage Google Groups and their members in your Google Workspace organization.


Add member

Add a person to a Google Group.

Parameters

ParameterTypeRequiredDescription
group_keystringYesThe group's email address (or its unique ID).
member_emailstringYesThe email address of the person to add.
rolestringNoThe person's role in the group. Owners and managers can manage the group and its members; members can only take part in the group.

Response

"user@example.com"

Create group

Create a new Google Group.

Parameters

ParameterTypeRequiredDescription
emailstringYesThe email address for the new group.
namestringYesThe display name for the group.
descriptionstringNoAn optional description of what the group is for.

Response

"01abc234def56789"

Delete group

Permanently delete a Google Group.

Parameters

ParameterTypeRequiredDescription
group_keystringYesThe group's email address (or its unique ID).

Response

true

Get group

Get the details of a specific Google Group.

Parameters

ParameterTypeRequiredDescription
group_keystringYesThe group's email address (or its unique ID).

Response

{
  "description": "All engineering staff",
  "email": "engineering@example.com",
  "id": "01abc234def56789",
  "name": "Engineering Team"
}

List groups

List all Google Groups in your Google Workspace organization.

Parameters

ParameterTypeRequiredDescription
page_sizenumberNoThe maximum number of groups to return (1-200).

Response

[
  {
    "directMembersCount": "15",
    "email": "engineering@example.com",
    "id": "01abc234def56789",
    "name": "Engineering Team"
  }
]

List members

List everyone who belongs to a Google Group.

Parameters

ParameterTypeRequiredDescription
group_keystringYesThe group's email address (or its unique ID).
page_sizenumberNoThe maximum number of members to return (1-200).

Response

[
  {
    "email": "user@example.com",
    "id": "112233445566778899",
    "role": "MEMBER",
    "type": "USER"
  }
]

Remove member

Remove a person from a Google Group.

Parameters

ParameterTypeRequiredDescription
group_keystringYesThe group's email address (or its unique ID).
member_emailstringYesThe email address of the person to remove.

Response

true

Update group

Update a Google Group's name, description, or email address.

Parameters

ParameterTypeRequiredDescription
group_keystringYesThe group's email address (or its unique ID).
namestringNoA new display name for the group.
descriptionstringNoA new description for the group.
new_emailstringNoA new email address for the group.

Response

"01abc234def56789"

On this page