I am currently building out an application that I am hoping to get published in the app marketplace. This app relies heavily on Webhooks, and I’m trying to figure out how an application with access to multiple front instances could differentiate between events from each instance. Is there something I’m missing in the documentation?
Hi Natalie!
Justin here with the support engineering team
While the events payload will not contain an ID pertaining to the instance, you could have your application look to the URL provided in links.self. Here you should be able to implement some logic to discern between Front instances. For example:
"_links": {
"self": "https://my-test-company-instance.api.frontapp.com/conversations/cnv_1234/messages"
},
Using the above, your application could associate the payload with my-test-company-instance, where other payloads would have a URL pertaining to their own company’s instance.
If there are any other questions, please do not hesitate to reach out!
- Justin
Reply
Login to the community
No account yet? Create an account
Use your Front credentials
Log in with FrontEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.