`GET /contacts/find_by_external_id/:id`
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?
+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! 🙌
+1 on this - we need this support and its available in the 2.13 API spec which has been out a while.
Starting with the 6.4.0 release, you can call that endpoint via the unstable API:
client.unstable.contacts.showContactByExternalId({ external_id: '1234' });
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
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.