Chat Webhooks
Webhooks allow external services to post messages to your chat channels automatically.
Enabling Webhooks
- Open the channel where you want to receive webhook messages.
- Click the Settings icon (admin only).
- Find the Webhook section.
- Enable the webhook toggle.
- Copy the Webhook URL.
Sending Messages via Webhook
Send a POST request to the webhook URL with a JSON body:
Method: POST /api/chat/webhook/{token}
Content-Type: application/json
Body: {"content": "Your automated message here"}
Use Cases
- CI/CD pipeline notifications (build success/failure)
- Monitoring alerts from external tools
- Automated status updates from third-party services
Security
If you suspect a webhook token has been compromised, regenerate it from the channel settings. The old token will immediately stop working.
Webhooks are rate-limited to 60 requests per minute per IP address to prevent abuse.