Webhooks

Receive real-time notifications for events.

Last updated: January 15, 2025

Setting Up Webhooks

POST /v1/webhooks
{
  "url": "https://your-server.com/webhook",
  "events": ["command.completed", "trigger.fired", "error"],
  "secret": "whsec_..."  // for signature verification
}

Available Events

NameTypeRequiredDescription
command.completedeventOptionalWhen a command finishes
command.failedeventOptionalWhen a command fails
trigger.firedeventOptionalWhen a trigger activates
approval.requiredeventOptionalWhen user approval needed