# FAQ: Which data should I encode when building a webhook listener (HMAC authentication)?

**URL:** <https://connective.celigo.com/t/faq-which-data-should-i-encode-when-building-a-webhook-listener-hmac-authentication/1197>\
**Category:** Integrator.io\
**Tags:** authentication, security, listener, webhook\
**Created:** [March 13, 2021, 12:23am UTC](https://connective.celigo.com/t/faq-which-data-should-i-encode-when-building-a-webhook-listener-hmac-authentication/1197 "2021-03-13T00:23:36Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![ommishra](https://avatars.discourse-cdn.com/v4/letter/o/f08c70/32.png) [@ommishra](https://connective.celigo.com/u/ommishra)\
**Post date:** [March 13, 2024, 3:16pm UTC](https://connective.celigo.com/t/faq-which-data-should-i-encode-when-building-a-webhook-listener-hmac-authentication/1197/5 "2024-03-13T15:16:19Z")

</div>

Hi Kumar,

I just tried and it's working for me. Below are the steps I used to make it work.  
  
1. I created a webhook listener in IO and provided the necessary details. For the Key (secret) value, I used: "secret".

 ![5301043caa20740200000001-b0ece46cd3204abf8e633744554e4f8c.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/8/827b2e6bda4f2fd59fa152f984213590d1fd4d8f.png)

2. I entered the POST public URL in Postman and used the script mentioned in the earlier [post](https://connective.celigo.com/t/construct-an-hmac-request-via-postman-to-send-test-requests-to-celigo-webhooks/1119).

 ![5301043caa20740200000001-834653c39726440e873b28f7ff616fbc.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/e/e1703bf7e489955441ed34b61668bb4f094dc72a.png)

3. In the above screenshot, I defined the HMAC variable using the same script I'm using in the Pre-request Script, as shown in the screenshot below.

 ![5301043caa20740200000001-d403a1a90bcb4ffba291ebebba43fdce.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/1/106126f32543141dcb1598763902481ee4b60768.png)

4. I received a 204 response code and was able to see the data in IO.

 ![5301043caa20740200000001-da2421a9ad2e4fb5a91cef139d51d892.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/5/551c00f553359b1b8aaf1b68a9fb099f8b38671e.png)

 ![5301043caa20740200000001-f255d9670a9f4bbaa5ae58c73618f158.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/c/c85d0d10b4dcc630578f2ff09ce1df67e9ffc7e2.png)

Hope this helps.  
  
Thanks,  
Om Mishra

---

_[View the full topic](https://connective.celigo.com/t/faq-which-data-should-i-encode-when-building-a-webhook-listener-hmac-authentication/1197)._
