Is there a way to get the Intercom user ID from the iOS SDK? | Community
Skip to main content
Answer

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

  • August 20, 2021
  • 1 reply
  • 365 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?

Best answer by Eric Fitz

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

1 reply

Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • Answer
  • August 23, 2021

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