# How can I send data to a webhook with a username and a password, from a post submit hook, using exports.run

**URL:** <https://connective.celigo.com/t/how-can-i-send-data-to-a-webhook-with-a-username-and-a-password-from-a-post-submit-hook-using-exports-run/347>\
**Category:** Integrator.io\
**Tags:** hooks, authentication, webhook\
**Created:** [September 22, 2023, 11:15pm UTC](https://connective.celigo.com/t/how-can-i-send-data-to-a-webhook-with-a-username-and-a-password-from-a-post-submit-hook-using-exports-run/347 "2023-09-22T23:15:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gilquerubin](https://avatars.discourse-cdn.com/v4/letter/g/b2d939/32.png) [@gilquerubin](https://connective.celigo.com/u/gilquerubin)\
**Post date:** [September 22, 2023, 11:15pm UTC](https://connective.celigo.com/t/how-can-i-send-data-to-a-webhook-with-a-username-and-a-password-from-a-post-submit-hook-using-exports-run/347/1 "2023-09-22T23:15:06Z")

</div>

[https://docs.celigo.com/hc/en-us/articles/10972500798107-Best-practices-for-managing-errors-part-1#tools-and-tips](https://docs.celigo.com/hc/en-us/articles/10972500798107-Best-practices-for-managing-errors-part-1#tools-and-tips)  
  
Currently trying to follow this guide however it doesn't explain how to send data to a webhook when the webhook has a basic verification, with a username and password.

---

<div class="post-metadata">

**Author:** ![tylerlamparter](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/tylerlamparter/32/9204_2.png) [@tylerlamparter](https://connective.celigo.com/u/tylerlamparter)\
**Post date:** [September 23, 2023, 1:23am UTC](https://connective.celigo.com/t/how-can-i-send-data-to-a-webhook-with-a-username-and-a-password-from-a-post-submit-hook-using-exports-run/347/2 "2023-09-23T01:23:40Z")

</div>

@gilquerubin that example doesn't use a generic webhook. It uses a listener tied to the integrator.io connector.

 ![5301043caa20740200000001-d1ef28a45dc44e7fb2ce0f65bae3a233.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/6/694040b12740b3a363325f6a34cc8cfd46a6490a.png)

 ![5301043caa20740200000001-6c3aeca2596f4981881f21a5a2a5e932.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/9/9ef57cfd83b3ce57fdc12276eabc0349834864df.png)

 ![5301043caa20740200000001-4755eb01d47e42069d3f2e026144e797.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/0/0e158ef0fced85e408fe64dede876f0273b4032b.png)

This listener type requires token authentication (despite the title of the url saying "public url") and that token is an IO generated token for your account. However, since the request from the script is coming internally there is no need to pass a token. If you wanted to post to this listener from Postman, you would need the token.

 ![5301043caa20740200000001-7c6ac49106834c3c85fe744d014b72ad.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/4/4faa6529dab9650eeb7879e0c5c20187d42740f4.png)

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

 ![5301043caa20740200000001-5c91f1f1362640538ff23c35746b3743.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/7/78b8c481000c9953862c59dabc2e1dbe3a33acdc.png)
