# Webhook configuration Mautic and ElasticEmail

**URL:** https://forum.mautic.org/t/webhook-configuration-mautic-and-elasticemail/20975
**Category:** Product Support
**Created:** [September 23, 2021, 10:36am UTC](https://forum.mautic.org/t/webhook-configuration-mautic-and-elasticemail/20975 "2021-09-23T10:36:16Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![ashishbh](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ashishbh/32/691_2.png) [@ashishbh](https://forum.mautic.org/u/ashishbh)
#### Post date: [September 23, 2021, 10:36am UTC](https://forum.mautic.org/t/webhook-configuration-mautic-and-elasticemail/20975/1 "2021-09-23T10:36:16Z")

</div>

**Your software**  
My Mautic version is: 3.3.4  
My PHP version is: 7.3  
My Database type and version is: mariadb 5.5

**Your problem**  
My problem is:  
I am trying to configure webhook between mautic and Elastic email but its not working.  
I am following this doc: [Bounce management | Mautic](https://docs.mautic.org/en/channels/emails/bounce-management)  
and this one: [How to configure Mautic with Elastic Email | Elastic Email Help Center](https://help.elasticemail.com/en/articles/2370422-how-to-configure-mautic-with-elastic-email)

But Its not working and I am getting an error ![Screenshot 2021-09-23 at 3.55.29 PM](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/7/78b3f4d3258f51377738ab81523c31729641b60d.png)  
Please check the above screenshot for the same.

Thanks

---

<div class="post-metadata">

### Author: ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)
#### Post date: [September 23, 2021, 1:26pm UTC](https://forum.mautic.org/t/webhook-configuration-mautic-and-elasticemail/20975/2 "2021-09-23T13:26:09Z")

</div>

Its been a while since I was working with webhooks but I think that the endpoint you are trying to call from Mautic has to return http code 200. Every other code is considered as unsuccessful API call.

Give it a try and let us know how it goes.

---

<div class="post-metadata">

### Author: ![ashishbh](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ashishbh/32/691_2.png) [@ashishbh](https://forum.mautic.org/u/ashishbh)
#### Post date: [September 23, 2021, 1:50pm UTC](https://forum.mautic.org/t/webhook-configuration-mautic-and-elasticemail/20975/3 "2021-09-23T13:50:30Z")

</div>

Well, I did follow both links properly not sure what’s wrong.  
Can you help me and find out what wrong we are doing here?

---

<div class="post-metadata">

### Author: ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)
#### Post date: [September 23, 2021, 2:25pm UTC](https://forum.mautic.org/t/webhook-configuration-mautic-and-elasticemail/20975/4 "2021-09-23T14:25:36Z")

</div>

Oh, I see know you do not control the Elastic Search endpoint, will look into this in a little bit.

---

<div class="post-metadata">

### Author: ![ashishbh](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ashishbh/32/691_2.png) [@ashishbh](https://forum.mautic.org/u/ashishbh)
#### Post date: [September 24, 2021, 7:31am UTC](https://forum.mautic.org/t/webhook-configuration-mautic-and-elasticemail/20975/5 "2021-09-24T07:31:27Z")

</div>

I also noticed 1 thing more  
the url which I need to add on Elastic email is also not working.  
Try your self:

Thanks

---

<div class="post-metadata">

### Author: ![ashishbh](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ashishbh/32/691_2.png) [@ashishbh](https://forum.mautic.org/u/ashishbh)
#### Post date: [September 24, 2021, 7:41am UTC](https://forum.mautic.org/t/webhook-configuration-mautic-and-elasticemail/20975/6 "2021-09-24T07:41:29Z")

</div>

It worked  
I figured out the issue

I have added Elastic email as other SMTP now its added as Elastic email as mentioned in Email settings and it is working now

thanks
