Communication · Productivity & Projects

Google Chat

Google Chat API integration for messaging and collaboration in Google Workspace

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Complete Space Import

    Completes the import process for an import-mode Google Chat space and makes it visible to users. Use this action at the end of a data migration into Google Workspace, after all messages and memberships have been imported into a space that was created with `importMode: true`. Requires user authentication with domain-wide delegation (service-account flow) and the `chat.import` OAuth scope. Cannot be called with regular user OAuth.

  • Create Space Member

    Creates a membership for a user, Chat app, or Google Group in a space. When creating a membership, if the member has auto-accept turned off, they're invited and must accept the invitation before joining. Use this action when you need to add a new member to a Google Chat space. This can be used to invite individual users, add Chat apps, or add Google Groups to a space. If the member requires acceptance, they will receive an invitation. Note: `parent` must be the resource name of a space that already exists - this action does not create one. To start a new direct message with a user, use GOOGLE_CHAT_SET_UP_SPACE instead, which creates the DM space and adds the member in one call. Note: App authentication cannot add users external to the Workspace organization, add Google Groups, or add Chat apps to a space.

  • Create Reaction

    Creates an emoji reaction on a Google Chat message. Use this action when you need to add an emoji reaction (like 👍, ❤️, or 🎉) to an existing message in a Google Chat space. Either emoji_unicode or emoji_custom_id is required, but not both. This action is useful for acknowledging messages, voting on ideas, expressing emotions in response to messages, or building interactive message features in Google Chat bots.

  • Delete Member from Space

    Removes a user, Google Group, or app membership from a Google Chat space using its membership resource name. The request can use Google Workspace administrator privileges when authorized. A membership that is not found is reported as an error.

  • Delete Reaction

    Deletes a reaction to a message. Use when you need to remove a reaction that was previously added to a message. Users can only delete their own reactions. This action is irreversible — once the reaction is deleted, it cannot be recovered.

  • Move Section Item

    Moves a space from one section to another in Google Chat. Use when organizing spaces into different sections, such as moving a space from the default-spaces section to a custom user-created section. The action updates the section membership of the specified space item.

  • Position Section in Sidebar

    Changes the sort order of a section in the Google Chat sidebar. Use when you need to reorder sections in the sidebar. Either sortOrder (absolute position) or relativePosition (START/END) must be provided to specify the new position.

  • Replace Message (Full)

    Updates a Google Chat message using a field mask, with support for text, cards, attachments, and other supplied properties. It can request creation of a missing message using a client-assigned ID.

  • Update Member

    Updates a user's membership role in a Google Chat space, such as changing between member and manager.

  • Update Message

    Updates a Google Chat message's text, cards, or other supported properties using an update mask. With allowMissing enabled, it can create a message when the specified message is missing; permitted updates depend on authentication and permissions.

  • Update section

    Updates a section's display name in Google Chat. This action uses patch semantics for partial updates. Use when you need to rename an existing custom section in Google Chat. Only sections of type 'CUSTOM_SECTION' can be updated. System sections (like 'default-direct-messages', 'default-spaces', 'default-apps') cannot have their display names modified. Requires user authentication with the 'https://www.googleapis.com/auth/chat.users.sections' scope.

  • Update Space

    Updates an existing Google Chat space's display name, description, guidelines, history state, or predefined permission settings using an update mask. It can request administrator access when authorized.

  • Update Space Notification Setting

    Updates the notification settings for a user in a space. Use when you need to modify how a user receives notifications in a specific space, such as muting a noisy channel or changing the notification level to only important messages. Requires user authentication with the chat.users.spacesettings scope.

  • Update Space Read State

    Updates a user's read state within a space, used to mark messages as read or unread. Use this action when you need to programmatically mark a Google Chat space as read or update the user's read position in a space. Note: To mark a space as unread, set lastReadTime to a value earlier than the latest message timestamp. To mark as read, set it to any value later than the latest message.