google-chat-api

Installation
Summary

Build Google Chat bots, webhooks, and interactive forms with Cards v2, Spaces/Members/Reactions APIs, and bearer token verification.

  • Supports two integration modes: incoming webhooks for one-way notifications and HTTP endpoints for interactive bots with button clicks and form submissions
  • Cards v2 with Markdown and HTML formatting, 15+ widget types (text, buttons, inputs, date pickers), and 100-widget-per-card limit
  • Spaces API for creating/listing/searching spaces, Members API for managing membership and roles, and Reactions API for emoji reactions
  • Includes bearer token verification templates, form validation patterns, rate limit handling (3,000 reads/min, 60 space writes/min), and troubleshooting for six common issues
  • Cloudflare Workers recommended; Web Crypto API required for token verification; no official npm package—use fetch API directly
SKILL.md

Google Chat API

Status: Production Ready Last Updated: 2026-01-09 (Added: Spaces API, Members API, Reactions API, Rate Limits) Dependencies: Cloudflare Workers (recommended), Web Crypto API for token verification Latest Versions: Google Chat API v1 (stable), Cards v2 (Cards v1 deprecated), wrangler@4.54.0


Quick Start (5 Minutes)

1. Create Webhook (Simplest Approach)

# No code needed - just configure in Google Chat
# 1. Go to Google Cloud Console
# 2. Create new project or select existing
# 3. Enable Google Chat API
# 4. Configure Chat app with webhook URL
Related skills
Installs
317
GitHub Stars
776
First Seen
Jan 20, 2026