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

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

For basic auth, check this forum post: