# Plugin or web API to provide events on contacts

**URL:** <https://forum.mautic.org/t/plugin-or-web-api-to-provide-events-on-contacts/22821>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [February 24, 2022, 7:20pm UTC](https://forum.mautic.org/t/plugin-or-web-api-to-provide-events-on-contacts/22821 "2022-02-24T19:20:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zcourts](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/zcourts/32/6942_2.png) [@zcourts](https://forum.mautic.org/u/zcourts)\
**Post date:** [February 24, 2022, 7:20pm UTC](https://forum.mautic.org/t/plugin-or-web-api-to-provide-events-on-contacts/22821/1 "2022-02-24T19:20:19Z")

</div>

**Your software**  
My Mautic version is: v4  
My PHP version is: 8?  
My Database type and version is: MariaDB

**Your problem**  
My problem is: I want to tell mautic when an event has occurred for a given contact

I’m using mailgun (we can’t use SES at the moment).  
We have written a script to accept webhooks from mailgun. It gets them and currently we just write to a file to verify we get them.  
What we want to know is if there is a way for a plugin to tell mautic that a given event has occurred for an email it sent to a contact? Or easier, via the mautic API…either will do.
