Create a contact in Intercom and attach a custom attribute via the Contacts REST API

domain: developers.intercom.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Generate an access token for your Intercom app from the Developer Hub and include it as a Bearer token in the Authorization header on all requests.
  2. Set the Intercom-Version header to the API version you are targeting (current stable is 2.15) to ensure consistent response shapes.
  3. Create a new contact by sending POST https://api.intercom.io/contacts with a JSON body containing at minimum role (user or lead) and either email or external_id.
  4. To set custom attributes on the contact at creation time, include a custom_attributes object in the POST body with key-value pairs matching the attribute names defined in the Intercom workspace.
  5. If a contact with the same email already exists, the API returns a 409 conflict — handle this by retrieving the existing contact via GET /contacts?email={email} and then updating it with PUT /contacts/{id}.

Known gotchas

Related routes

Create or update an Intercom contact with custom attributes via the Contacts API
intercom.io · 6 steps · unrated
Configure Intercom data attributes (custom attributes) for contacts and companies via the Data Attributes API
intercom.io · 6 steps · unrated
Upsert Intercom contacts, start conversations, and configure Fin AI agent handoff to human support via the Intercom REST API
developers.intercom.com/docs/references/rest-api · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans