Create webhook
documentedRegister a new outbound webhook to receive events.
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.moskitcrm.com/v1/webhooks" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "apikey: {{MOSKITCRM_API_KEY}}" \
-d '{"name": "{{$webhook_name}}", "url": "{{$webhook_url}}", "events": ["{{$event}}"]}'