{"id":12435,"date":"2026-01-18T06:51:27","date_gmt":"2026-01-18T06:51:27","guid":{"rendered":"https:\/\/webnus.net\/dox\/modern-events-calendar\/?post_type=knowledgebase&#038;p=12435"},"modified":"2026-01-18T07:07:49","modified_gmt":"2026-01-18T07:07:49","slug":"mec-webhooks","status":"publish","type":"knowledgebase","link":"https:\/\/webnus.net\/dox\/modern-events-calendar\/mec-webhooks\/","title":{"rendered":"MEC Webhooks"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_are_Webhooks\"><\/span>What are Webhooks?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>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.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"460\" src=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2026\/01\/webhooks-02-1024x460.jpg\" alt=\"\" class=\"wp-image-12439\" title=\"\" srcset=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2026\/01\/webhooks-02-1024x460.jpg 1024w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2026\/01\/webhooks-02-300x135.jpg 300w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2026\/01\/webhooks-02-768x345.jpg 768w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2026\/01\/webhooks-02.jpg 1199w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_Do_Webhooks_Work\"><\/span>How Do Webhooks Work?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>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:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Integrate with third-party services (like CRM systems, email marketing tools, or project management apps)<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Automate workflows in other applications<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Sync booking data across different platforms<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Receive real-time updates about booking status changes<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"When_Are_Webhooks_Triggered\"><\/span>When Are Webhooks Triggered?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>You can set up webhooks to be triggered by any of the following booking events:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Booking_Added\"><\/span><strong>1. Booking Added<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Triggered when a new booking is created, regardless of payment status.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Booking_Confirmed\"><\/span>2. Booking Confirmed<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Triggered when a booking is confirmed (typically after successful payment).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Booking_Verified\"><\/span>3. Booking Verified<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Triggered when a booking is manually verified by an administrator.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_Booking_Rejected\"><\/span>4. Booking Rejected<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Triggered when a booking is rejected or declined.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"5_Booking_Canceled\"><\/span>5. Booking Canceled<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Triggered when a booking is canceled by the customer or administrator.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"6_Booking_Refunded\"><\/span>6. Booking Refunded<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Triggered when a booking payment is refunded.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_Information_is_Sent\"><\/span>What Information is Sent?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>When a webhook is triggered, it sends comprehensive booking information including:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Booking Details: <\/strong>Booking ID, transaction ID, order time<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Event Information:<\/strong> Event ID and title<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Date &amp; Time:<\/strong> Event start\/end dates, and other related dates<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Attendee Information:<\/strong> Name, email, ticket type, and custom registration fields for each attendee<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Payment Details:<\/strong> Total price, amount paid, payment gateway, coupon codes (if used)<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Booking Status:<\/strong> Confirmation and verification status<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Custom Fields:<\/strong> Any custom booking or registration fields you&#8217;ve configured<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Use_Webhooks\"><\/span>How to Use Webhooks<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Enable the Webhooks Module:<\/strong> Make sure the Webhooks feature is enabled in your MEC settings.<br><\/li>\n\n\n\n<li><strong>Create a Webhook:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Navigate to the Webhooks section in MEC<\/li>\n\n\n\n<li>Create a new webhook and give it a descriptive name<br><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Configure Your Webhook:<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Select a Hook:<\/strong> Choose which booking event should trigger this webhook<\/li>\n\n\n\n<li><strong>Set the URL:<\/strong> Enter the webhook URL where you want to receive the data<\/li>\n\n\n\n<li><strong>Choose Request Method:<\/strong> Select either GET or POST (most services use POST)<br><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Save and Activate: <\/strong>Publish your webhook to activate it<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Requirements\"><\/span>Requirements<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Modern Events Calendar PRO version (Webhooks are a PRO feature)<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The Webhooks module must be enabled in <strong>MEC Settings > Booking > Advanced<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"765\" height=\"193\" src=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2026\/01\/webhooks-01.jpg\" alt=\"\" class=\"wp-image-12438\" title=\"\" srcset=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2026\/01\/webhooks-01.jpg 765w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2026\/01\/webhooks-01-300x76.jpg 300w\" sizes=\"auto, (max-width: 765px) 100vw, 765px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A valid URL endpoint that can receive HTTP requests<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Use_Cases\"><\/span>Use Cases<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>CRM Integration:<\/strong> Automatically add new customers to your CRM system when they make a booking<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Email Marketing:<\/strong> Add attendees to your email marketing lists automatically<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Analytics:<\/strong> Send booking data to analytics platforms for reporting<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Inventory Management: <\/strong>Update inventory in external systems when bookings are made<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Notifications: <\/strong>Send custom notifications to team members or other systems<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Data Synchronization: <\/strong>Keep booking information synchronized across multiple platforms<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Important_Notes\"><\/span>Important Notes<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Webhooks send data as form data (application\/x-www-form-urlencoded or multipart\/form-data)<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Multiple webhooks can be created for the same event type<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Webhooks are sent asynchronously, so they won&#8217;t delay the booking process<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Make sure your receiving URL is accessible and can handle the incoming requests<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The receiving application should respond quickly to avoid timeouts<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>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. How Do Webhooks Work? When a booking event happens in MEC (like a new [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","knowledgebase_cat":[50],"class_list":["post-12435","knowledgebase","type-knowledgebase","status-publish","hentry","knowledgebase_cat-developer-other"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase\/12435","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/types\/knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/comments?post=12435"}],"version-history":[{"count":2,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase\/12435\/revisions"}],"predecessor-version":[{"id":12440,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase\/12435\/revisions\/12440"}],"wp:attachment":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/media?parent=12435"}],"wp:term":[{"taxonomy":"knowledgebase_cat","embeddable":true,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase_cat?post=12435"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}