# Get or Post call to add lead information withouth form

**URL:** https://forum.mautic.org/t/get-or-post-call-to-add-lead-information-withouth-form/2046
**Category:** General Discussion
**Created:** [July 13, 2015, 1:04pm UTC](https://forum.mautic.org/t/get-or-post-call-to-add-lead-information-withouth-form/2046 "2015-07-13T13:04:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![angersf](https://avatars.discourse-cdn.com/v4/letter/a/a6a055/32.png) [@angersf](https://forum.mautic.org/u/angersf)
#### Post date: [July 13, 2015, 1:04pm UTC](https://forum.mautic.org/t/get-or-post-call-to-add-lead-information-withouth-form/2046/1 "2015-07-13T13:04:01Z")

</div>

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

---

<div class="post-metadata">

### Author: ![angersf](https://avatars.discourse-cdn.com/v4/letter/a/a6a055/32.png) [@angersf](https://forum.mautic.org/u/angersf)
#### Post date: [July 13, 2015, 1:04pm UTC](https://forum.mautic.org/t/get-or-post-call-to-add-lead-information-withouth-form/2046/2 "2015-07-13T13:04:01Z")

</div>

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

---

<div class="post-metadata">

### Author: ![chad.windnagle](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chad.windnagle](https://forum.mautic.org/u/chad.windnagle)
#### Post date: [July 13, 2015, 1:30pm UTC](https://forum.mautic.org/t/get-or-post-call-to-add-lead-information-withouth-form/2046/3 "2015-07-13T13:30:09Z")

</div>

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](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

---

<div class="post-metadata">

### Author: ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)
#### Post date: [February 2, 2020, 10:59pm UTC](https://forum.mautic.org/t/get-or-post-call-to-add-lead-information-withouth-form/2046/4 "2020-02-02T22:59:27Z")

</div>


