webhooks

Manage incoming and outgoing webhook integrations.

List Webhooks

GET /api/webhooks

Create Webhook

POST /api/webhooks
Content-Type: application/json

{
  "name": "TradingView Alerts",
  "url": "https://your-server.com/webhook",
  "secret": "optional-hmac-secret",
  "events": ["agent.triggered", "agent.completed"],
  "direction": "outgoing",
  "enabled": true
}

Update Webhook

Delete Webhook

Fields

Field
Description

name

Label for identification

url

Target URL (outgoing) or display URL (incoming)

secret

Optional HMAC secret for payload signature verification

events

Array of event types to listen for

direction

incoming or outgoing

enabled

Toggle without deleting

Each webhook tracks triggerCount and lastTriggered.

Was this helpful?