Sign in

Create webhook

documented

Create a webhook.

POST /webhooksWebhooks (Classic)no implementation yet0 runs
No 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.mailerlite.com/api/v2/webhooks" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "X-MailerLite-ApiKey: {{MAILERLITE_API_KEY}}" \
  -d '{"name": "{{$webhook_name}}", "events": {{$webhook_events}}, "url": "{{$webhook_url}}", "enabled": {{$webhook_enabled}}, "batchable": {{$webhook_batchable}}}'