# Mailgun Webhooks

## About Mailgun Webhooks

Get real-time email event data sent directly to your application. Automate responses and analytics without API polling.
Webhooks allow your application to programmatically receive information in near real-time whenever an event happens on your Mailgun account. This allows your application to stay up to date on everything that happens with the email messages you send.

Use cases for webhooks can include:

- Storing events in your own or 3rd party application for reporting purposes
- Removing recipient addresses that bounce, complain or unsubscribe (good email hygiene!)
- Triggering fallback channels like SMS or push notifications when critical transactional emails fail to deliver
- Building engagement profiles from open and click data to optimize send frequency and audience segmentation
- Maintaining compliance and audit trails for industries with regulatory requirements around email delivery records
- Surfacing delivery status to end users on platforms that send email on behalf of their customers
- Syncing engagement data with CRM tools so sales teams can see if prospects opened their emails


Go [here](https://help.mailgun.com/hc/en-us/articles/202236504-Webhooks?_gl=1*f6e37g*_gcl_au*OTQ1NTA4MDA2LjE3Njc5MDA3Njk.*_ga*MTY2NDk5NTk0MC4xNjgyMDk3MjE5*_ga_PZB2JSMCGC*czE3NzM0MjY0MzEkbzMzMyRnMSR0MTc3MzQyNjcwMCRqNjAkbDAkaDEwNTIyNjIzNzE.) to learn how to integrate Mailgun Webhooks.