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

Hide intercom access token in react app

You should not store Intercom credentials in React client code. Intercom contacts and events via edge proxy with server-side Bearer token. RealComposer Secret Vault injects headers on Cloudflare Workers so only your edge URL is public.

Sub-10ms edgeView Recipe
Multi-API Aggregation

Combine Intercom Conversations and Zendesk Tickets

To solve combine intercom conversations and zendesk tickets, never execute unauthenticated requests or embed private tokens directly in client bundles. RealComposer acts as a sub-10ms edge gateway running on Cloudflare Workers that securely injects credentials from your Secret Vault, normalizes responses, and prevents unauthorized API usage. Route calls through your RealComposer edge URL to guarantee complete privacy, robust origin validation, and low mobile latency.

Sub-10ms edgeView Recipe

Related Concepts