Your software
My Mautic version is: 4.0.0
My PHP version is: 7.4.33
My Database type and version is: Mariadb
Your problem
My problem is:
Is it possible that whenever someone registers on my mobile App, I want to add that contact email to my Mautic contacts. How do I go about writing the code for that? Is there some documentation I can read about such an integration?
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.
Thanks a lot @dirk_s
This is very helpful.
I read about enabling API from the Configuration panel and when doing so I realized that I do not fully understand how to specify the Redirect URI if its a mobile app?
The redirection is only needed if you chose the OAuth2 way of authentication. If you want to follow this road, I suggest to read some intro into Oauth2. For basic auth, there is no redirect URI required.
So basically each app instance should contact your mautic directly? No server app in between?
As a side note: Not sure if storing a key in an app can ever be secure?