Webhooks — connect4
Connect 4-specific webhook events, in addition to the standard events.
Events
| Event | When it fires |
|---|---|
connect4.threat | A player has 3-in-a-row with at least one open end |
connect4.threat
| Field | Type | Description |
|---|---|---|
playerId | string | Player who created the threat |
column | number | Column index (0–6) of the most recent piece placed |
direction | string | "horizontal" | "vertical" | "diagonal" |
{
"event": "connect4.threat",
"data": { "playerId": "user_123", "column": 3, "direction": "horizontal" }
}Beta Gamer GaaS API — questions? support@beta-gamer.com