COSY Docs
Features

Webhooks

Get notified when server events happen.

Webhooks let you receive notifications when events happen on your game servers. COSY sends HTTP/HTTPS requests to your configured endpoint whenever a subscribed event occurs.

Supported Platforms

PlatformDescription
DiscordSends formatted messages to a Discord channel via webhook URL
SlackSends messages to a Slack channel via incoming webhook
n8nTriggers an n8n workflow via webhook URL

Events

You can subscribe to the following server events:

EventTriggered When
SERVER_STARTEDThe game server container starts successfully
SERVER_STOPPEDThe game server is stopped (manually or automatically)
SERVER_FAILEDThe game server container crashes or fails to start

Setting Up a Webhook

  1. Open your server's Settings view
  2. Navigate to the Webhooks section
  3. Click Create Webhook
  4. Choose the platform
  5. Paste the webhook URL from your platform
  6. Select which events to subscribe to
  7. Save

Getting a Webhook URL

Discord: Go to your server's Settings > Integrations > Webhooks, create a new webhook, and copy the URL. See the Discord webhook documentation for details.

Slack: Create an Incoming Webhook in your workspace's app settings, choose a channel, and copy the URL. See the Slack webhook documentation for details.

n8n: Create a new workflow, add a Webhook trigger node, and copy the production webhook URL. See the n8n webhook documentation for details.

Multiple Webhooks

You can create multiple webhooks per server — for example, one Discord webhook for all events and a separate n8n webhook for SERVER_FAILED to trigger an automated restart workflow.

Required Permissions

Managing webhooks through Access Groups requires:

PermissionAccess
CHANGE_WEBHOOK_SETTINGSCreate, edit, and delete webhooks

On this page