RealComposer

Intercom Safe & Unsafe Practices

Direct Answer

Intercom access tokens are server-only. The Messenger app ID is public, but without identity verification anyone can claim another user identity. Sign user IDs on your server with the identity verification secret and call the REST API only from trusted code.

Credentials & Where They Belong

Client safe
Messenger app ID

Loads the Messenger widget.

Server only
Access token

Reads and writes contacts, conversations, and tickets.

Server only
Identity verification secret

Signs user_hash or JWT values for Messenger.

Safe Practices

  • Enable identity verification

    Generate the user hash or JWT on your server for each logged-in user.

  • Expose only public conversation fields

    Strip internal notes, admin assignments, and tags before returning data.

Unsafe Practices

  • Running Messenger without identity verification

    Users can pass another email or user ID and read their conversation history.

  • Calling the REST API from client code

    The access token would expose every customer conversation.

The RealComposer Pattern

Store INTERCOM_TOKEN in the vault and expose pipelines that return a slim list of the signed-in user conversations without internal notes.

START BUILDING FREE

Frequently Asked Questions

Q:What does Intercom identity verification protect against?

It stops visitors from impersonating other users in the Messenger by requiring a server-signed identity.

Intercom Recipes

Security & Secret Vault

Call intercom api from bubble io without access token

Removes Intercom PAT from Bubble connector configuration and network logs. For "call intercom api from bubble io without access token", store INTERCOM_ACCESS_TOKEN in Secret Vault, call https://api.intercom.io/contacts from a Worker, and let Bubble.io hit only https://realcomposer.com/v1/workspace/call-intercom-from-bubble-securely with an rc_live_ client token.

Sub-10ms edgeView Recipe
Security & Secret Vault

Hide intercom access token in react app

Intercom contacts and events via edge proxy with server-side Bearer token. For "hide intercom access token in react app", store INTERCOM_ACCESS_TOKEN in Secret Vault, call https://api.intercom.io/contacts from a Worker, and let React hit only https://realcomposer.com/v1/workspace/hide-intercom-access-token-react with an rc_live_ client token.

Sub-10ms edgeView Recipe

Combine intercom users with clerk user metadata

Clerk user profile and Intercom contact record stitched for in-app chat. For "combine intercom users with clerk user metadata", store INTERCOM_ACCESS_TOKEN, CLERK_SECRET_KEY in Secret Vault, call https://api.intercom.io/contacts from a Worker, and let React / Flutter / Mobile hit only https://realcomposer.com/v1/workspace/combine-intercom-with-clerk-users with an rc_live_ client token.

Sub-10ms edgeView Recipe
Multi-API Aggregation

Combine intercom with posthog user events

Intercom conversation list plus PostHog person properties in one payload. For "combine intercom with posthog user events", store INTERCOM_ACCESS_TOKEN, POSTHOG_PERSONAL_API_KEY in Secret Vault, call https://api.intercom.io/contacts from a Worker, and let React hit only https://realcomposer.com/v1/workspace/combine-intercom-with-posthog-events with an rc_live_ client token.

Sub-10ms edgeView Recipe
Platforms & Frameworks

Intercom zendesk unified support api low code

Multi-step Intercom and Zendesk proxy for Appsmith dashboards. For "intercom zendesk unified support api low code", store INTERCOM_ACCESS_TOKEN, ZENDESK_API_TOKEN in Secret Vault, call https://api.intercom.io/contacts from a Worker, and let Appsmith hit only https://realcomposer.com/v1/workspace/intercom-zendesk-unified-support-low-code with an rc_live_ client token.

Sub-10ms edgeView Recipe

Related Concepts