Answered

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

  • 13 September 2021
  • 3 replies
  • 5 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.

icon

Best answer by Eric Fitz 21 September 2021, 12:13

View original

3 replies

Userlevel 1

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

yes

Userlevel 1

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.

Reply