Answered

Is there a way to get the Intercom user ID from the iOS SDK?

  • 20 August 2021
  • 1 reply
  • 234 views

I'm trying to get the user ID in order to make additional API calls, but I can't get it other than by performing an additional API call to look up the user's email address, which seems like a rather roundabout way of doing it?

icon

Best answer by Eric Fitz 23 August 2021, 13:46

View original

1 reply

Userlevel 1

Hey @jon-paul​, we don't return the Intercom ID in web/mobile requests. You would need to use the 'search' API to locate the relevant user record based on the email or user ID.

https://developers.intercom.com/intercom-api-reference/reference#search-for-contacts

Reply