Lodol Docs

Google Groups

API actions for the Google Groups integration.

Google Groups

Manage Google Groups and membership.


Add member

Add a member to a Google Group.

Parameters

ParameterTypeRequiredDescription
group_keystringYesGroup email address or unique ID
member_emailstringYesEmail address of the member to add
rolestringNoRole for the member (OWNER, MANAGER, or MEMBER)

Response

"user@example.com"

Create group

Create a new Google Group.

Parameters

ParameterTypeRequiredDescription
emailstringYesEmail address for the new group
namestringYesDisplay name for the group
descriptionstringNoDescription of the group

Response

"01abc234def56789"

Delete group

Delete a Google Group.

Parameters

ParameterTypeRequiredDescription
group_keystringYesGroup email address or unique ID

Response

true

Get group

Retrieve details of a specific Google Group.

Parameters

ParameterTypeRequiredDescription
group_keystringYesGroup email address or unique ID

Response

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

List groups

Retrieve all Google Groups for the connected account.

Parameters

ParameterTypeRequiredDescription
page_sizenumberNoMaximum number of groups to return

Response

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

List members

List all members of a Google Group.

Parameters

ParameterTypeRequiredDescription
group_keystringYesGroup email address or unique ID
page_sizenumberNoMaximum number of members to return

Response

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

Remove member

Remove a member from a Google Group.

Parameters

ParameterTypeRequiredDescription
group_keystringYesGroup email address or unique ID
member_emailstringYesEmail address of the member to remove

Response

true

Update group

Update an existing Google Group's name, description, or email.

Parameters

ParameterTypeRequiredDescription
group_keystringYesGroup email address or unique ID
namestringNoNew display name for the group
descriptionstringNoNew description for the group
new_emailstringNoNew email address for the group

Response

"01abc234def56789"

On this page