Now in Developer Preview: Enhancing Chat with the Google Chat API - Google Developers Blog Community/Events Learn Blog YouTube Search Community/Events Learn Blog YouTube Cloud Now in Developer Preview: Enhancing Chat with the Google Chat API OCT. 8, 2024 Mike Rhemtulla Product Manager Ryan Haraki Associate Product Manager Intern Share Facebook Twitter LinkedIn Mail Create spaces and memberships, using application identity The Google Chat API updates are in developer preview. To use the API, developers can apply for access through our Google Workspace Developer Preview Program. With the launch of the Google Chat API, developers have been able to extend their Chat apps to let users send and receive messaging data between Google Chat and other systems. This real-time collaboration is a critical factor in Chat apps being used in incident management, helpdesk support, workflow automations, and more. In order to further enhance Chat apps for real-time collaboration, we are excited to announce that Chat apps can now create spaces and memberships - using application identity - through the Google Workspace Developer Preview Program via the Google Chat API! What does this mean for developers? Chat apps previously have been able to create spaces and memberships on behalf of users. Now, a Chat app can create spaces and memberships using its own application identity - without needing to create these on behalf of a user - to allow for even more sophisticated and autonomous Chat apps. For example in an incident management scenario, a Chat app can quickly create a space, without any members, if it detects an incident or a service not responding. This Chat app can continue to diagnose and troubleshoot the issue, writing messages into the Chat space, and when the Chat app has determined the correct teams to loop in, it can add in the appropriate incident commanders, site reliability engineers and support teams, and anyone else needed to help resolve the issue. Learn more and get started You can enable this capability with new Chat app-specific OAuth scopes. Using these application scopes, Chat apps can create spaces, create messages, delete spaces that the app created, and more. Code snippet of the new Chat application scopes and creating a Chat space using the application identity: const auth = new chat.auth.GoogleAuth({ keyFilename: 'credentials.json', scopes: [ 'https://www.googleapis.com/auth/chat.app.spaces.create', 'https://www.googleapis.com/auth/chat.app.spaces', 'https://www.googleapis.com/auth/chat.app.delete', 'https://www.googleapis.com/auth/chat.app.memberships' ] }); const authClient = await auth.getClient(); chatClient await chat.chat({ version: 'v1', auth: authClient }); space = await chatClient.spaces.create({ requestBody: { spaceType: 'SPACE', displayName: 'Incident Management space', customer: 'customers/my_customer' } }); JavaScript Copied How to get started: Get access to new Chat API features, sign up for our Google Workspace Developer Preview Program and stay in touch with the latest updates on Google Workspace. Visit our developer documentation to explore how to authenticate and authorize Chat apps, and learn how to create spaces and add space members using application identity. Work with your Google Workspace administrator to set up the above application scopes for your Chat app. posted in: Cloud Cloud Announcements Problem-Solving Google Chat Chat apps Previous Next Related Posts Cloud Web AI Events All the news from the Google I/O 2026 Developer keynote MAY 19, 2026 AI Cloud Announcements Solutions Expanding Choice in Gemini Enterprise Agent Platform: Introducing Grounding with Parallel Web Search JULY 16, 2026 Cloud Cloud Announcements Explore Speeding Up AI: Bringing Google Colossus to PyTorch via GCSFS and Rapid Bucket APRIL 29, 2026 Mobile Web Case Studies Community Bridging the Domain Gap: AI Race Coach built with Antigravity and Gemini JULY 8, 2026 AI Announcements Solutions Evolving Spec-Driven Development: Conductor Now Supports Antigravity JULY 16, 2026 Connect Blog Bluesky Instagram LinkedIn X (Twitter) YouTube Programs Google Developer Program Google Developer Groups Google Developer Experts Accelerators Women Techmakers Google Cloud & NVIDIA Developer consoles Google API Console Google Cloud Platform Console Google Play Console Firebase Console Actions on Google Console Cast SDK Developer Console Chrome Web Store Dashboard Google Home Developer Console Android Chrome Firebase Google Cloud Platform All products Manage cookies Terms Privacy