intercom-node icon indicating copy to clipboard operation
intercom-node copied to clipboard

`GET /contacts/find_by_external_id/:id`

Open louy opened this issue 7 months ago • 5 comments

Hi,

I can't find the SDK method for this API call: https://developers.intercom.com/docs/references/rest-api/api.intercom.io/contacts/showcontactbyexternalid

Is it not supported? Any chance to add it?

louy avatar May 02 '25 17:05 louy

+1 — we also need support for GET /contacts/find_by_external_id/:id in the SDK. It would be great to have this officially added — it's a common lookup case for us when syncing users from our system to Intercom.

Happy to help with testing if needed! 🙌

aykutbulca avatar May 15 '25 04:05 aykutbulca

+1 on this - we need this support and its available in the 2.13 API spec which has been out a while.

geekbleek avatar May 22 '25 23:05 geekbleek

Starting with the 6.4.0 release, you can call that endpoint via the unstable API: client.unstable.contacts.showContactByExternalId({ external_id: '1234' });

feelbadinc avatar Jun 30 '25 07:06 feelbadinc

I got a 400 error with the message "Requested resource is not available in current API version" when trying to use this endpoint with the version 6.4.0 SDK. @iainbreen

dchenk avatar Sep 10 '25 13:09 dchenk

To get it to work, I had to use the unstable SDK methods and pass in the version 2.14 in the request options, which requires suppressing a type error because 2.14 isn't listed in the generated types.

dchenk avatar Sep 10 '25 13:09 dchenk