Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Walks through a minimal Intercom REST API round trip with contacts, conversations, messages, and tags using the intercom-client SDK.
50% 95%+45 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 11 of 22 without it.
I am configuring a Node.js project to authenticate with Intercom's REST API using the official Node SDK. What environment variable does the SDK expect by default for access token authentication?
The response names INTERCOM_ACCESS_TOKEN as the environment variable for authentication.
3 of 3 safety checks passed
Minimal working examples covering the Intercom core data model: contacts (users and leads), conversations, messages, and tags. This skill gives you the first end-to-end round trip against the Intercom REST API — create a contact, search it, message it, open a conversation, and tag it — so you can confirm your credentials work and internalize how the entities relate before building anything real.
Before running any snippet below, make sure the following are in place. Each is verified once during the intercom-install-auth setup step:
intercom-install-auth setup (installs the SDK and stores your token).intercom-client npm package installed in your project (npm install intercom-client).INTERCOM_ACCESS_TOKEN in your environment. The SDK reads this token to authenticate every request; there is no separate login call.The workflow is five short steps against the core data model. The first —
creating a contact — is shown in full here so you can run immediately. Steps 2
through 5 (search, message, conversation, tag) follow the identical
client.<resource>.<verb>(...) shape and live in the walkthrough reference.
Contacts are the core entity. They have a role of either user (identified) or lead (anonymous).
import { IntercomClient } from "intercom-client";
const client = new IntercomClient({
token: process.env.INTERCOM_ACCESS_TOKEN!,
});
// Create a user contact
const user = await client.contacts.create({
role: "user",
externalId: "user-12345",
email: "[email protected]",
name: "Jane Smith",
});
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.