# Google Chat API & Chat MCP Documentation > Official developer documentation, REST/gRPC API references, and Model Context Protocol (MCP) tool definitions for building Google Chat apps, AI agents, and integrations on Google Workspace. ## How AI coding agents should use this documentation - **Fetch clean Markdown (`.md.txt`):** Every internal documentation page on `developers.google.com/workspace/...` is available as clean Markdown by appending `.md.txt` before any `?query` or `#fragment` (or by sending the HTTP header `Accept: text/markdown`). - **Always use Cards v2 (`cardsV2`), never Cards v1:** When constructing card messages or dialogs, always populate `Message.cardsV2` (`CardWithId` wrapping `google.apps.card.v1.Card`). Never generate deprecated `Message.cards` (Cards v1) payloads. - **Choose the right authentication model:** Use **App authentication** (service account with scope `https://www.googleapis.com/auth/chat.bot`) when acting as the Chat app itself (including sending `cardsV2` messages). Use **User authentication** (OAuth 2.0 scopes such as `chat.messages`, `chat.spaces`, `chat.memberships`) when acting on behalf of a human user; user-authenticated `messages.create` calls support `text`, whereas `cardsV2` requires app authentication. Use **Incoming webhooks** only for one-way notifications into a single space without interactive callbacks. - **Google Chat MCP Server (`chatmcp.googleapis.com`):** Connect MCP hosts to `https://chatmcp.googleapis.com/mcp/v1` with OAuth 2.0 bearer tokens to invoke official Chat tools (`list_messages`, `search_messages`, `search_conversations`, `send_message`, `list_memberships`, `mark_as_read`, `mark_as_unread`, `update_notification_settings`, `get_notification_settings`). - **Message size & formatting syntax:** Maximum `Message` payload size is 32,000 bytes. For `Message.text`, Chat API supports standard Markdown (`MARKUP_SYNTAX_MARKDOWN`, default for newly created and unconfigured apps) and Chat markup (`MARKUP_SYNTAX_CHAT`: `*bold*`, `_italic_`, `~strikethrough~`, ``, ``, default for existing configured apps and incoming webhooks). ## Overview - [Google Chat overview](https://developers.google.com/workspace/chat.md.txt): Use the Google Chat API to build Chat apps that bring your services and resources right into Google Chat, letting users get information and take action... ## Guides - Get started - [Develop with Google Chat overview](https://developers.google.com/workspace/chat/overview.md.txt): This page provides an overview of the Google Chat API and Google Chat apps. - [Build with AI](https://developers.google.com/workspace/chat/build-with-ai.md.txt): Learn how to use AI coding tools with official Google Chat documentation, Markdown indexes, and Model Context Protocol (MCP) servers. - [Develop on Google Workspace](https://developers.google.com/workspace/guides/get-started.md.txt): Google Workspace offers a wide range of developer products and tools that let you connect your service with Google Workspace or extend Google Workspace apps... - [Quickstarts - Call the Chat API - Apps Script](https://developers.google.com/workspace/chat/api/guides/quickstart/apps-script.md.txt): Create a Google Apps Script that makes requests to the Google Chat API. - [Quickstarts - Call the Chat API - Java](https://developers.google.com/workspace/chat/api/guides/quickstart/java.md.txt): Create a Java command-line application that makes requests to the Google Chat API. - [Quickstarts - Call the Chat API - Node.js](https://developers.google.com/workspace/chat/api/guides/quickstart/nodejs.md.txt): Create a Node.js command-line application that makes requests to the Google Chat API. - [Quickstarts - Call the Chat API - Python](https://developers.google.com/workspace/chat/api/guides/quickstart/python.md.txt): Create a Python command-line application that makes requests to the Google Chat API. - [Quickstarts - Build a basic interactive Chat app - HTTP service](https://developers.google.com/workspace/chat/quickstart/gcf-app.md.txt): This page explains how to build an HTTP Google Chat app using Google Cloud services. - [Quickstarts - Build a basic interactive Chat app - Apps Script](https://developers.google.com/workspace/chat/quickstart/apps-script-app.md.txt): This page explains how to build a Google Chat app using Google Apps Script. - [Quickstarts - Build a basic interactive Chat app - Pub/Sub](https://developers.google.com/workspace/chat/quickstart/pub-sub.md.txt): This page explains how to create a Google Chat app that receives events from Chat using Pub/Sub. - [Quickstarts - Build a basic interactive Chat app - Agent Development Kit (ADK)](https://developers.google.com/workspace/chat/quickstart-adk-agent.md.txt): This page explains how to build a Google Chat app that interfaces with an Agent Development Kit (ADK) AI agent hosted in Vertex AI Agent Engine. - [Quickstarts - Build a basic interactive Chat app - Agent2Agent (A2A)](https://developers.google.com/workspace/chat/quickstart-a2a-agent.md.txt): This page explains how to build a Google Chat app that interfaces with an AI agent that uses the Agent2Agent (A2A) protocol. - [Quickstarts - Build a basic interactive Chat app - Agent2UI (A2UI)](https://developers.google.com/workspace/chat/quickstart-a2ui-agent.md.txt): This page explains how to build a Google Chat app that interfaces with an AI agent that uses the Agent2UI (A2UI) protocol. - [Quickstarts - Build a basic interactive Chat app - Dialogflow CX](https://developers.google.com/workspace/chat/build-dialogflow-chat-app-natural-language.md.txt): This page explains how to build a Google Chat app that can both understand and respond with natural language using Dialogflow. - [Quickstarts - Build a basic interactive Chat app - Dialogflow ES](https://developers.google.com/workspace/chat/quickstart-dialogflow-es.md.txt): This page explains how to build a Google Chat app that uses Dialogflow ES to understand and respond to natural language. - [Quickstarts - Build a basic interactive Chat app - Gemini Enterprise](https://developers.google.com/workspace/chat/quickstart-ge-agent.md.txt): This page explains how to build a Google Chat app that interfaces with a Gemini Enterprise AI agent. - [Quickstarts - Build a basic interactive Chat app - Webhook](https://developers.google.com/workspace/chat/quickstart/webhooks.md.txt): This page describes how to set up a webhook to send asynchronous messages into a Google Chat space using external triggers. - [Quickstarts - Build a basic interactive Chat app - AppSheet](https://support.google.com/appsheet/answer/12923581) - [Authenticate and authorize - Authenticate with Chat](https://developers.google.com/workspace/chat/authenticate-authorize.md.txt): Authentication and authorization are mechanisms used to verify identity and access to resources, respectively. - [Authenticate and authorize - Authenticate as a user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user.md.txt): This guide explains how to use OAuth 2.0 with users' Google credentials to access the Google Chat API. - [Authenticate and authorize - Authenticate as an app](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app.md.txt): This guide explains how to set up and use a service account to access the Google Chat API on behalf of a Chat app. - [Authenticate and authorize - Verify requests from Chat](https://developers.google.com/workspace/chat/verify-requests-from-chat.md.txt): For Google Chat apps built on HTTP endpoints, this section explains how to verify that the requests to your endpoint come from Chat. - [Authenticate and authorize - Manage granular OAuth permissions for Chat apps](https://developers.google.com/workspace/chat/authenticate-authorize-granular-oauth-permissions.md.txt): Google Chat apps that use user authentication must support granular OAuth permissions to allow users to grant a subset of requested scopes. - [Call the Chat API - Install client libraries](https://developers.google.com/workspace/chat/libraries.md.txt): Client libraries optimize the developer experience for calling the Google Chat API by reducing the boilerplate code you have to write. - [Call the Chat API - Configure the Chat API](https://developers.google.com/workspace/chat/configure-chat-api.md.txt): Each Google Chat app that you create requires its own Google Cloud project with the Chat API enabled and configured. ## Guides - Plan - [Identify your users' needs](https://developers.google.com/workspace/chat/audience.md.txt): This page describes how to account for your users' needs when designing a Google Chat app. - [Define all user journeys](https://developers.google.com/workspace/chat/journeys.md.txt): This page describes how to define and map the user journeys of your Google Chat app. - [Choose a Chat app architecture](https://developers.google.com/workspace/chat/structure.md.txt): This page describes common service architecture approaches that are used to create Google Chat apps. - [Design user interactions](https://developers.google.com/workspace/chat/interactivity.md.txt): This page describes how Google Chat apps can design and respond to interactions with users. ## Guides - Build - [Send and manage messages - Overview](https://developers.google.com/workspace/chat/messages-overview.md.txt): This page explains the differences between text and card messages. - [Send and manage messages - Send a message](https://developers.google.com/workspace/chat/create-messages.md.txt): This guide explains how to use the create method on the Message resource of the Google Chat API. - [Send and manage messages - Stream messages](https://developers.google.com/workspace/chat/stream-messages.md.txt): This guide explains how to stream messages incrementally in Google Chat using the StreamMessage resource in the Chat API. - [Send and manage messages - Create and update user cards](https://developers.google.com/workspace/chat/create-update-interactive-cards.md.txt): This guide explains how to use the Google Chat API to create messages that contain interactive cards on behalf of users, and how to update those cards... - [Send and manage messages - Format messages](https://developers.google.com/workspace/chat/format-messages.md.txt): This page explains how Google Chat apps can format text to send messages. - [Send and manage messages - Build user interfaces - Build cards](https://developers.google.com/workspace/chat/design-components-card-dialog.md.txt): This page describes how to build the components and structure of a card. - [Send and manage messages - Build user interfaces - Add text and images](https://developers.google.com/workspace/chat/add-text-image-card-dialog.md.txt): This page explains how to add and format text and images to cards. - [Send and manage messages - Build user interfaces - Add interactive UI elements](https://developers.google.com/workspace/chat/design-interactive-card-dialog.md.txt): This page explains how to add widgets and UI elements to cards so that users can interact with your Google Chat app, such as by clicking a button or... - [Send and manage messages - Manage messages - Get a message](https://developers.google.com/workspace/chat/get-messages.md.txt): This guide explains how to use the get method on the Message resource of the Google Chat API to return details about a text or card message. - [Send and manage messages - Manage messages - List messages](https://developers.google.com/workspace/chat/list-messages.md.txt): This guide explains how to use the list method on the Message resource of the Google Chat API to see a paginated, filterable list of messages in a space. - [Send and manage messages - Manage messages - Search for messages](https://developers.google.com/workspace/chat/search-messages.md.txt): This document explains how to use the search method on the Message resource of the Google Chat API to search for messages that the authenticated user has... - [Send and manage messages - Manage messages - Update messages](https://developers.google.com/workspace/chat/update-messages.md.txt): This guide explains how to use the update method on the Message resource of the Google Chat API to update a text or card message in a space. - [Send and manage messages - Manage messages - Delete a message](https://developers.google.com/workspace/chat/delete-messages.md.txt): This guide explains how to use the delete method on the Message resource of the Google Chat API to delete a text or card message. - [Send and manage messages - Manage messages - Pin a message](https://developers.google.com/workspace/chat/pin-messages.md.txt): With the MessagePin resource in the Chat API, your app can pin messages, unpin messages, and get a list of all pinned messages in Google Chat spaces. - [Send and manage messages - Manage messages - Archive messages](https://developers.google.com/workspace/chat/chat-archiving.md.txt): Google Workspace administrators can set up a third-party archiving service to archive Google Chat messages and other content. - [Send and manage messages - Check message read state - Get read state for a space message](https://developers.google.com/workspace/chat/get-space-read-state.md.txt): This guide explains how to use the get method on the SpaceReadState resource of the Google Chat API to get details about a user's read state within a space. - [Send and manage messages - Check message read state - Update read state for a space message](https://developers.google.com/workspace/chat/update-space-read-state.md.txt): This guide explains how to use the update method on the SpaceReadState resource of the Google Chat API to mark spaces as read or unread. - [Send and manage messages - Check message read state - Get read state for a thread message](https://developers.google.com/workspace/chat/get-thread-read-state.md.txt): This guide explains how to use the get method on the ThreadReadState resource of the Google Chat API to get details about a user's read state within a... - [Send and manage messages - Check message read state - Update read state for a thread message](https://developers.google.com/workspace/chat/update-thread-read-state.md.txt): This guide explains how to use the update method on the ThreadReadState resource of the Google Chat API to mark message threads as read or unread. - [Work with spaces - Create a named space](https://developers.google.com/workspace/chat/create-spaces.md.txt): This guide explains how to create a named space using the create method on the Space resource of the Google Chat API. - [Work with spaces - Create a space and add members](https://developers.google.com/workspace/chat/set-up-spaces.md.txt): This guide explains how to use the setUp method on the Space resource of the Google Chat API to create a Chat space, and add members to it. - [Work with spaces - Get details about a space](https://developers.google.com/workspace/chat/get-spaces.md.txt): This guide explains how to use the get method on a Space resource of the Google Chat API to see details about a space, like its display name, description... - [Work with spaces - Find a direct message space](https://developers.google.com/workspace/chat/find-direct-message-in-spaces.md.txt): This guide explains how to use the findDirectMessage method on the Space resource of the Google Chat API to get details about a direct message (DM) space. - [Work with spaces - Find a group chat](https://developers.google.com/workspace/chat/find-group-chats.md.txt): This guide explains how to find group chats that contain the calling user and a specified list of other users. - [Work with spaces - List spaces](https://developers.google.com/workspace/chat/list-spaces.md.txt): This guide explains how to use the list method on the Space resource of the Google Chat API to list spaces. - [Work with spaces - Search for spaces](https://developers.google.com/workspace/chat/search-spaces.md.txt): This guide explains how to use the search method on the Space resource of the Google Chat API to search for named spaces in a Google Workspace organization. - [Work with spaces - Update a space](https://developers.google.com/workspace/chat/update-spaces.md.txt): This guide explains how to use the patch method on the Space resource of the Google Chat API to update a space. - [Work with spaces - Delete a space](https://developers.google.com/workspace/chat/delete-spaces.md.txt): This guide explains how use the delete method on the Space resource of the Google Chat API to delete a named space when it's no longer needed. - [Work with spaces - Get a user's space notification settings](https://developers.google.com/workspace/chat/get-space-notification-setting.md.txt): This guide explains how to use the get method on the SpaceNotificationSetting resource of the Google Chat API to get a user's space notification settings. - [Work with spaces - Update a user's space notification settings](https://developers.google.com/workspace/chat/update-space-notification-setting.md.txt): This guide explains how to use the patch method on the SpaceNotificationSetting resource of the Google Chat API to update a user's space notification settings. - [Organize spaces into sections - Create a section](https://developers.google.com/workspace/chat/create-section.md.txt): This guide explains how to use the create method on the Section resource of the Google Chat API to create a new custom section in Google Chat. - [Organize spaces into sections - Update a section](https://developers.google.com/workspace/chat/update-section.md.txt): This guide explains how to use the patch method on the Section resource of the Google Chat API to update a custom section in Google Chat. - [Organize spaces into sections - Delete a section](https://developers.google.com/workspace/chat/delete-section.md.txt): This guide explains how to use the delete method on the Section resource of the Google Chat API to delete a custom section in Google Chat. - [Organize spaces into sections - Change the position of a section](https://developers.google.com/workspace/chat/position-section.md.txt): This guide explains how to use the position method on the Section resource of the Google Chat API to change the sort order of a section in Google Chat. - [Organize spaces into sections - List sections](https://developers.google.com/workspace/chat/list-sections.md.txt): This guide explains how to use the list method on the Section resource of the Google Chat API to list sections available to the authenticated user in Google... - [Organize spaces into sections - List spaces in a section](https://developers.google.com/workspace/chat/list-section-items.md.txt): This guide explains how to use the list method on the SectionItem resource of the Google Chat API to list items (such as spaces) in a section. - [Organize spaces into sections - Move a space to a different section](https://developers.google.com/workspace/chat/move-section-item.md.txt): This guide explains how to use the move method on the SectionItem resource of the Google Chat API to move an item (such as a space) from one section to another. - [Manage members in spaces - Invite or add a user, Google Group, or Chat app to a space](https://developers.google.com/workspace/chat/create-members.md.txt): This guide explains how to use the create method on the Membership resource of the Google Chat API to invite or add a user, Google Group, or Chat app to a... - [Manage members in spaces - Get details about a membership](https://developers.google.com/workspace/chat/get-members.md.txt): This guide explains how to use the get method on the Membership resource of the Google Chat API to get details about a membership in a space. - [Manage members in spaces - List members in a space](https://developers.google.com/workspace/chat/list-members.md.txt): This guide explains how to use the list method on the Membership resource of the Google Chat API to list members in a space as a paginated, filterable list... - [Manage members in spaces - Make a user a space manager or regular member](https://developers.google.com/workspace/chat/update-members.md.txt): This guide explains how to use the update method on the Membership resource of the Google Chat API to change attributes about a membership, like changing a... - [Manage members in spaces - Remove a member from a space](https://developers.google.com/workspace/chat/delete-members.md.txt): This guide explains how to use the delete method on the Membership resource of the Google Chat API to remove members from a space, also known as deleting a... - [React to messages - Add a reaction to a message](https://developers.google.com/workspace/chat/create-reactions.md.txt): This guide explains how to use the create method on the Reaction resource of the Google Chat API to add a reaction to a message - like 👍, 🚲, and 🌞. - [React to messages - List reactions for a message](https://developers.google.com/workspace/chat/list-reactions.md.txt): This guide explains how to use the list method on the Reaction resource of the Google Chat API to list reactions for a message - like 👍, 🚲, and 🌞. - [React to messages - Delete a reaction from a message](https://developers.google.com/workspace/chat/delete-reactions.md.txt): This guide explains how to use the delete method on the Reaction resource of the Google Chat API to delete a reaction from a message - like 👍, 🚲, and 🌞. - [Work with custom emojis - Create a custom emoji](https://developers.google.com/workspace/chat/create-custom-emoji.md.txt): This guide explains how to use the create method on the CustomEmoji resource of the Google Chat API to create a new custom emoji in a Google Workspace... - [Work with custom emojis - Delete a custom emoji](https://developers.google.com/workspace/chat/delete-custom-emoji.md.txt): This guide explains how to use the delete method on the CustomEmoji resource of the Google Chat API to delete a custom emoji in a Google Workspace organization. - [Work with custom emojis - Get details about a custom emoji](https://developers.google.com/workspace/chat/get-custom-emoji.md.txt): This guide explains how to use the get method on the CustomEmoji resource of the Google Chat API to get details about a custom emoji. - [Work with custom emojis - List custom emojis in an organization](https://developers.google.com/workspace/chat/list-custom-emojis.md.txt): This guide explains how to use the list method on the CustomEmoji resource of the Google Chat API to list custom emoji visible to the authenticated user in... - [Upload and download attachments - Upload media as a file attachment](https://developers.google.com/workspace/chat/upload-media-attachments.md.txt): This guide explains how to use the upload method on the Media resource of the Google Chat API to upload media (a file) to Google Chat and then attach it to... - [Upload and download attachments - Download media as a file attachment](https://developers.google.com/workspace/chat/download-media-attachments.md.txt): This guide explains how to use the download method on the Media resource of the Google Chat API to download media (a file) from a message in Google Chat. - [Upload and download attachments - Get metadata about a message attachment](https://developers.google.com/workspace/chat/get-media-attachments.md.txt): This guide explains how to use the get method on the Attachment resource of the Google Chat API to get metadata about a message attachment. - [Interact with users - Overview](https://developers.google.com/workspace/chat/interact-users-overview.md.txt): This page provides an overview of how to build an interactive Google Chat app. - [Interact with users - Receive and respond to user interactions](https://developers.google.com/workspace/chat/receive-respond-interactions.md.txt): This page describes how your Google Chat app can receive and respond to user interactions in Google Chat. - [Interact with users - Respond to commands](https://developers.google.com/workspace/chat/commands.md.txt): This page explains how to set up and respond to commands as a Google Chat app. - [Interact with users - Build interactive dialogs](https://developers.google.com/workspace/chat/dialogs.md.txt): This page describes how a Google Chat app can open dialogs to display user interfaces (UIs) and respond to users. - [Interact with users - Preview links](https://developers.google.com/workspace/chat/preview-links.md.txt): To prevent context switching when users share a link in Google Chat, your Chat app can preview the link by attaching a card to their message that gives more... - [Interact with users - Build a homepage for your Chat app](https://developers.google.com/workspace/chat/send-app-home-card-message.md.txt): This page explains how to build a homepage for direct messages with your Google Chat app. - [Interact with users - Collect and process information from users](https://developers.google.com/workspace/chat/read-form-data.md.txt): This guide describes how Google Chat apps can collect and process information from users by building form inputs in card-based interfaces. - [Interact with users - Organize conversations into sessions](https://developers.google.com/workspace/chat/sessions.md.txt): Note: This is a Developer Preview Program feature. - [Interact with users - Connect to external systems and tools](https://developers.google.com/workspace/chat/connect-web-services-tools.md.txt): This page describes how to connect a Google Chat app with a service or tool outside of Google Chat. - [Work with events from Google Chat - Overview](https://developers.google.com/workspace/chat/events-overview.md.txt): This page explains how Google Chat apps can receive and respond to events in Google Chat. - [Work with events from Google Chat - Get details about a space event](https://developers.google.com/workspace/chat/get-space-event.md.txt): This guide explains how to use the get method on the SpaceEvent resource of the Google Chat API to get details about an event from a Google Chat space. - [Work with events from Google Chat - List events from a space](https://developers.google.com/workspace/chat/list-space-events.md.txt): This guide explains how to use the list method on the SpaceEvent resource of the Google Chat API to list changes to resources in a space. - [Work with events from Google Chat - Subscribe to events using the Google Workspace Events API](https://developers.google.com/workspace/events.md.txt): This page provides an overview of the Google Workspace Events API and explains how to use the API to subscribe to events across Google Workspace. - [Identify and specify Google Chat users](https://developers.google.com/workspace/chat/identify-reference-users.md.txt): This page explains how Google Chat apps and developers can identify and specify Chat users. - [Manage users' availability status](https://developers.google.com/workspace/chat/manage-user-availability.md.txt): This guide explains how to use the Google Chat API to manage a user's availability status and custom status. - [Write actionable error messages](https://developers.google.com/workspace/chat/write-error-messages.md.txt): This page describes best practices to write actionable error messages that tell the user how to fix the issue so that they can complete their goal. - [Explore Chat app samples and tutorials](https://developers.google.com/workspace/chat/samples.md.txt): Explore samples that show you how to build and deploy different kinds of Google Chat apps. ## Guides - Deploy, test, and troubleshoot - [Create and manage deployments](https://developers.google.com/workspace/chat/create-manage-deployments.md.txt): This page explains how to create and management deployments for your Google Chat app. - [Test interactive features](https://developers.google.com/workspace/chat/test-interactive-features.md.txt): This page explains how to configure and install a test version of your Google Chat app so that you can try out interactive features - such as Chat app... - [Log errors - Turn on error logging](https://developers.google.com/workspace/chat/turn-on-error-logging.md.txt): This page describes how to turn on Google Chat app error logging, so that you can query and view error logs in Google Cloud Logs Explorer while testing your... - [Log errors - Query error logs](https://developers.google.com/workspace/chat/query-logs.md.txt): This guide describes how to query Google Chat app error logs in Google Cloud Logs Explorer. - [Troubleshoot - Overview](https://developers.google.com/workspace/chat/troubleshoot-fix-chat-errors.md.txt): This page helps you view, debug, and fix Google Chat apps, card, and dialog errors. - [Troubleshoot - Troubleshoot Chat app errors](https://developers.google.com/workspace/chat/troubleshoot-chat-apps.md.txt): This section describes common issues that you can encounter while building and testing Google Chat apps. - [Troubleshoot - Troubleshoot card and dialog errors](https://developers.google.com/workspace/chat/troubleshoot-cards.md.txt): This guide describes common card-related errors that you might encounter, and how to fix them. - [Troubleshoot - Debug Chat apps](https://developers.google.com/workspace/chat/debug-apps.md.txt): As a Google Chat apps developer you might need to debug code to test changes or troubleshoot complex issues. - [Convert a Chat app to a Google Workspace add-on](https://developers.google.com/workspace/chat/convert.md.txt): If you've built and published a Chat app that isn't a Google Workspace add-on, this page shows how to convert it to a Google Workspace add-on that extends... ## Guides - Publish to the Google Workspace Marketplace - [Publish Chat apps to the Google Workspace Marketplace](https://developers.google.com/workspace/marketplace/how-to-publish.md.txt): This page explains the steps to publish an app to the Google Workspace Marketplace. - [Process and review requirements for public Chat apps](https://developers.google.com/workspace/marketplace/about-app-review.md.txt): To publish an app publicly to the Google Workspace Marketplace, Google reviews your app and its listing to make sure they meet Google's design, content, and... - [Maintain published Chat apps - Update or unpublish an app listing in the Google Workspace Marketplace](https://developers.google.com/workspace/marketplace/manage-app-listing.md.txt): This page describes how to update or unpublish your app's listing in Google Workspace Marketplace. - [Maintain published Chat apps - Migrate Chat apps after merging organizations - Determine if Chat apps need to migrate](https://developers.google.com/workspace/chat/determine-chat-app-migration.md.txt): If your Google Workspace organization or domain merges with another one, you might need to migrate your Google Chat app too. - [Maintain published Chat apps - Migrate Chat apps after merging organizations - Migrate Chat apps to a new organization](https://developers.google.com/workspace/chat/migrate-apps.md.txt): If you merge Google Workspace organizations, you might need to migrate your Google Chat app so that it continues working. - [Turn off or delete an app](https://developers.google.com/workspace/chat/turn-off-app.md.txt): If you no longer want your interactive Google Chat app to be available to users, you can turn off your Chat app, unpublish your app from Google Workspace... ## Guides - Manage Chat as a Google Workspace administrator - [Overview](https://developers.google.com/workspace/chat/admin-overview.md.txt): This page provides an overview of how Google Workspace administrators can use the Google Chat API to manage Google Chat spaces across their organization. - [Search for and manage spaces in your organization](https://developers.google.com/workspace/chat/search-manage-admin.md.txt): This guide explains how a Google Workspace administrator can use the search method on a Space resource of the Google Chat API with administrator privileges... - [Make a space discoverable to specific users](https://developers.google.com/workspace/chat/space-target-audience.md.txt): This page explains how to use the Google Chat API to share a Google Chat space with specific users in a Google Workspace organization, so that they can... - [Migrate your organization to Chat - Overview](https://developers.google.com/workspace/chat/import-data-overview.md.txt): This page provides an overview about Google Chat apps that help Google Workspace organizations migrate to Google Chat from other messaging platforms. - [Migrate your organization to Chat - Authorize Chat apps to import data](https://developers.google.com/workspace/chat/authorize-import.md.txt): With the Google Chat API, apps can import data from other messaging platforms into Google Chat by using _import mode_ spaces. - [Migrate your organization to Chat - Import data to Chat](https://developers.google.com/workspace/chat/import-data.md.txt): With the Google Chat API, you can import data from your other messaging platforms into Google Chat. ## Reference - [Overview](https://developers.google.com/workspace/chat/api/reference.md.txt): This page provides an overview of how to use Google Chat API and its reference documentation. - [RPC reference - Overview](https://developers.google.com/workspace/chat/api/reference/rpc.md.txt): The Google Chat API lets you build Chat apps to integrate your services with Google Chat and manage Chat resources such as spaces, members, and messages. - [RPC reference - apps.extensions.markup](https://developers.google.com/workspace/chat/api/reference/rpc/apps.extensions.markup.md.txt): For a SelectionInput widget that uses a multiselect menu, a data source from Google Chat. - [RPC reference - google.apps.card.v1](https://developers.google.com/workspace/chat/api/reference/rpc/google.apps.card.v1.md.txt): An action that describes the behavior when the form is submitted. - [RPC reference - google.chat.logging.v1](https://developers.google.com/workspace/chat/api/reference/rpc/google.chat.logging.v1.md.txt): JSON payload of error messages. - [RPC reference - google.chat.v1](https://developers.google.com/workspace/chat/api/reference/rpc/google.chat.v1.md.txt): Enables developers to build Chat apps and integrations on Google Chat Platform. - [RPC reference - google.rpc](https://developers.google.com/workspace/chat/api/reference/rpc/google.rpc.md.txt): The canonical error codes for gRPC APIs. - [RPC reference - google.type](https://developers.google.com/workspace/chat/api/reference/rpc/google.type.md.txt): Represents a color in the RGBA color space. - [REST reference - Overview](https://developers.google.com/workspace/chat/api/reference/rest.md.txt): The Google Chat API lets you build Chat apps to integrate your services with Google Chat and manage Chat resources such as spaces, members, and messages. - [REST reference - REST Resources - customEmojis - Overview](https://developers.google.com/workspace/chat/api/reference/rest/v1/customEmojis.md.txt): Represents a custom emoji . - [REST reference - REST Resources - customEmojis - create](https://developers.google.com/workspace/chat/api/reference/rest/v1/customEmojis/create.md.txt): Creates a custom emoji. - [REST reference - REST Resources - customEmojis - delete](https://developers.google.com/workspace/chat/api/reference/rest/v1/customEmojis/delete.md.txt): Deletes a custom emoji. - [REST reference - REST Resources - customEmojis - get](https://developers.google.com/workspace/chat/api/reference/rest/v1/customEmojis/get.md.txt): Returns details about a custom emoji. - [REST reference - REST Resources - customEmojis - list](https://developers.google.com/workspace/chat/api/reference/rest/v1/customEmojis/list.md.txt): Lists custom emojis visible to the authenticated user. - [REST reference - REST Resources - media - Overview](https://developers.google.com/workspace/chat/api/reference/rest/v1/media.md.txt): A file in Google Chat. - [REST reference - REST Resources - media - download](https://developers.google.com/workspace/chat/api/reference/rest/v1/media/download.md.txt): Downloads uploaded media, but not Google Drive files. - [REST reference - REST Resources - media - upload](https://developers.google.com/workspace/chat/api/reference/rest/v1/media/upload.md.txt): Uploads an attachment. - [REST reference - REST Resources - spaces - Overview](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.md.txt): A space in Google Chat. - [REST reference - REST Resources - spaces - completeImport](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/completeImport.md.txt): Completes the import process for the specified space and makes it visible to users. - [REST reference - REST Resources - spaces - create](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create.md.txt): Creates a space. Can be used to create a named space, or a group chat in Import mode . - [REST reference - REST Resources - spaces - delete](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/delete.md.txt): Deletes a named space. - [REST reference - REST Resources - spaces - findDirectMessage](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/findDirectMessage.md.txt): Returns the existing direct message with the specified user. - [REST reference - REST Resources - spaces - findGroupChats](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/findGroupChats.md.txt): Returns all spaces with spaceType == GROUP_CHAT , whose human memberships contain exactly the calling user, and the users specified in... - [REST reference - REST Resources - spaces - get](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/get.md.txt): Returns details about a space. - [REST reference - REST Resources - spaces - list](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/list.md.txt): Lists spaces the caller is a member of. - [REST reference - REST Resources - spaces - patch](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/patch.md.txt): Updates a space. For an example, see Update a space . - [REST reference - REST Resources - spaces - search](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/search.md.txt): Returns a list of spaces in a Google Workspace organization. - [REST reference - REST Resources - spaces - setup](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/setup.md.txt): Creates a space and adds specified users to it. - [REST reference - REST Resources - spaces.members - Overview](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.members.md.txt): Represents a membership relation in Google Chat, such as whether a user or Chat app is invited to, part of, or absent from a space. - [REST reference - REST Resources - spaces.members - create](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.members/create.md.txt): Creates a membership for the calling Chat app, a user, or a Google Group. - [REST reference - REST Resources - spaces.members - delete](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.members/delete.md.txt): Deletes a membership. - [REST reference - REST Resources - spaces.members - get](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.members/get.md.txt): Returns details about a membership. - [REST reference - REST Resources - spaces.members - list](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.members/list.md.txt): Lists memberships in a space. - [REST reference - REST Resources - spaces.members - patch](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.members/patch.md.txt): Updates a membership. - [REST reference - REST Resources - spaces.messagePins - Overview](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messagePins.md.txt): A pin on a Chat message. - [REST reference - REST Resources - spaces.messagePins - create](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messagePins/create.md.txt): Creates a message pin. - [REST reference - REST Resources - spaces.messagePins - delete](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messagePins/delete.md.txt): Deletes a message pin. - [REST reference - REST Resources - spaces.messagePins - list](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messagePins/list.md.txt): Lists message pins in a space. - [REST reference - REST Resources - spaces.messages - Overview - Messages](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.md.txt): A message in a Google Chat space. - [REST reference - REST Resources - spaces.messages - Overview - Cards v1 (Deprecated)](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards-v1.md.txt): A card is a UI element that can contain UI widgets such as text and images. - [REST reference - REST Resources - spaces.messages - Overview - Cards v2](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards.md.txt) - [REST reference - REST Resources - spaces.messages - create](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/create.md.txt): Creates a message in a Google Chat space. - [REST reference - REST Resources - spaces.messages - delete](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/delete.md.txt): Deletes a message. For an example, see Delete a message . - [REST reference - REST Resources - spaces.messages - get](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/get.md.txt): Returns details about a message. - [REST reference - REST Resources - spaces.messages - list](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/list.md.txt): Lists messages in a space that the caller is a member of, including messages from blocked members and spaces. - [REST reference - REST Resources - spaces.messages - patch](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/patch.md.txt): Updates a message. There's a difference between the patch and update methods. - [REST reference - REST Resources - spaces.messages - replaceCards](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/replaceCards.md.txt): Replaces the cards included in a message. - [REST reference - REST Resources - spaces.messages - search](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/search.md.txt): Searches for messages in Google Chat that the calling user has access to. - [REST reference - REST Resources - spaces.messages - update](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages/update.md.txt): Updates a message. There's a difference between the patch and update methods. - [REST reference - REST Resources - spaces.messages.attachments - Overview](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments.md.txt): An attachment in Google Chat. - [REST reference - REST Resources - spaces.messages.attachments - get](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments/get.md.txt): Gets the metadata of a message attachment. - [REST reference - REST Resources - spaces.messages.reactions - Overview](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.reactions.md.txt): A reaction to a message. - [REST reference - REST Resources - spaces.messages.reactions - create](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.reactions/create.md.txt): Creates a reaction and adds it to a message. - [REST reference - REST Resources - spaces.messages.reactions - delete](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.reactions/delete.md.txt): Deletes a reaction to a message. - [REST reference - REST Resources - spaces.messages.reactions - list](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.reactions/list.md.txt): Lists reactions to a message. - [REST reference - REST Resources - spaces.spaceEvents - Overview](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents.md.txt): An event that represents a change or activity in a Google Chat space. - [REST reference - REST Resources - spaces.spaceEvents - get](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents/get.md.txt): Returns an event from a Google Chat space. - [REST reference - REST Resources - spaces.spaceEvents - list](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents/list.md.txt): Lists events from a Google Chat space. - [REST reference - REST Resources - spaces.threads - Overview](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.threads.md.txt): A thread in a Google Chat space. - [REST reference - REST Resources - spaces.threads - get](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.threads/get.md.txt): Gets details about a thread in a 1:1 App DM space. - [REST reference - REST Resources - spaces.threads - list](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.threads/list.md.txt): Lists threads in a 1:1 App DM space. - [REST reference - REST Resources - spaces.threads - patch](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.threads/patch.md.txt): Updates a thread in a 1:1 App DM space. - [REST reference - REST Resources - spaces.streamMessages - Overview](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.streamMessages.md.txt): A streaming message in a Google Chat space. - [REST reference - REST Resources - spaces.streamMessages - appendStreamMessageContent](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.streamMessages/appendStreamMessageContent.md.txt): Appends content chunks to an existing stream message in a Google Chat space. - [REST reference - REST Resources - spaces.streamMessages - commit](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.streamMessages/commit.md.txt): Commits an active stream message into a finalized message in a Google Chat space. - [REST reference - REST Resources - spaces.streamMessages - create](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.streamMessages/create.md.txt): Initiates a new stream message in a Google Chat space. - [REST reference - REST Resources - spaces.streamMessages - delete](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.streamMessages/delete.md.txt): Deletes an active stream message in a Google Chat space. - [REST reference - REST Resources - spaces.streamMessages - patch](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.streamMessages/patch.md.txt): Updates fields in an active stream message in a Google Chat space. - [REST reference - REST Resources - users.availability - Overview](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.availability.md.txt): Represents a user's current availability information in Google Chat, including their state (for example, Active, Away, Do Not Disturb) and any custom status. - [REST reference - REST Resources - users.availability - get](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.availability/get.md.txt): Returns availability information for a human user in Google Chat. - [REST reference - REST Resources - users.availability - markAsActive](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.availability/markAsActive.md.txt): Marks user as ACTIVE in Google Chat. - [REST reference - REST Resources - users.availability - markAsAway](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.availability/markAsAway.md.txt): Marks user as AWAY in Google Chat. - [REST reference - REST Resources - users.availability - markAsDoNotDisturb](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.availability/markAsDoNotDisturb.md.txt): Marks user as DO_NOT_DISTURB in Google Chat. - [REST reference - REST Resources - users.availability - patch](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.availability/patch.md.txt): Updates availability information for a human user. - [REST reference - REST Resources - users.sections - Overview](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.sections.md.txt): Represents a section in Google Chat. - [REST reference - REST Resources - users.sections - create](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.sections/create.md.txt): Creates a section in Google Chat. - [REST reference - REST Resources - users.sections - delete](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.sections/delete.md.txt): Deletes a section of type CUSTOM_SECTION . - [REST reference - REST Resources - users.sections - list](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.sections/list.md.txt): Lists sections available to the Chat user. - [REST reference - REST Resources - users.sections - patch](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.sections/patch.md.txt): Updates a section. Only sections of type CUSTOM_SECTION can be updated. - [REST reference - REST Resources - users.sections - position](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.sections/position.md.txt): Changes the sort order of a section. - [REST reference - REST Resources - users.sections.items - Overview](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.sections.items.md.txt): A user's defined section item . - [REST reference - REST Resources - users.sections.items - list](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.sections.items/list.md.txt): Lists items in a section. - [REST reference - REST Resources - users.sections.items - move](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.sections.items/move.md.txt): Moves an item from one section to another. - [REST reference - REST Resources - users.spaces - Overview](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.spaces.md.txt): A user's read state within a space, used to identify read and unread messages. - [REST reference - REST Resources - users.spaces - getSpaceReadState](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.spaces/getSpaceReadState.md.txt): Returns details about a user's read state within a space, used to identify read and unread messages. - [REST reference - REST Resources - users.spaces - updateSpaceReadState](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.spaces/updateSpaceReadState.md.txt): Updates a user's read state within a space, used to identify read and unread messages. - [REST reference - REST Resources - users.spaces.spaceNotificationSetting - Overview](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.spaces.spaceNotificationSetting.md.txt): The notification setting of a user in a space. - [REST reference - REST Resources - users.spaces.spaceNotificationSetting - get](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.spaces.spaceNotificationSetting/get.md.txt): Gets the space notification setting. - [REST reference - REST Resources - users.spaces.spaceNotificationSetting - patch](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.spaces.spaceNotificationSetting/patch.md.txt): Updates the space notification setting. - [REST reference - REST Resources - users.spaces.threads - Overview](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.spaces.threads.md.txt): A user's read state within a thread, used to identify read and unread messages. - [REST reference - REST Resources - users.spaces.threads - getThreadReadState](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.spaces.threads/getThreadReadState.md.txt): Returns details about a user's read state within a thread, used to identify read and unread messages. - [REST reference - REST Resources - users.spaces.threads - updateThreadReadState](https://developers.google.com/workspace/chat/api/reference/rest/v1/users.spaces.threads/updateThreadReadState.md.txt): Updates a user's read state within a thread, used to identify read and unread messages. - [REST reference - Types - AccessoryWidget](https://developers.google.com/workspace/chat/api/reference/rest/v1/AccessoryWidget.md.txt): One or more interactive widgets that appear at the bottom of a message. - [REST reference - Types - Action](https://developers.google.com/workspace/chat/api/reference/rest/v1/Action.md.txt): An action that describes the behavior when the form is submitted. - [REST reference - Types - AppCommandType](https://developers.google.com/workspace/chat/api/reference/rest/v1/AppCommandType.md.txt): The type of Chat app command. - [REST reference - Types - Button](https://developers.google.com/workspace/chat/api/reference/rest/v1/Button.md.txt): A text, icon, or text and icon button that users can click. - [REST reference - Types - ButtonList](https://developers.google.com/workspace/chat/api/reference/rest/v1/ButtonList.md.txt): A list of buttons layed out horizontally. - [REST reference - Types - Card](https://developers.google.com/workspace/chat/api/reference/rest/v1/Card.md.txt): A card interface displayed in a Google Chat message or Google Workspace add-on. - [REST reference - Types - CardWithId](https://developers.google.com/workspace/chat/api/reference/rest/v1/CardWithId.md.txt): A card in a Google Chat message. - [REST reference - Types - ChatAppLogEntry](https://developers.google.com/workspace/chat/api/reference/rest/v1/ChatAppLogEntry.md.txt): JSON payload of error messages. - [REST reference - Types - Citation](https://developers.google.com/workspace/chat/api/reference/rest/v1/Citation.md.txt): Citations are inline references that can provide users more detailed information about the inline reference. - [REST reference - Types - CitedSource](https://developers.google.com/workspace/chat/api/reference/rest/v1/CitedSource.md.txt): A reference to a source of information. - [REST reference - Types - Color](https://developers.google.com/workspace/chat/api/reference/rest/v1/Color.md.txt): Represents a color in the RGBA color space. - [REST reference - Types - DialogEventType](https://developers.google.com/workspace/chat/api/reference/rest/v1/DialogEventType.md.txt): For CARD_CLICKED and MESSAGE interaction events, the types of interactions with dialogs . - [REST reference - Types - DriveDataRef](https://developers.google.com/workspace/chat/api/reference/rest/v1/DriveDataRef.md.txt): A reference to the data of a drive attachment. - [REST reference - Types - Emoji](https://developers.google.com/workspace/chat/api/reference/rest/v1/Emoji.md.txt): An emoji that is used as a reaction to a message. - [REST reference - Types - Event](https://developers.google.com/workspace/chat/api/reference/rest/v1/Event.md.txt): A Google Chat app interaction event that represents and contains data about a user's interaction with a Chat app. - [REST reference - Types - EventType](https://developers.google.com/workspace/chat/api/reference/rest/v1/EventType.md.txt): Types of Google Chat app interaction events . - [REST reference - Types - HostApp](https://developers.google.com/workspace/chat/api/reference/rest/v1/HostApp.md.txt): The Google Workspace application for a Google Workspace add-on or Google Chat app. - [REST reference - Types - Icon](https://developers.google.com/workspace/chat/api/reference/rest/v1/Icon.md.txt): An icon displayed in a widget on a card. - [REST reference - Types - ImageType](https://developers.google.com/workspace/chat/api/reference/rest/v1/ImageType.md.txt): The shape used to crop the image. - [REST reference - Types - MarkupSyntax](https://developers.google.com/workspace/chat/api/reference/rest/v1/MarkupSyntax.md.txt): Specifies the markup syntax used to format the Chat message text. - [REST reference - Types - MaterialIcon](https://developers.google.com/workspace/chat/api/reference/rest/v1/MaterialIcon.md.txt): A Google Material Icon , which includes over 2500+ options. - [REST reference - Types - OnClick](https://developers.google.com/workspace/chat/api/reference/rest/v1/OnClick.md.txt): Represents how to respond when users click an interactive element on a card, such as a button. - [REST reference - Types - SectionItem](https://developers.google.com/workspace/chat/api/reference/rest/v1/SectionItem.md.txt): A user's defined section item. - [REST reference - Types - SelectionItem](https://developers.google.com/workspace/chat/api/reference/rest/v1/SelectionItem.md.txt): An item that users can select in a selection input, such as a checkbox or switch. - [REST reference - Types - Step](https://developers.google.com/workspace/chat/api/reference/rest/v1/Step.md.txt): An individual step entry performed by a Chat app while generating a message. - [REST reference - Types - User](https://developers.google.com/workspace/chat/api/reference/rest/v1/User.md.txt): A user in Google Chat. - [Limits and quotas](https://developers.google.com/workspace/chat/limits.md.txt): Because the Google Chat API is a shared service, we apply quotas and limitations to make sure that it's used fairly by all users and to protect the overall... ## MCP server - Guides - [Configure your Chat MCP server](https://developers.google.com/workspace/chat/api/guides/configure-mcp-server.md.txt): Learn to configure and use the Chat Model Context Protocol (MCP) server. ## MCP server - Reference - [Overview](https://developers.google.com/workspace/chat/api/reference/mcp.md.txt): Chat MCP API provides remote MCP for Google Chat features. - [Tools - list_messages](https://developers.google.com/workspace/chat/api/reference/mcp/tools_list/list_messages.md.txt): Retrieves messages from a specified Google Chat conversation (Space, direct message (DM) or group DM) in Markdown format. - [Tools - search_messages](https://developers.google.com/workspace/chat/api/reference/mcp/tools_list/search_messages.md.txt): Searches for Google Chat messages using keywords and filters returning them in Markdown format. - [Tools - search_conversations](https://developers.google.com/workspace/chat/api/reference/mcp/tools_list/search_conversations.md.txt): Searches for Google Chat conversations to find conversation IDs. - [Tools - send_message](https://developers.google.com/workspace/chat/api/reference/mcp/tools_list/send_message.md.txt): Sends a Google Chat message to a conversation with Markdown formatting and optional citations. - [Tools - list_memberships](https://developers.google.com/workspace/chat/api/reference/mcp/tools_list/list_memberships.md.txt): Lists memberships in a Google Chat conversation. - [Tools - mark_as_read](https://developers.google.com/workspace/chat/api/reference/mcp/tools_list/mark_as_read.md.txt): Marks Google Chat conversations and threads as read for the calling user. - [Tools - mark_as_unread](https://developers.google.com/workspace/chat/api/reference/mcp/tools_list/mark_as_unread.md.txt): Marks a Google Chat conversation or thread as unread for the calling user. - [Tools - update_notification_settings](https://developers.google.com/workspace/chat/api/reference/mcp/tools_list/update_notification_settings.md.txt): Updates space notification preferences and mute state for a conversation (Google Chat space, group chat, or direct message), or thread follow state (... - [Tools - get_notification_settings](https://developers.google.com/workspace/chat/api/reference/mcp/tools_list/get_notification_settings.md.txt): Retrieves space notification preferences and mute state for a conversation (Google Chat space, group chat, or direct message), or thread follow state when... ## Samples - Tutorials - [Answer questions with AI in Chat spaces](https://developers.google.com/workspace/chat/tutorial-ai-knowledge-assistant.md.txt): This tutorial shows how to make a Google Chat app that answers questions based on conversations in Chat spaces with generative AI powered by Vertex AI with... - [Manage projects in Chat spaces](https://developers.google.com/workspace/chat/tutorial-project-management.md.txt): Help users create, update, and complete projects in Chat. - [Plan travels with an AI agent accessible across Google Workspace](https://developers.google.com/workspace/add-ons/samples/travel-concierge.md.txt): Coding level: Advanced Duration: 45 minutes Project type: Google Workspace add-on extending Google Chat, Gmail, Calendar, Drive, Docs, Sheets, and Slides. - [Respond to incidents (user authentication)](https://developers.google.com/workspace/chat/tutorial-incident-response-user-auth.md.txt): Respond to incidents in Chat and generate an AI-based summary of the resolution in Docs. - [Respond to incidents (app authentication)](https://developers.google.com/workspace/chat/tutorial-incident-response-app-auth.md.txt): This tutorial shows you how to make a Google Chat app that responds to incidents in real time. - [Collect and manage contacts](https://developers.google.com/workspace/chat/tutorial-contact-app.md.txt): Help users manage their personal and business contacts by collecting information in card messages and dialogs. - [Schedule meetings](https://developers.google.com/workspace/chat/tutorial-schedule-meetings.md.txt): Create Google Calendar events from a Chat space. ## Samples - Codelabs - [AI concepts in Google Chat apps](https://codelabs.developers.google.com/chat-apps-ai-concepts) - [Build apps for Google Chat with Gemini](https://codelabs.developers.google.com/codelabs/chat-apps-gemini) - [Integrate Gemini Enterprise Agents with Google Workspace](https://codelabs.developers.google.com/ge-gws-agents#4) - [Integrate Vertex AI Agents with Google Workspace](https://codelabs.developers.google.com/vertexai-gws-agents#4) - [Interactive poll](https://developers.google.com/codelabs/google-chat-poll-app) ## Samples - GitHub - [Call the Chat API - Apps Script](https://github.com/googleworkspace/apps-script-samples/tree/main/chat/advanced-service) - [Call the Chat API - Node.js](https://github.com/googleworkspace/node-samples/tree/main/chat/client-libraries) - [Call the Chat API - Java](https://github.com/googleworkspace/java-samples/tree/main/chat/client-libraries) - [Call the Chat API - Python](https://github.com/googleworkspace/python-samples/tree/main/chat/client-libraries) - [Build an interactive Chat app - Apps Script](https://github.com/googleworkspace/add-ons-samples/tree/main/apps-script/chat) - [Build an interactive Chat app - Node.js](https://github.com/googleworkspace/add-ons-samples/tree/main/node/chat) - [Build an interactive Chat app - Java](https://github.com/googleworkspace/add-ons-samples/tree/main/java/chat) - [Build an interactive Chat app - Python](https://github.com/googleworkspace/add-ons-samples/tree/main/python/chat) ## Support - [How to get help](https://developers.google.com/workspace/chat/support.md.txt): Find support channels, community forums, and issue trackers for Google Chat developers. - [Official Community Forum](https://discuss.google.dev/c/google-workspace/20) - [Stack Overflow](https://stackoverflow.com/questions/tagged/hangouts-chat) - [Issue Tracker](https://issuetracker.google.com/issues?q=componentid:350158%2B) - [Terms of Service](https://developers.google.com/workspace/terms.md.txt): Last modified: December 15, 2021 - [User data and developer policy](https://developers.google.com/workspace/workspace-api-user-data-developer-policy.md.txt): As a developer using Google Workspace APIs and our developer products and services, you often collect and manage sensitive user data. - [Release notes](https://developers.google.com/workspace/chat/release-notes.md.txt): Google Chat API release notes ## Optional - [Full Google Chat documentation corpus (llms-full.txt)](https://developers.google.com/workspace/chat/llms-full.txt): Single-file bundle containing the agent preamble, all Google Chat developer and MCP guides in Markdown, and the complete REST/RPC/MCP reference directory.