Webhook map
contactscreated(contacts.created)deleted(contacts.deleted)tagCreated(contacts.tagCreated)
conversationsassigned(conversations.assigned)closed(conversations.closed)created(conversations.created)
ping(ping)
HTTP handler setup
app/api/webhook/route.ts
Events
Contacts
Created
contacts.created
A new contact was created in Intercom
Payload
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Yes | — |
topic | string | Yes | — |
id | string | No | — |
app_id | string | Yes | — |
created_at | number | Yes | — |
first_sent_at | number | No | — |
data | object | Yes | — |
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Deleted
contacts.deleted
A contact was deleted from Intercom
Payload
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Yes | — |
topic | string | Yes | — |
id | string | No | — |
app_id | string | Yes | — |
created_at | number | Yes | — |
first_sent_at | number | No | — |
data | object | Yes | — |
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Tag Created
contacts.tagCreated
A tag was added to a contact
Payload
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Yes | — |
topic | string | Yes | — |
id | string | No | — |
app_id | string | Yes | — |
created_at | number | Yes | — |
first_sent_at | number | No | — |
data | object | Yes | — |
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Conversations
Assigned
conversations.assigned
A conversation was assigned to an admin or team
Payload
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Yes | — |
topic | string | Yes | — |
id | string | No | — |
app_id | string | Yes | — |
created_at | number | Yes | — |
first_sent_at | number | No | — |
data | object | Yes | — |
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Closed
conversations.closed
A conversation was closed
Payload
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Yes | — |
topic | string | Yes | — |
id | string | No | — |
app_id | string | Yes | — |
created_at | number | Yes | — |
first_sent_at | number | No | — |
data | object | Yes | — |
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Created
conversations.created
A new conversation was created
Payload
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Yes | — |
topic | string | Yes | — |
id | string | No | — |
app_id | string | Yes | — |
created_at | number | Yes | — |
first_sent_at | number | No | — |
data | object | Yes | — |
data full type
data full type
Response data full type
Response data full type
webhookHooks example
Ping
Ping
ping
Initial ping sent by Intercom when a webhook URL is first registered
Payload
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Yes | — |
topic | string | Yes | — |
id | string | No | — |
app_id | string | Yes | — |
created_at | number | Yes | — |
first_sent_at | number | No | — |
data | object | Yes | — |
data full type
data full type
Response data full type
Response data full type
webhookHooks example