Skip to content
Last updated

For Webhook POSTs, Mailgun listens for the following codes from your server and reacts accordingly:

  • If Mailgun receives a 200 (Success) code, it will determine the webhook POST is successful and not retried.
  • If Mailgun receives a 406 (Not Acceptable) code, Mailgun will determine the POST is rejected and not retry.
  • For any other code, Mailgun will retry POSTing according to the schedule below for Webhooks other than the delivery notification.

If your application is unable to process the webhook request, but you do not return a 406 error code, Mailgun will automatically retry (other than for delivery notification) during 8 hours at the following exponential backoff intervals before stopping to try:

  • 5 minutes
  • 10 minutes
  • 15 minutes
  • 1 hour
  • 2 hours
  • 4 hours