# Mautic form authentication Headers

**URL:** <https://forum.mautic.org/t/mautic-form-authentication-headers/29859>\
**Category:** Product Support\
**Created:** [November 7, 2023, 1:13pm UTC](https://forum.mautic.org/t/mautic-form-authentication-headers/29859 "2023-11-07T13:13:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![tlaprep](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tlaprep/32/10813_2.png) [@tlaprep](https://forum.mautic.org/u/tlaprep)\
**Post date:** [November 7, 2023, 1:13pm UTC](https://forum.mautic.org/t/mautic-form-authentication-headers/29859/1 "2023-11-07T13:13:12Z")

</div>

**Your software**  
My Mautic version is: 4.2.0  
My PHP version is: 7.4.33  
My Database type and version is: 10.4.28-MariaDB-cll-lve

**Your problem**  
I’m trying to synchronize a Wordpress form with Avada forms, which allow you to save to the Wordpress database and at the same time make a POST or GET request to another form to send it the data.

In this case I want the wordpress form to send this POST request to a Mautic form which I already have ready but I don’t know which URL I have to send it to, I don’t know what authentication Mautic uses, and what HEADERS in general.

Could you tell me how to get Mautic to accept a POST request from the outside to save the contact and if authentication is needed in the request that type of authentication?

Cheers  
Alex

---

<div class="post-metadata">

**Author:** ![tlaprep](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tlaprep/32/10813_2.png) [@tlaprep](https://forum.mautic.org/u/tlaprep)\
**Post date:** [November 9, 2023, 6:56pm UTC](https://forum.mautic.org/t/mautic-form-authentication-headers/29859/2 "2023-11-09T18:56:12Z")

</div>

Here you can see the information I’m trying to fill.

 ![Avada form send to Mautic](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/d/dd62dc885e530ca1f4270db9a6f7fcf06c40afa3.png)

---

<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:** [November 10, 2023, 2:57pm UTC](https://forum.mautic.org/t/mautic-form-authentication-headers/29859/3 "2023-11-10T14:57:28Z")

</div>

Hi - may I ask why you don’t make use of Mautic Forms directly? We also use Avada and its perfectly fine. For your approach you always need to make sure all fields are in sync and for each form you have double the effort?

Now for your question:  
If you look into the source code of your mautic form, you will find the URL where to POST to:

looks similar to this - [https://yourmauticURL/form/submit?formId=1](https://yourmauticURL/form/submit?formId=1)

Then your Mautic should have your WordPress in the CORS list. This should be enough to receive the submission, if all the fields match with their names.

---

<div class="post-metadata">

**Author:** ![tlaprep](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tlaprep/32/10813_2.png) [@tlaprep](https://forum.mautic.org/u/tlaprep)\
**Post date:** [November 10, 2023, 5:11pm UTC](https://forum.mautic.org/t/mautic-form-authentication-headers/29859/4 "2023-11-10T17:11:16Z")

</div>

Hello dirk,

Thank you for your answer.

I also use Mautic forms in one of my websites. The reason I wanted to try Avada forms is because I was hoping it would interact better with Woocomerce. A lot of my clients, who pay on the website I use Mautic forms on, don’t get registered in Mautic, mostly because they use vpns or whatever to be anonymous, and receive emails when they should not.

I might be doing something wrong with Woocomerce thought. If you have any suggestions to solve this I’m listening.

Regarding my original question:  
If I understood you correctly, I don’t need any Header at all, what I need is:

1.- have the website in the CORS list, which I have;  
2.- match every input name on both forms?

Is that it?

---

<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:** [November 10, 2023, 6:17pm UTC](https://forum.mautic.org/t/mautic-form-authentication-headers/29859/5 "2023-11-10T18:17:45Z")

</div>

That should be it. Give it a try. There may always be some unexpected issues with server headers… but if you are lucky 😉

In the past we used this plugin successfully:

> **[Mautic Integration for WooCommerce Guide | WP Swings](https://woo.com/document/mautic-integration-for-woocommerce/)**
>
> Mautic WooCommerce Integration is a automation kit that helps to connect WooCommerce store with Mautic & send customer data in real-time

That has a direct sync between woocommerce and mautic. I liked the smart segmentation a lot…

---

<div class="post-metadata">

**Author:** ![tlaprep](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tlaprep/32/10813_2.png) [@tlaprep](https://forum.mautic.org/u/tlaprep)\
**Post date:** [November 10, 2023, 7:21pm UTC](https://forum.mautic.org/t/mautic-form-authentication-headers/29859/7 "2023-11-10T19:21:02Z")

</div>

Well it’s not working.

It’s sending the form to wordpress and email fine, but not to Mautic.

This is from Mautic’s form input id=“mauticform\_input\_prueba\_nombre” name=“mauticform[nombre]” value=“” class=“mauticform-input” type=“text”

Which one corresponds to Avada’s Field Name?

---

<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:** [November 10, 2023, 7:33pm UTC](https://forum.mautic.org/t/mautic-form-authentication-headers/29859/8 "2023-11-10T19:33:10Z")

</div>

If the form is online - send me the link (e.g. via private message).

---

<div class="post-metadata">

**Author:** ![nshaikh](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nshaikh/32/12722_2.png) [@nshaikh](https://forum.mautic.org/u/nshaikh)\
**Post date:** [November 21, 2024, 6:48am UTC](https://forum.mautic.org/t/mautic-form-authentication-headers/29859/9 "2024-11-21T06:48:05Z")

</div>

Hi Dirk

There is not much information available here related with the Avada Forms, infect this is the only post and the thanks for your guidance, i have tried all the options, my form submitted from Avada has been received in the mautic server but not adding the name and email, i have tried all the suggested options and found “mauticuser[f\_name]” is the field name but unfortunately it is not allowed in the Avada Forms to use this field name.

Would appreciate if you can guide me to fix my issue with Avada Forms to add data in the mautic segments

When i use the mautic code on my website, its working fine and store the name and email properly in the contacts

---

<div class="post-metadata">

**Author:** ![nshaikh](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nshaikh/32/12722_2.png) [@nshaikh](https://forum.mautic.org/u/nshaikh)\
**Post date:** [November 22, 2024, 4:32pm UTC](https://forum.mautic.org/t/mautic-form-authentication-headers/29859/10 "2024-11-22T16:32:52Z")

</div>

would be great if anyone can reply me to solve my problem
