Skip to content
Submit a Ticket(opens in a new tab)

MEC Webhooks

MEC webhooks: Webhooks allow your Modern Events Calendar (MEC) plugin to automatically send booking information to external services or applications when specific booking events occur. Think of webhooks as automatic notifications that trigger actions in other systems without manual intervention.

MEC Add Webhook screen with hook selection and POST request URL

When a booking event happens in MEC (like a new booking, cancellation, or confirmation), webhooks automatically send all the relevant booking data to a URL you specify. This allows you to:

  • Integrate with third-party services (like CRM systems, email marketing tools, or project management apps)

  • Automate workflows in other applications

  • Sync booking data across different platforms

  • Receive real-time updates about booking status changes

You can set up webhooks to be triggered by any of the following booking events:

Triggered when a new booking is created, regardless of payment status.

Triggered when a booking is confirmed (typically after successful payment).

Triggered when a booking is verified, for example when the customer verifies it or an administrator verifies it manually.

Triggered when a booking is rejected or declined.

Triggered when a booking is canceled by the customer or administrator.

Triggered when a booking payment is refunded automatically while the booking is canceled (Stripe auto refund, or Square auto refund).

When a webhook is triggered, it sends comprehensive booking information including:

  • Booking Details: Booking ID, transaction ID, order time

  • Event Information: Event ID and title

  • Date & Time: Event start/end dates, and other related dates

  • Attendee Information: Name, email, ticket type, and custom registration fields for each attendee

  • Payment Details: Total price, amount paid, payment gateway, coupon codes (if used)

  • Booking Status: Confirmation and verification status

  • Custom Fields: Any custom booking or registration fields you’ve configured

  • Enable the Webhooks Module: Make sure the Webhooks feature is enabled in your MEC settings.

  • Create a Webhook:

    • After enabling the module and saving the settings, reload the page and open the new Webhooks menu in the Dashboard
    • Create a new webhook and give it a descriptive name
  • Configure Your Webhook:

    • Select a Hook: Choose which booking event should trigger this webhook
    • Set the URL: Enter the webhook URL where you want to receive the data
    • Choose Request Method: Select either GET or POST (most services use POST)
  • Save and Activate: Publish your webhook to activate it

  • Modern Events Calendar PRO version (Webhooks are a PRO feature)

  • The Webhooks module must be enabled in MEC Settings > Booking > Advanced

MEC Webhooks requirements

  • A valid URL endpoint that can receive HTTP requests
  • CRM Integration: Automatically add new customers to your CRM system when they make a booking

  • Email Marketing: Add attendees to your email marketing lists automatically

  • Analytics: Send booking data to analytics platforms for reporting

  • Inventory Management: Update inventory in external systems when bookings are made

  • Notifications: Send custom notifications to team members or other systems

  • Data Synchronization: Keep booking information synchronized across multiple platforms

  • Webhooks send data as form data (application/x-www-form-urlencoded or multipart/form-data)

  • Multiple webhooks can be created for the same event type

  • Webhooks are sent as soon as the booking event fires, within the same request, so a slow receiving URL can delay the booking process

  • Make sure your receiving URL is accessible and can handle the incoming requests

  • The receiving application should respond quickly to avoid timeouts