# Is anyone willing to share a template to allow me to communicate with the Mautic APi for $100?

**URL:** <https://forum.mautic.org/t/is-anyone-willing-to-share-a-template-to-allow-me-to-communicate-with-the-mautic-api-for-100/19473>\
**Category:** Commercial\
**Created:** [May 16, 2021, 4:02am UTC](https://forum.mautic.org/t/is-anyone-willing-to-share-a-template-to-allow-me-to-communicate-with-the-mautic-api-for-100/19473 "2021-05-16T04:02:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 16, 2021, 4:54am UTC](https://forum.mautic.org/t/is-anyone-willing-to-share-a-template-to-allow-me-to-communicate-with-the-mautic-api-for-100/19473/2 "2021-05-16T04:54:29Z")

</div>

Hi,  
Did you check this?  
[https://developer.mautic.org/#oauth-2](https://developer.mautic.org/#oauth-2)

For basic auth, check this forum post:

> [@Documentation Disaster](https://forum.mautic.org/t/documentation-disaster/18201/4):
>
> Hey! I’m glad my answer helped. If you go with basic auth, you can start from here: \<?php $loginname = 'apiuser'; // Loginname of your API user $password = 'yourpasswordhere'; // This is the password of the API user $siteurl = 'yoursiteurl.tld'; // example: mymautic.com // The data you would like to transfer is called payload. We will set it for now, and later replace with the data we get from the webhook. $email = 'captain\_enterprise-d@starfleet.com'; $firstname = 'Jean-Luc'; $lastname = 'Pi…

---

_[View the full topic](https://forum.mautic.org/t/is-anyone-willing-to-share-a-template-to-allow-me-to-communicate-with-the-mautic-api-for-100/19473)._
