# Automatic merging companies. How it works?

**URL:** <https://forum.mautic.org/t/automatic-merging-companies-how-it-works/33583>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [September 23, 2024, 7:00pm UTC](https://forum.mautic.org/t/automatic-merging-companies-how-it-works/33583 "2024-09-23T19:00:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![erthal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/erthal/32/6285_2.png) [@erthal](https://forum.mautic.org/u/erthal)\
**Post date:** [September 23, 2024, 7:00pm UTC](https://forum.mautic.org/t/automatic-merging-companies-how-it-works/33583/1 "2024-09-23T19:00:01Z")

</div>

**Your software**  
My Mautic version is: v4.4.10  
My PHP version is: 8.0.30  
My Database type and version is: 10.4.34-MariaDB-1:10.4.34+maria~ubu2004

**Your problem**

After creating a company through the API with companyname = “ab” Mautic returns company\_id = 4782

After creating another company through the API with companyname = “a” Mautic returns the same company\_id = 4782

Mautic is merging two different companies to the same entity!!!

Can anybody explain this merging criteria?

Is it possible to work without the unique identifier (companyname) to avoid this behavior?

Best regards
