Intercom webhooks: configure and verify an event

Set up an Intercom event and destination, check authentication and retries, then verify the received record using fictional data.

Intercom webhooks send event notifications to your HTTPS endpoint so another system can act on a support event. Subscribe to the required topic, authenticate each delivery and save it before acknowledging receipt. Then verify the destination record, including what happens when the same notification arrives again.

A webhook supplies the event. Your receiving application must decide which record to update and prevent repeated deliveries from repeating the business action.

Choose the support event and destination

Choose the topic that describes the support action, then define the exact destination change. For example, a retailer can record that a customer conversation closed without marking an unrelated order as refunded.

Intercom’s webhook topic reference lists conversation.admin.closed for an admin closing a conversation. It requires Read conversations. Use that topic for the example below, with a destination support record matched by conversation identifier.

Write the expected result before configuring the subscription. For a fictional conversation conv-test-41, the receiving workflow will mark its linked test support record as closed. A missing association will enter a review queue. It will leave order and payment records unchanged.

Use the webhook overview to distinguish the notification identifier from the object being reported. Keep the notification’s id for delivery tracking and the conversation identifier for matching the destination. A new event for the same conversation is different from a repeated delivery of one event.

Prepare an isolated Intercom test app or workspace and a receiving test environment. Give the destination service account access only to the support records and fields the workflow changes. If the receiver fetches more details from Intercom, grant only the permissions required for that additional request.

Follow Intercom’s webhook setup instructions in this order.

  1. Open the intended app in Developer Hub. Under Configure, select Webhooks.
  2. Enter the full HTTPS endpoint URL. It must accept the HEAD request Intercom uses to validate it, then receive event POST requests.
  3. Select the topic and inspect its required permissions. Add the corresponding permission on the app’s Authentication page when needed.
  4. Save the subscription and confirm the app is installed in the intended workspace. Public app installations require the user’s permission grant.

Subscriptions belong to the app and receive events from its installed workspaces. Route each workspace to its own destination before accepting customer events. A shared endpoint must never infer the tenant from a customer-supplied email address.

Record the configured API version alongside your parser. Use the selected topic’s documented payload shape, then inspect a fictional delivery before mapping fields. Don’t assume a ticket event and a conversation event put equivalent fields in the same place.

Configure authentication and delivery handling

Verify the webhook signature against the raw request body before parsing or processing the event. Intercom’s topic reference specifies X-Hub-Signature, formed from sha1= and an HMAC-SHA1 hexadecimal digest using the app’s client_secret.

Keep the secret on the receiving server. Compare signatures using a constant-time comparison and reject missing or invalid signatures. Parsing JSON and rebuilding it before verification can change the bytes, so preserve the original body for this step.

Implement the receiving path in this order.

  1. Verify the signature and validate the event against the expected app and topic. Route only to an authorised destination.
  2. Save the accepted notification durably with a unique identifier. A queue or event store must survive a process restart.
  3. Return HTTP 200 promptly after that save. Run slower destination work separately.
  4. Apply the destination change once. Store the resulting destination identifier and processing status with the event.
  5. On a repeated delivery, find the existing event and acknowledge it without repeating a completed action. Resume failed work through the processing queue.

This is idempotency: processing the same event again leaves the business result unchanged. Enforce it across concurrent requests, not just consecutive requests. Where the destination supports idempotency tokens, use the same token for every attempt at that event’s write.

Intercom’s delivery guide warns that notifications can arrive out of order and duplicate when acknowledgement takes longer than five seconds. Compare event times when updating state. An older close event must not overwrite a later reopen.

The topic reference distinguishes delivery outcomes.

Receiver outcomeDocumented Intercom behaviourReceiver action
2xxDelivery succeedsUse 200 after durable acceptance
TimeoutOne retry after one minuteInspect whether the first event was saved before retrying work
410Subscription is disabledReserve this response for an intentionally removed endpoint
429Delivery is throttled, with notifications dropped after the documented two-hour windowRestore capacity and reconcile missing events
Other 4xx or 5xxRetry after one minute, with failed delivery recorded if the next attempt failsFix the cause and use a controlled recovery path

A 200 response transfers responsibility to your receiver. If the later destination write fails, your queue must retain the event for recovery. Monitor accepted events that have no completed destination update.

Verify receipt and the resulting record

Use fictional records to prove that receipt produces the intended support update once. Keep the same event identifier when testing a repeated delivery, and use a new identifier for a genuinely new event.

Run these cases in your isolated environments.

Fictional caseInput or faultObservable destination result
Successful closeAn authenticated close event for conv-test-41Its linked test support record is closed and the event is completed
Duplicate deliveryThe same notification arrives twice, including concurrentlyOne completed update and one event record, with both deliveries acknowledged
Invalid signatureA fictional request fails signature verificationNo queued work and no destination change
Temporary destination failureThe receiver saves an event, but the destination rejects its writeThe event remains pending or failed, then completes once after controlled retry
Missing destination associationAn event names an unlinked fictional conversationThe event enters review and unrelated records stay unchanged
Out-of-order eventAn older close arrives after a newer reopenThe later destination state survives

For each case, inspect the saved destination after reloading it. Compare its source conversation identifier and status with the event record. A delivery dashboard showing success confirms the HTTP exchange, while the destination proves the business action.

Keep logs limited to notification identifiers, processing outcomes and a redacted destination reference. Exclude signatures and secrets, customer messages and contact details. Restrict access to retained payloads and define how long the receiver keeps them.

For safe replay, find the failed event in the receiver’s durable store and inspect the destination before reprocessing. If the original write succeeded but its acknowledgement failed, reconcile that result instead of creating another record. Apply the same idempotency rule during recovery.

If events stop arriving, inspect the subscription and its permission scopes before changing the receiver. The delivery guide describes paused or suspended subscriptions after sustained errors. Repair the endpoint first, then resume a suspended private-app subscription with Set live in Developer Hub.

Enable customer traffic once the expected record changes survive retries and duplicates, and failed events remain visible to an assigned operator. Keep a reconciliation process for missing deliveries because provider retries have finite limits.

Give your store its own shopping agent

Customers ask in their own words. Your agent finds, compares and checks out from your catalogue, right on your site.

See it in actionFree trial · Simple setup