BaihuBaihu
Channels

webhook

generic HTTP webhook channel

how it works

the webhook channel uses the gateway server. any authenticated client can send messages via HTTP POST:

curl -X POST http://localhost:3000/api/chat \
  -H "Authorization: Bearer bh_..." \
  -H "Content-Type: application/json" \
  -d '{"message": "hello from webhook"}'

requirements

the gateway must be running. see gateway docs for pairing setup.

use cases

  • custom integrations
  • CI/CD notifications
  • monitoring alerts
  • any system that can make HTTP requests

On this page