Skip to content
No results
MEC Knowledgebase
  • Installation
    • Installation
    • Activation
    • Auto Update
    • Manual Update
    • Change License Domain
  • Settings
    • General
    • Archive Page
    • Slugs/Permalinks
    • Currency
    • View All
  • Single Event
    • Single Event Settings
    • How to Add Event In MEC Plugin?
    • MEC Single Sidebar
    • Custom Fields
    • View All
  • Event Modules
    • Speakers
    • Organizers
    • Locations
    • Map
    • View All
  • Booking Settings
    • Booking Module
    • Booking Elements
    • Booking Form
    • Payment Gateways
    • View All
  • Event Submission
    • General
    • Access Level
    • FES Sections
    • Required Fields
    • View All
  • Integrations
    • Mailchimp
    • Paid Memberships Pro
    • BuddyPress
    • LearnDash
    • View All
  • Notifications
    • Booking Notification
    • Booking Confirmation
    • Booking Reminder
    • Admin Notification
    • View All
  • Addons
    • Elementor Single Builder Addon
    • Ticket and Invoice Addon
    • Event Seat Addon
    • Virtual Events Addon
    • View All
  • Other
    • Appearance Settings
    • Translation
    • Knowledge
    • Troubleshooting
    • Developer
MEC Knowledgebase

  • Categories
    • Installation
      • Installation
      • Activation
      • Auto Update
      • Manual Update
      • Change License Domain
    • General Settings
      • General
      • Archive Pages
      • Slugs/Permalinks
      • Currency
      • View All
    • Single Event
      • Single Event Settings
      • MEC Single Sidebar
      • How to Add Event In MEC Plugin?
      • Custom Fields
      • View All
    • Event Modules
      • Speakers
      • Organizers
      • Locations
      • Map
      • View All
    • Booking Settings
      • Booking Module
      • Add a Booking System
      • Booking Form
      • Organizer Payment Settings
      • View All
    • Event Submission
      • General
      • Access Level
      • FES Sections
      • Required Fields
      • View All
    • MEC Integrations
      • Mailchimp
      • BuddyPress
      • LearnDash
      • Paid Memberships Pro
      • View All
    • Notifications
      • Booking Notification
      • Booking Confirmation
      • Booking Reminder
      • Admin Notification
      • View All
    • Addons
      • Elementor Single Builder Addon
      • Ticket and Invoice Addon
      • Event Seat Addon
      • Virtual Events Addon
      • View All
    • Other
      • Appearance Settings
      • Translation
      • Knowledge
      • Troubleshooting
      • Developer

Submit a Ticket
MEC Knowledgebase

Toggle
  • What are Webhooks?
  • How Do Webhooks Work?
  • When Are Webhooks Triggered?
    • 1. Booking Added
    • 2. Booking Confirmed
    • 3. Booking Verified
    • 4. Booking Rejected
    • 5. Booking Canceled
    • 6. Booking Refunded
  • What Information is Sent?
  • How to Use Webhooks
  • Requirements
  • Use Cases
  • Important Notes

Developer

MEC Webhooks

What are 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.

webhooks 02 - MEC Webhooks

How Do Webhooks Work?

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

When Are Webhooks Triggered?

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

1. Booking Added

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

2. Booking Confirmed

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

3. Booking Verified

Triggered when a booking is manually verified by an administrator.

4. Booking Rejected

Triggered when a booking is rejected or declined.

5. Booking Canceled

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

6. Booking Refunded

Triggered when a booking payment is refunded.

What Information is Sent?

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

How to Use Webhooks

  • Enable the Webhooks Module: Make sure the Webhooks feature is enabled in your MEC settings.
  • Create a Webhook:
    • Navigate to the Webhooks section in MEC
    • 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

Requirements

  • Modern Events Calendar PRO version (Webhooks are a PRO feature)
  • The Webhooks module must be enabled in MEC Settings > Booking > Advanced
webhooks 01 - MEC Webhooks
  • A valid URL endpoint that can receive HTTP requests

Use Cases

  • 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

Important Notes

  • 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 asynchronously, so they won’t 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

Share

Report Out Dated Content

If you think the content of this page does not reflect updated information, please let us know.

Report Now
Login Submit
0 Comments

No Comment.

Still no luck? We can help!

If you did not find what you were looking for, please submit a ticket in our support system.

Submit a Ticket
Webnus Banner
Modern Events Calendar

Please read our Terms and Conditions and Privacy Policy.

4.2 Great

About 11 Review us on Trustpilot

Copyright © 2023. All rights reserved. Webnus Inc.