Create webhook
documentedRegister a new webhook for 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://onfleet.com/api/v2/webhooks" \
-X POST \
-u "{{ONFLEET_API_KEY}}:" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{\"url\": \"{{$webhook_url}}\", \"name\": \"{{$webhook_name}}\", \"trigger\": {{$trigger}}, \"threshold\": {{$threshold}}, \"canReceiveConnectionEvents\": {{$canReceiveConnectionEvents}}}'