Create domain webhook (v4)
documentedCreate a new domain webhook (v4).
POST /v4/domains/{domain}/webhooksDomain Webhooksno 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.mailgun.net/v4/domains/{{$domain}}/webhooks" \
-X POST \
-u "api:{{MAILGUN_API_KEY}}" \
-H "Accept: application/json" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "url={{$url}}" \
-d "event_types={{$event_type_1}}" \
-d "event_types={{$event_type_2}}"