[null, {"document_url": "https://help.mailgun.com/hc/en-us/articles/202236504-How-do-webhooks-work-", "unformatted_src": "/hc/en-us/article_attachments/201613950/Screen_Shot_2014-11-11_at_12.24.24_PM.png", "src": "https://help.mailgun.com/hc/en-us/article_attachments/201613950/Screen_Shot_2014-11-11_at_12.24.24_PM.png", "formatted_filename": "Screen Shot at"}, null]
We're experiencing difficulty. Our engineers are on it. Please check status.mailgun.com for real-time updates.

How do webhooks work?


Mailgun can make an HTTP POST to a callback URL when events occur with your messages.

Webhooks are at the domain level so you can provide a unique URL for each domain. We recommend using bin.mailgun.net for creating temporary URLs to test and debug your webhooks. For Webhook POSTs, Mailgun listens for the following codes from your server and reacts accordingly:

You can find our webhooks manual here.















Our robust community of colleagues answers plenty of questions every single day.


If our Q&A hasn’t helped and your issue seems to be unique, submit a support ticket and we’ll help!


We boast a 94% happiness rating with our customer support team. We're proud of that.
