Create webhook subscription
documentedCreate a new webhook subscription configured with a destination URL and event triggers.
POST /webhooksWebhooksno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.oncehub.com/v2/webhooks" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "API-Key: {{ONCEHUB_API_KEY}}" \
-d '{"name": "{{$webhook_name}}", "url": "{{$webhook_url}}", "events": {{$webhook_events}}}'