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
  • Event API Addon Preparation
    • Installation
  • Using Event API Addon
    • Event API Addon Shortcode
    • Event API Addon Single Event

Addons

Event API Addon

MEC event API addon allows easy copying of events, exporting scripts, and downloading JSON files. It supports events from WordPress and any web application on any platform. It includes Single Events, shortcodes, immediate activation after installation, and domain management.

Requirements
MEC Lite/Pro

Latest Version
1.2.5

Last Updated
2025-05-19 15:28:13

Changelog
Buy Now

Event API Addon Preparation

Installation

In the first step, please make sure to activate MEC and the Event API Addon.

Read Also:

How to install MEC and Addons?

Using Event API Addon

You can use Event API Addon on both Shortcodes and Single event pages to display them on another web application.

Event API Addon Shortcode

To use the event API on the shortcodes, please navigate to the shortcodes page of MEC. Then, click “Create API” on your chosen shortcode.

Event API Addon

Event API Addon Single Event

To use the event API on any Single Event, please navigate to the All Events page of MEC. Then, click “Create API” on your chosen Event.

Event API Addon

By clicking Create API, you will be directed to a page where you can receive your API.

Event API Addon

The left side provides access to domains that display events. To manage this, enter the specific domain(s) or set API for all domains.

To remove an API, select the domain(s) or All Domains and click the trash icon. This will remove the API from all the added domains. Click the Generate Button once you’re done.

There are three fields on the right side. The first one contains a script that you can copy to the clipboard. You can use this script to display any content you want, but you need to specify the domains where you want to display it. The second field contains the same content in JSON format, which you can use to receive different content for your web application.

You can see samples of the used API below:

Event API Addon

Event API Addon

To ensure your script is functional, make sure to verify two things:

  1. The script needs to be enabled on all domains or a specific one.
  2. Contact your host provider and ensure the ability to create iframes on your website is enabled.

When you install the Event API Addon, you can access settings in MEC Settings > Settings > Event API. From there, you can include your source webiste header and footer in the destination website and limit the number of events in the shortcode output.

Event API Addon

Please note that if you are using any of the website loading speed optimization plugins, these plugins might be the reason for not loading the external script links on your web pages.

Since the “Event API Addon” has a script for showing your events, you need to exclude “external links” in those plugins so they won’t get ignored and can work properly.

Share

Related Articles

  • Ticket and Invoice App
  • Liquid View Layouts Addon
  • Square Payment Addon
  • Elementor FES Builder Addon
  • Gutenberg Single Builder Addon

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
4 Comments
Ben September 6, 2022
| |

Hi,
Everything is fine, except for one little thing! My GDPR Cookie consent plugin on the source website is showing on the destination website.
I can deactivate the plugin on a specific page by entering the slug of the concerned page. But where can I find this slug???
Thanks for your help,
Ben

0 0
0
Reply
Abraham Baker September 11, 2022
| |
Ben Hi, Everything is fine, except for one little thin

Hi there
Thank you for contacting us
Please refer to webnus.net/support to create a ticket there.
Our experts will get back to you as soon as possible to resolve the issue. Thank you for your patience.

0 0
0
Reply
Nicola November 14, 2019
| |

Hi!
I don’t know what I am doing wrong, but it doesn’t work for me.
I followd exactly the advices above. No success! Any idea?
 

0 0
0
Reply
Doris Cooper November 16, 2019
| |
Nicola Hi! I don't know what I am doing wrong, but it doe

Hi,
We found your ticket and answered to you.

0 0
0
Reply

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.

Review us on Trustpilot

Copyright © 2023. All rights reserved. Webnus Inc.