Create webhook
documentedCreate a webhook.
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://connect.mailerlite.com/api/webhooks' \
-X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {{MAILERLITE_API_KEY}}' \
-H 'X-MailerLite-ApiKey: {{MAILERLITE_API_KEY}}' \
-d '{"name": "{{$name}}", "url": "{{$url}}", "events": {{$events}}, "enabled": {{$enabled}}, "batchable": {{$batchable}}}'