How to block outbound webhooks if conversation did not originate from our application? | Community
Skip to main content
Answered

How to block outbound webhooks if conversation did not originate from our application?

  • Sep 13, 2021 6:26 AM UTC
  • 3 replies
  • 160 views

Our webhooks is receiving requests from any conversation that originates from anywhere, even outside our messaging app. Our application keeps getting requests that we don't want. Is there a way to configure this to only get hits based on a particular service?

 

To clarify, we have a messaging application that talks to agents on Intercom. Turns out, even if agents on Intercom are talking to users that do not originate from our app, we get pinged. We just want to isolate the webhook to only receive messages to our application.

Best answer by Eric Fitz

Thanks for clarifying that for me @murali k​. While there is no direct way to attribute webhooks to either mobile or web, a workaround may be to use the "URL" attribute in the webhook data. This populates with a value for web, but remains blank for all other sources.

View original

3 replies

Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • Sep 17, 2021 9:22 AM UTC

Hey @murali k​, just to confirm, you only want to listen for webhooks that come from your mobile app, and not your web platform?


  • Author
  • New Participant
  • Sep 20, 2021 3:49 PM UTC

yes


Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • Answer
  • Sep 21, 2021 10:13 AM UTC

Thanks for clarifying that for me @murali k​. While there is no direct way to attribute webhooks to either mobile or web, a workaround may be to use the "URL" attribute in the webhook data. This populates with a value for web, but remains blank for all other sources.