# Google Chat

> Google Chat alert channels through a space webhook - where to get the URL, what it accepts and what the card looks like.

A Google Chat channel posts alerts to a Google Chat space as a card.

1. In the Google Chat space, open **Apps & integrations**, add a webhook and copy its URL.
2. On the project's **Alerts** page, choose **Add channel** → **Google Chat** and paste the URL.
3. **Send test** to see a card arrive.

The URL must be `https://chat.googleapis.com/v1/spaces/<space>/messages?key=…&token=…`, with both `key` and `token`, without a port. A URL for a thread inside the space is refused. The URL is stored encrypted; the dashboard and the API show only the host afterwards.

## The card

The first line of the alert is the card's header, the other lines are its text, and DOWN and escalation messages carry an **Acknowledge** button. Check names are shown as typed. The text is cut at 4000 characters.

## When Google Chat refuses

When Google Chat answers 401, 403, 404 or 410 (the webhook or the space is gone), says the key is not valid, or redirects, the channel is **Not delivering** at once. Add the space's new webhook as a new channel. Google Chat takes about one message a second per space; when it answers 429, delivery waits and tries again.

Everything else (what is sent, retries, order) works as for the [other channels](https://docs.monitorly.cloud/alerts.md).
