# Calling Mautic API from custom Wordpress plugin

**URL:** <https://forum.mautic.org/t/calling-mautic-api-from-custom-wordpress-plugin/9799>\
**Category:** Product Support\
**Created:** [October 29, 2017, 9:43pm UTC](https://forum.mautic.org/t/calling-mautic-api-from-custom-wordpress-plugin/9799 "2017-10-29T21:43:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roblopes](https://avatars.discourse-cdn.com/v4/letter/r/b77776/32.png) [@Roblopes](https://forum.mautic.org/u/Roblopes)\
**Post date:** [October 29, 2017, 9:43pm UTC](https://forum.mautic.org/t/calling-mautic-api-from-custom-wordpress-plugin/9799/1 "2017-10-29T21:43:11Z")

</div>

Hi. I’m new to PHP, sorry for any stupid assumption. I created a simple wordpress plugin to retrieve contacts information and create/update contact information via MailChimp API.  
  
  
  
I am now planing to move to Mautic, but I am struggling to understand how to install/use the Mautic API form my simple plugin. I already downloaded the Mautic API from GIT, unpacked the zip file and copied to my plugin folder, however I see in your examples that the first thing it does is call a ‘vendorautoload.php’, however I don’t have the folder or file in my plugin folder. It seems that it is a file from “composer”, that I don’t have, and I don’t think that I can run any installer in my hosting provider.  
  
  
  
Well, as you can see I am quite lost on something that for all of you probably is ridiculously simple. Yes, I’m ashamed. I am trying to put the things together, but every single article that I find, assume that you have that damn file already there.  
  
  
  
Could someone please share some thoughts on this? I appreciate any help.  
  
  
  
Thanks a lot!  
  
Rob.

---

<div class="post-metadata">

**Author:** ![Roblopes](https://avatars.discourse-cdn.com/v4/letter/r/b77776/32.png) [@Roblopes](https://forum.mautic.org/u/Roblopes)\
**Post date:** [October 29, 2017, 9:43pm UTC](https://forum.mautic.org/t/calling-mautic-api-from-custom-wordpress-plugin/9799/2 "2017-10-29T21:43:11Z")

</div>

Hi. I’m new to PHP, sorry for any stupid assumption. I created a simple wordpress plugin to retrieve contacts information and create/update contact information via MailChimp API.

I am now planing to move to Mautic, but I am struggling to understand how to install/use the Mautic API form my simple plugin. I already downloaded the Mautic API from GIT, unpacked the zip file and copied to my plugin folder, however I see in your examples that the first thing it does is call a ‘vendorautoload.php’, however I don’t have the folder or file in my plugin folder. It seems that it is a file from “composer”, that I don’t have, and I don’t think that I can run any installer in my hosting provider.

Well, as you can see I am quite lost on something that for all of you probably is ridiculously simple. Yes, I’m ashamed. I am trying to put the things together, but every single article that I find, assume that you have that damn file already there.

Could someone please share some thoughts on this? I appreciate any help.

Thanks a lot!  
Rob.
