# Mautic 4 Api question

**URL:** <https://forum.mautic.org/t/mautic-4-api-question/22079>\
**Category:** Product Support\
**Created:** [December 19, 2021, 4:41pm UTC](https://forum.mautic.org/t/mautic-4-api-question/22079 "2021-12-19T16:41:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shopfactory](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/shopfactory/32/4803_2.png) [@shopfactory](https://forum.mautic.org/u/shopfactory)\
**Post date:** [December 19, 2021, 4:41pm UTC](https://forum.mautic.org/t/mautic-4-api-question/22079/1 "2021-12-19T16:41:46Z")

</div>

**Your software**  
My Mautic version is: 4.0.2.  
My PHP version is: 7.4.23  
My Database type and version is: 10.3.31-MariaDB

**Your problem**  
My problem is:  
Hi,  
I’m trying to connect my Mautic 4.0.2 to integromat with the OAuth2 credentials and get this error in Integromat: [404] Requested URL not found: /mails/api/users/self  
And when I check the installation folders there is no /api/ folder

What to do next?

These errors are showing in the log:

Steps I have tried to fix the problem:

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [December 19, 2021, 8:34pm UTC](https://forum.mautic.org/t/mautic-4-api-question/22079/2 "2021-12-19T20:34:59Z")

</div>

I would suggest checking out this link: [GitHub - mautic/api-library: Mautic API Library](https://github.com/mautic/api-library)

I had some similar issues a while back and if I recall correctly I downloaded the library and copied it over and all was working.
