Mautic Community Forums

Mautic API in Core Java Application

Dear,



Can Mautic have any Java Library??? How can i use Mautic API through my Java Application??? or how can I Integrate my java application with mautic.

Dear,

Can Mautic have any Java Library??? How can i use Mautic API through my Java Application??? or how can I Integrate my java application with mautic.

Hi,

Mautic’s API is REST based. So you just need to use oauth 1a or 2 to authenticate with Mautic, then use it’s REST endpoints using whatever libraries or code is available to you in Java. See https://developer.mautic.org/#authorization.

Thanks!

I wrote a Java client for the Mautic REST API, and it is hosted on GitHub (https://github.com/lgfischer/jMautic). It is not a complete implementation of the API, but I believe it can help on your projects.