How to get API inbox ID from URL Inbox ID
We’re building an integration that makes use of Application Webhooks and would like to configure some logic based on the originating inbox. We’re running into a challenge getting inbox IDs. Notably, the UI and API use different, incompatible IDs.
- UI ID: 30231326
- API ID: inb_123
In particular, we’d like to be able to use the UI ids to configure these filters since it’s what our customers are familiar with (or they can simply drop a link that we pull the ID out of). Problem is we can’t figure out a way to match up a UI ID with the API ID.
Alternative, we considered building some sort of “Inbox Picker” in our app, but want to avoid this for several reasons:
- Two Inbox can have the same name, so we need a means of disambiguating inboxes.
- Further, the API response is pretty limited so we’re not sure how we’d even help users understand the difference.
- Building a UI “Picker” component is a lot more work.
- In our other integrations (non-Front integrations), it’s not uncommon for customers to send us IDs or links when debugging (we can infer ID from links). We can’t figure out a way that’d we’d be able to correlate what our customer sees with records that hit our backend.
