# Data Feeds: Webhooks

> Let another system push to Glider.

Glider documentation · Data · Web page: https://cgglider.com/docs/pollers/webhook/

Sections of this page: [Transports](https://cgglider.com/docs/pollers.md) · [JSON, XML & text](https://cgglider.com/docs/pollers/formats.md) · [Webhooks](https://cgglider.com/docs/pollers/webhook.md) · [WebSockets](https://cgglider.com/docs/pollers/websocket.md) · [HTTP requests](https://cgglider.com/docs/pollers/compose.md) · [Auth & secrets](https://cgglider.com/docs/pollers/auth.md) · [Mapping the response](https://cgglider.com/docs/pollers/mapping.md) · [Schedule & freshness](https://cgglider.com/docs/pollers/schedule.md) · [Probe & diagnostics](https://cgglider.com/docs/pollers/probe.md)

A webhook feed has its own URL: /api/pages/<pageId>/feeds/<unitId>. The feed shows it with every address this machine answers on — pick the LAN address for a sender on another computer — and a Copy button. POST or PUT the raw body there.

| Token presented as | Example |
| --- | --- |
| Query string | ?token=<token> |
| Header | X-Glider-Token: <token>  or  Authorization: Bearer <token> |
| JSON body | {“auth”: {“token”: “<token>”}, …} — how CS2 and Dota 2 game-state integration sends it. The auth block is removed before mapping, so the token is never saved in a sample. |

```bash
curl -X POST "http://192.168.1.20:4004/api/pages/<pageId>/feeds/<unitId>" \
  -H "Content-Type: application/json" \
  -H "X-Glider-Token: <token>" \
  -d '{"home": 2, "away": 1}'
```

| Answer | Means |
| --- | --- |
| 200 | Delivered to the feed. |
| 401 | Missing or wrong token. |
| 404 | No webhook feed with that id on this page. |
| 409 | The feed is disabled. |
| 400 / 413 | The body did not parse with the feed's format, or it is over 1 MB. |

Capture last push reads what the endpoint received most recently and stores it as the feed's sample, so the Binder can offer its real fields. The Setup tab carries a ready-made gamestate_integration_glider.cfg for CS2 and Dota 2.

![A webhook feed: its URL, token and the Capture button.](https://cgglider.com/docs-shots/feed-webhook.png)

> **Always set a token:** A feed URL is reachable by anything on the network, and the machine access token does not apply to it (a game or a controller cannot present it). A webhook without its own token lets any device change what is on air.
