# HOW TO USE MAUTIC API TO ADD CONTACTS

**URL:** <https://forum.mautic.org/t/how-to-use-mautic-api-to-add-contacts/10576>\
**Category:** Product Support\
**Created:** [June 9, 2018, 1:13pm UTC](https://forum.mautic.org/t/how-to-use-mautic-api-to-add-contacts/10576 "2018-06-09T13:13:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarthakinfotech](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sarthakinfotech/32/336_2.png) [@sarthakinfotech](https://forum.mautic.org/u/sarthakinfotech)\
**Post date:** [June 9, 2018, 1:13pm UTC](https://forum.mautic.org/t/how-to-use-mautic-api-to-add-contacts/10576/1 "2018-06-09T13:13:27Z")

</div>

Hi,  
I am experienced php developer.  
came accross mautic today . found it interesting and woud like to create useful extension.  
I played around the api for full day. I also reffered many blogs and tutorials but still I have some doubt.

can any one send me a full source code for adding contacts using api .

I already referred documentation .  
but I am not getting where to place the code for adding contacts.

awaiting for reply.

---

<div class="post-metadata">

**Author:** ![petertl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/petertl/32/511_2.png) [@petertl](https://forum.mautic.org/u/petertl)\
**Post date:** [June 12, 2018, 5:04am UTC](https://forum.mautic.org/t/how-to-use-mautic-api-to-add-contacts/10576/2 "2018-06-12T05:04:40Z")

</div>

It’s here: [https://developer.mautic.org/#create-contact](https://developer.mautic.org/#create-contact)

---

<div class="post-metadata">

**Author:** ![sarthakinfotech](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sarthakinfotech/32/336_2.png) [@sarthakinfotech](https://forum.mautic.org/u/sarthakinfotech)\
**Post date:** [June 13, 2018, 8:52am UTC](https://forum.mautic.org/t/how-to-use-mautic-api-to-add-contacts/10576/3 "2018-06-13T08:52:28Z")

</div>

hi,  
i referred it. would you please send me your code sample to understand it.

thanks

---

<div class="post-metadata">

**Author:** ![petertl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/petertl/32/511_2.png) [@petertl](https://forum.mautic.org/u/petertl)\
**Post date:** [June 13, 2018, 10:55am UTC](https://forum.mautic.org/t/how-to-use-mautic-api-to-add-contacts/10576/4 "2018-06-13T10:55:16Z")

</div>

What have you tried so far?
