Sophon Docs
API Reference

Webhooks

Event notifications from Sophon.

Workflow Webhooks

Workflows can be triggered by incoming webhooks:

POST /api/workflows/{id}/webhook
Content-Type: application/json

{ "event": "deployment", "status": "success" }

The webhook payload is available in the workflow as {{ $trigger.body }}.

Channel Webhooks

Some channels (Slack, Telegram) use webhooks for incoming messages. These are configured automatically during channel setup.