Use Google Groups to manage Google Workspace groups and membership through the Admin SDK Directory API. Create, read, update, or delete groups; manage aliases; add, remove, or update members with OWNER, MANAGER, or MEMBER roles; and check membership.
Connect an account with the required Workspace administrative permissions. Get Settings and Update Settings also use the Groups Settings API, which requires https://www.googleapis.com/auth/apps.groups.settings . Sim's current Google Groups OAuth connection requests Directory API scopes only, so it does not provide the scope needed for those settings actions.
Sim requests these scopes when someone connects a Google Groups account. For a self-hosted deployment, register your own app with the provider using the settings below. See Integrations and OAuth for setup.
Setting Value Redirect URI <NEXT_PUBLIC_APP_URL>/api/auth/oauth2/callback/google-groupsEnvironment variables GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET
Scope Description https://www.googleapis.com/auth/userinfo.emailView email address https://www.googleapis.com/auth/userinfo.profileView basic profile info https://www.googleapis.com/auth/admin.directory.groupManage Google Workspace groups https://www.googleapis.com/auth/admin.directory.group.memberManage Google Workspace group memberships
Connect to Google Workspace to create, update, and manage groups and their members using the Admin SDK Directory API.
List all groups in a Google Workspace domain
Inputs and outputsParameter Type Required Description customerstring No Customer ID or "my_customer" for the authenticated user's domain domainstring No Domain name to filter groups by maxResultsnumber No Maximum number of results to return (1-200). Example: 50 pageTokenstring No Token for fetching the next page of results querystring No Search query to filter groups (e.g., "email:admin*")
Parameter Type Description groupsjson Array of group objects nextPageTokenstring Token for fetching next page of results
Get details of a specific Google Group by email or group ID
Inputs and outputsParameter Type Required Description groupKeystring Yes Group identifier. Can be the group email address (e.g., team@example.com ) or the unique group ID
Parameter Type Description groupjson Group object
Create a new Google Group in the domain
Inputs and outputsParameter Type Required Description emailstring Yes Email address for the new group (e.g., team@example.com ) namestring Yes Display name for the group (e.g., Engineering Team) descriptionstring No Description of the group
Parameter Type Description groupjson Created group object
Update an existing Google Group
Inputs and outputsParameter Type Required Description groupKeystring Yes Group identifier. Can be the group email address (e.g., team@example.com ) or the unique group ID namestring No New display name for the group (e.g., Engineering Team) descriptionstring No New description for the group emailstring No New email address for the group (e.g., newteam@example.com )
Parameter Type Description groupjson Updated group object
Delete a Google Group
Inputs and outputsParameter Type Required Description groupKeystring Yes Group identifier to delete. Can be the group email address (e.g., team@example.com ) or the unique group ID
Parameter Type Description messagestring Success message
List all members of a Google Group
Inputs and outputsParameter Type Required Description groupKeystring Yes Group identifier. Can be the group email address (e.g., team@example.com ) or the unique group ID maxResultsnumber No Maximum number of results to return (1-200). Example: 50 pageTokenstring No Token for fetching the next page of results rolesstring No Filter by roles (comma-separated: OWNER, MANAGER, MEMBER)
Parameter Type Description membersjson Array of member objects nextPageTokenstring Token for fetching next page of results
Get details of a specific member in a Google Group
Inputs and outputsParameter Type Required Description groupKeystring Yes Group identifier. Can be the group email address (e.g., team@example.com ) or the unique group ID memberKeystring Yes Member identifier. Can be the member email address (e.g., user@example.com ) or the unique member ID
Parameter Type Description memberjson Member object
Add a new member to a Google Group
Inputs and outputsParameter Type Required Description groupKeystring Yes Group identifier. Can be the group email address (e.g., team@example.com ) or the unique group ID emailstring Yes Email address of the member to add (e.g., user@example.com ) rolestring No Role for the member: MEMBER, MANAGER, or OWNER. Defaults to MEMBER
Parameter Type Description memberjson Added member object
Remove a member from a Google Group
Inputs and outputsParameter Type Required Description groupKeystring Yes Group identifier. Can be the group email address (e.g., team@example.com ) or the unique group ID memberKeystring Yes Member identifier to remove. Can be the member email address (e.g., user@example.com ) or the unique member ID
Parameter Type Description messagestring Success message
Update a member's role in a Google Group (promote or demote)
Inputs and outputsParameter Type Required Description groupKeystring Yes Group identifier. Can be the group email address (e.g., team@example.com ) or the unique group ID memberKeystring Yes Member identifier. Can be the member email address (e.g., user@example.com ) or the unique member ID rolestring Yes New role for the member: MEMBER, MANAGER, or OWNER
Parameter Type Description memberjson Updated member object
Check if a user is a member of a Google Group
Inputs and outputsParameter Type Required Description groupKeystring Yes Group identifier. Can be the group email address (e.g., team@example.com ) or the unique group ID memberKeystring Yes Member identifier to check. Can be the member email address (e.g., user@example.com ) or the unique member ID
Parameter Type Description isMemberboolean Whether the user is a member of the group
List all email aliases for a Google Group
Inputs and outputsParameter Type Required Description groupKeystring Yes Group identifier. Can be the group email address (e.g., team@example.com ) or the unique group ID
Parameter Type Description aliasesarray List of email aliases for the group ↳ id string Unique group identifier ↳ primaryEmail string Group's primary email address ↳ alias string Alias email address ↳ kind string API resource type ↳ etag string Resource version identifier
Add an email alias to a Google Group
Inputs and outputsParameter Type Required Description groupKeystring Yes Group identifier. Can be the group email address (e.g., team@example.com ) or the unique group ID aliasstring Yes The email alias to add to the group
Parameter Type Description idstring Unique group identifier primaryEmailstring Group's primary email address aliasstring The alias that was added kindstring API resource type etagstring Resource version identifier
Remove an email alias from a Google Group
Inputs and outputsParameter Type Required Description groupKeystring Yes Group identifier. Can be the group email address (e.g., team@example.com ) or the unique group ID aliasstring Yes The email alias to remove from the group
Parameter Type Description deletedboolean Whether the alias was successfully deleted
Get the settings for a Google Group including access permissions, moderation, and posting options
Inputs and outputsParameter Type Required Description groupEmailstring Yes The email address of the group (e.g., team@example.com )
Parameter Type Description emailstring The group's email address namestring The group name (max 75 characters) descriptionstring The group description (max 4096 characters) whoCanJoinstring Who can join the group (ANYONE_CAN_JOIN, ALL_IN_DOMAIN_CAN_JOIN, INVITED_CAN_JOIN, CAN_REQUEST_TO_JOIN) whoCanViewMembershipstring Who can view group membership whoCanViewGroupstring Who can view group messages whoCanPostMessagestring Who can post messages to the group allowExternalMembersstring Whether external users can be members allowWebPostingstring Whether web posting is allowed primaryLanguagestring The group's primary language isArchivedstring Whether messages are archived archiveOnlystring Whether the group is archive-only (inactive) messageModerationLevelstring Message moderation level spamModerationLevelstring Spam handling level (ALLOW, MODERATE, SILENTLY_MODERATE, REJECT) replyTostring Default reply destination customReplyTostring Custom email for replies includeCustomFooterstring Whether to include custom footer customFooterTextstring Custom footer text (max 1000 characters) sendMessageDenyNotificationstring Whether to send rejection notifications defaultMessageDenyNotificationTextstring Default rejection message text membersCanPostAsTheGroupstring Whether members can post as the group includeInGlobalAddressListstring Whether included in Global Address List whoCanLeaveGroupstring Who can leave the group whoCanContactOwnerstring Who can contact the group owner favoriteRepliesOnTopstring Whether favorite replies appear at top whoCanApproveMembersstring Who can approve new members whoCanBanUsersstring Who can ban users whoCanModerateMembersstring Who can manage members whoCanModerateContentstring Who can moderate content whoCanAssistContentstring Who can assist with content metadata enableCollaborativeInboxstring Whether collaborative inbox is enabled whoCanDiscoverGroupstring Who can discover the group defaultSenderstring Default sender identity (DEFAULT_SELF or GROUP)
Update the settings for a Google Group including access permissions, moderation, and posting options
Inputs and outputsParameter Type Required Description groupEmailstring Yes The email address of the group (e.g., team@example.com ) namestring No The group name (max 75 characters) descriptionstring No The group description (max 4096 characters) whoCanJoinstring No Who can join: ANYONE_CAN_JOIN, ALL_IN_DOMAIN_CAN_JOIN, INVITED_CAN_JOIN, CAN_REQUEST_TO_JOIN whoCanViewMembershipstring No Who can view membership: ALL_IN_DOMAIN_CAN_VIEW, ALL_MEMBERS_CAN_VIEW, ALL_MANAGERS_CAN_VIEW whoCanViewGroupstring No Who can view group messages: ANYONE_CAN_VIEW, ALL_IN_DOMAIN_CAN_VIEW, ALL_MEMBERS_CAN_VIEW, ALL_MANAGERS_CAN_VIEW, ALL_OWNERS_CAN_VIEW whoCanPostMessagestring No Who can post: NONE_CAN_POST, ALL_MANAGERS_CAN_POST, ALL_MEMBERS_CAN_POST, ALL_OWNERS_CAN_POST, ALL_IN_DOMAIN_CAN_POST, ANYONE_CAN_POST allowExternalMembersstring No Whether external users can be members: true or false allowWebPostingstring No Whether web posting is allowed: true or false primaryLanguagestring No The group's primary language (e.g., en) isArchivedstring No Whether messages are archived: true or false archiveOnlystring No Whether the group is archive-only (inactive): true or false messageModerationLevelstring No Message moderation: MODERATE_ALL_MESSAGES, MODERATE_NON_MEMBERS, MODERATE_NEW_MEMBERS, MODERATE_NONE spamModerationLevelstring No Spam handling: ALLOW, MODERATE, SILENTLY_MODERATE, REJECT replyTostring No Default reply: REPLY_TO_CUSTOM, REPLY_TO_SENDER, REPLY_TO_LIST, REPLY_TO_OWNER, REPLY_TO_IGNORE, REPLY_TO_MANAGERS customReplyTostring No Custom email for replies (when replyTo is REPLY_TO_CUSTOM) includeCustomFooterstring No Whether to include custom footer: true or false customFooterTextstring No Custom footer text (max 1000 characters) sendMessageDenyNotificationstring No Whether to send rejection notifications: true or false defaultMessageDenyNotificationTextstring No Default rejection message text membersCanPostAsTheGroupstring No Whether members can post as the group: true or false includeInGlobalAddressListstring No Whether included in Global Address List: true or false whoCanLeaveGroupstring No Who can leave: ALL_MANAGERS_CAN_LEAVE, ALL_MEMBERS_CAN_LEAVE, NONE_CAN_LEAVE whoCanContactOwnerstring No Who can contact owner: ALL_IN_DOMAIN_CAN_CONTACT, ALL_MANAGERS_CAN_CONTACT, ALL_MEMBERS_CAN_CONTACT, ANYONE_CAN_CONTACT favoriteRepliesOnTopstring No Whether favorite replies appear at top: true or false whoCanApproveMembersstring No Who can approve members: ALL_OWNERS_CAN_APPROVE, ALL_MANAGERS_CAN_APPROVE, ALL_MEMBERS_CAN_APPROVE, NONE_CAN_APPROVE whoCanBanUsersstring No Who can ban users: ALL_MEMBERS, OWNERS_AND_MANAGERS, OWNERS_ONLY, NONE whoCanModerateMembersstring No Who can manage members: OWNERS_ONLY, OWNERS_AND_MANAGERS, ALL_MEMBERS, NONE whoCanModerateContentstring No Who can moderate content: OWNERS_ONLY, OWNERS_AND_MANAGERS, ALL_MEMBERS, NONE whoCanAssistContentstring No Who can assist with content metadata: OWNERS_ONLY, OWNERS_AND_MANAGERS, ALL_MEMBERS, NONE enableCollaborativeInboxstring No Whether collaborative inbox is enabled: true or false whoCanDiscoverGroupstring No Who can discover: ANYONE_CAN_DISCOVER, ALL_IN_DOMAIN_CAN_DISCOVER, ALL_MEMBERS_CAN_DISCOVER defaultSenderstring No Default sender: DEFAULT_SELF or GROUP
Parameter Type Description emailstring The group's email address namestring The group name descriptionstring The group description whoCanJoinstring Who can join the group whoCanViewMembershipstring Who can view group membership whoCanViewGroupstring Who can view group messages whoCanPostMessagestring Who can post messages to the group allowExternalMembersstring Whether external users can be members allowWebPostingstring Whether web posting is allowed primaryLanguagestring The group's primary language isArchivedstring Whether messages are archived archiveOnlystring Whether the group is archive-only messageModerationLevelstring Message moderation level spamModerationLevelstring Spam handling level replyTostring Default reply destination customReplyTostring Custom email for replies includeCustomFooterstring Whether to include custom footer customFooterTextstring Custom footer text sendMessageDenyNotificationstring Whether to send rejection notifications defaultMessageDenyNotificationTextstring Default rejection message text membersCanPostAsTheGroupstring Whether members can post as the group includeInGlobalAddressListstring Whether included in Global Address List whoCanLeaveGroupstring Who can leave the group whoCanContactOwnerstring Who can contact the group owner favoriteRepliesOnTopstring Whether favorite replies appear at top whoCanApproveMembersstring Who can approve new members whoCanBanUsersstring Who can ban users whoCanModerateMembersstring Who can manage members whoCanModerateContentstring Who can moderate content whoCanAssistContentstring Who can assist with content metadata enableCollaborativeInboxstring Whether collaborative inbox is enabled whoCanDiscoverGroupstring Who can discover the group defaultSenderstring Default sender identity