# How to add a contact automatically to Mautic when they register on my App

**URL:** <https://forum.mautic.org/t/how-to-add-a-contact-automatically-to-mautic-when-they-register-on-my-app/31501>\
**Category:** Product Support\
**Created:** [April 1, 2024, 5:01am UTC](https://forum.mautic.org/t/how-to-add-a-contact-automatically-to-mautic-when-they-register-on-my-app/31501 "2024-04-01T05:01:09Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [April 1, 2024, 4:42pm UTC](https://forum.mautic.org/t/how-to-add-a-contact-automatically-to-mautic-when-they-register-on-my-app/31501/2 "2024-04-01T16:42:59Z")

</div>

Sure you can do it via the API:

[https://developer.mautic.org/#create-contact](https://developer.mautic.org/#create-contact)

I wrote it a bit more in detail in this thread: [Update the segment and create a contact from the script - #3 by dirk\_s](https://forum.mautic.org/t/update-the-segment-and-create-a-contact-from-the-script/31491/3)

But if you use a mobile App - is there a server side part as well? I ask, because otherwise you would need to include the API key in the mobile App, which may not be the best idea in regards to security.

---

_[View the full topic](https://forum.mautic.org/t/how-to-add-a-contact-automatically-to-mautic-when-they-register-on-my-app/31501)._
