Skip to main content
Answer

Webhook / API querying based on views rather than inboxes

  • July 12, 2023
  • 1 reply
  • 85 views

Forum|alt.badge.img

Hi there !
I have a question, we are currently using the inboxes as filter to get the events by webhooks. I am wondering if it is, or will be, possible to set a condition in the webhook config in front app to get the events concerning a specific view rather than inbox ? Do you know something about it ? The same question for the API, I looked for views in your API doc, but found nothing, will it be available in the future to do some calls on views ?

Thanks in advance !
Tomasz

Best answer by jason

Hi Tomasz,

That’s an interesting use case, but unfortunately not currently supported in the sense of “subscribing to a view”.

You should be able to configure your “send to webhook” rule to have the same conditions as the View (inbox is … and has tags … etc) so that should replicate the behavior you’re looking for. 

Regarding the API part, Views are a UI-only concept, so they are not accessible to the API. 

1 reply

jason
Forum|alt.badge.img+8
  • Fronteer
  • Answer
  • July 12, 2023

Hi Tomasz,

That’s an interesting use case, but unfortunately not currently supported in the sense of “subscribing to a view”.

You should be able to configure your “send to webhook” rule to have the same conditions as the View (inbox is … and has tags … etc) so that should replicate the behavior you’re looking for. 

Regarding the API part, Views are a UI-only concept, so they are not accessible to the API.