Mautic Community Forums

API language, only php?

Hi, I’m a web developer and I want to implement Mautic’s services on the website i’m working on.



I saw that the API is using php, but I would like to know if you are developping the API for an other language, like python or javascript for exemple.

We are using Django for developping the website so we are looking for a marketing tool that can be easily implemented with javascript or python.



Thank you.

Hi ClementCasa

Our API library code is based on PHP, which makes it easy to send and receive calls to Mautic with a PHP application. But all the calls are RESTful, HTTP based calls to Mautic. The API provides JSON responses.

You’ll be able to connect and use any language you wish as long as it goes over the HTTP protocol, authenticates using OAuth and returns a proper response format. The language which sends and receives the calls is not going to matter at all, so you can use straight up cURL from the command line, or use ruby or Python to make the requests.

This person tried to start working on Ruby:
https://www.mautic.org/community/index.php/309-calling-mautic-api

Hi, I’m a web developer and I want to implement Mautic’s services on the website i’m working on.

I saw that the API is using php, but I would like to know if you are developping the API for an other language, like python or javascript for exemple.
We are using Django for developping the website so we are looking for a marketing tool that can be easily implemented with javascript or python.

Thank you.

Python API working.
Hi, we forked Kleinq work (https://github.com/kleinq/mauticapi) and updated it to support the new endpoints and basic operations like: search contacts, update and create contacts.

Our fork: https://github.com/simbio/mauticapi

Tks Hoarf (https://github.com/hoarf) for your help.