Mautic Community Forums

Get or Post call to add lead information withouth form

Hi guys,



Currently looking at mautic, we are managing mostly e-commerce magento website and wonder let’s say if we want to do a “GET or POST” call after a transaction to add or update the lead, what would be the process in pseudo code and where do we have to start ?



thanks !



fred

Hi guys,

Currently looking at mautic, we are managing mostly e-commerce magento website and wonder let’s say if we want to do a “GET or POST” call after a transaction to add or update the lead, what would be the process in pseudo code and where do we have to start ?

thanks !

fred

Hi Angersf:

Mautic has a full blown API service built into that allows you to POST with OAuth credentials to work with leads.

The easiest thing to do is to include the developer SDK (API Library):

https://github.com/mautic/api-library

In your ecommerce project, and then use the client to work with your mautic instance. There’s some great code examples on that repository on using the API’s endpoints.

Chad