The `intercom-client` package provides the official Node.js and TypeScript bindings for interacting with the Intercom API. It is currently stable at version `7.0.3` and supports Intercom API v2.14 as of its v7.0.0 release. The library maintains a frequent release cadence, often driven by automatic code generation via Fern, ensuring it stays up-to-date with the latest Intercom API specifications. Key features include comprehensive TypeScript type definitions for request and response payloads, built-in support for paginated list endpoints through iterators, automatic request retries with exponential backoff for transient errors, and configurable request timeouts. It is designed for modern Node.js environments, requiring Node.js 18 or newer, and embraces ESM imports.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Use named import for the main client class. CommonJS `require` is not officially supported and may lead to issues.
Import the `Intercom` namespace for accessing all exported request and response TypeScript types, e.g., `Intercom.User` or `Intercom.Article`.
Import `IntercomError` to properly catch and handle API-specific errors, which are instances of this class or its subclasses.
Initializes the Intercom client using an environment variable for the API token and demonstrates how to make an API call (e.g., importing AI content) with robust error handling using `IntercomError`.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.
No traffic data recorded yet.