intercom.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
Admins
get
admins.get
Retrieve a single admin
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
name | string | No | — |
email | string | No | — |
away_mode_enabled | boolean | No | — |
away_mode_reassign | boolean | No | — |
has_inbox_seat | boolean | No | — |
team_ids | number[] | No | — |
avatar | string | No | — |
identify
admins.identify
Identify the currently authorised admin
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
name | string | No | — |
email | string | No | — |
away_mode_enabled | boolean | No | — |
away_mode_reassign | boolean | No | — |
has_inbox_seat | boolean | No | — |
team_ids | number[] | No | — |
avatar | string | No | — |
list
admins.list
List all admins in the workspace
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
admins | object[] | Yes | — |
admins full type
admins full type
listActivityLogs
admins.listActivityLogs
List all admin activity logs
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
created_at_after | string | Yes | — |
created_at_before | string | No | — |
page | number | No | — |
per_page | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
pages | object | No | — |
activity_logs | object[] | Yes | — |
pages full type
pages full type
activity_logs full type
activity_logs full type
setAway
admins.setAway
Set an admin as away
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
away_mode_enabled | boolean | Yes | — |
away_mode_reassign | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
name | string | No | — |
email | string | No | — |
away_mode_enabled | boolean | No | — |
away_mode_reassign | boolean | No | — |
has_inbox_seat | boolean | No | — |
team_ids | number[] | No | — |
avatar | string | No | — |
Articles
create
articles.create
Create a new article
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
title | string | Yes | — |
author_id | number | Yes | — |
body | string | No | — |
description | string | No | — |
state | draft | published | No | — |
parent_id | number | No | — |
parent_type | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
title | string | No | — |
description | string | No | — |
body | string | No | — |
author_id | number | No | — |
state | string | No | — |
created_at | number | No | — |
updated_at | number | No | — |
url | string | No | — |
delete
articles.delete
Delete an article [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | string | No | — |
deleted | boolean | No | — |
get
articles.get
Retrieve a single article
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
title | string | No | — |
description | string | No | — |
body | string | No | — |
author_id | number | No | — |
state | string | No | — |
created_at | number | No | — |
updated_at | number | No | — |
url | string | No | — |
list
articles.list
List all articles
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
state | draft | published | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
data | object[] | Yes | — |
pages | object | No | — |
total_count | number | No | — |
data full type
data full type
pages full type
pages full type
search
articles.search
Search for articles
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
phrase | string | Yes | — |
help_center_id | number | No | — |
state | draft | published | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
data | object[] | Yes | — |
pages | object | No | — |
total_count | number | No | — |
data full type
data full type
pages full type
pages full type
update
articles.update
Update an existing article
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
title | string | No | — |
author_id | number | No | — |
body | string | No | — |
description | string | No | — |
state | draft | published | No | — |
parent_id | number | No | — |
parent_type | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
title | string | No | — |
description | string | No | — |
body | string | No | — |
author_id | number | No | — |
state | string | No | — |
created_at | number | No | — |
updated_at | number | No | — |
url | string | No | — |
Collections
create
collections.create
Create a new collection
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | — |
description | string | No | — |
help_center_id | number | No | — |
parent_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
name | string | No | — |
description | string | No | — |
created_at | number | No | — |
updated_at | number | No | — |
url | string | No | — |
icon | string | No | — |
order | number | No | — |
help_center_id | number | No | — |
delete
collections.delete
Delete a collection [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | string | No | — |
deleted | boolean | No | — |
get
collections.get
Retrieve a single collection
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
name | string | No | — |
description | string | No | — |
created_at | number | No | — |
updated_at | number | No | — |
url | string | No | — |
icon | string | No | — |
order | number | No | — |
help_center_id | number | No | — |
list
collections.list
List all collections
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
help_center_id | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
data | object[] | Yes | — |
pages | object | No | — |
total_count | number | No | — |
data full type
data full type
pages full type
pages full type
update
collections.update
Update a collection
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
name | string | No | — |
description | string | No | — |
order | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
name | string | No | — |
description | string | No | — |
created_at | number | No | — |
updated_at | number | No | — |
url | string | No | — |
icon | string | No | — |
order | number | No | — |
help_center_id | number | No | — |
Companies
createOrUpdate
companies.createOrUpdate
Create or update a company
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
company_id | string | No | — |
name | string | No | — |
remote_created_at | number | No | — |
plan | string | No | — |
size | number | No | — |
website | string | No | — |
industry | string | No | — |
monthly_spend | number | No | — |
custom_attributes | object | No | — |
custom_attributes full type
custom_attributes full type
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
company_id | string | No | — |
name | string | No | — |
created_at | number | No | — |
updated_at | number | No | — |
monthly_spend | number | No | — |
session_count | number | No | — |
user_count | number | No | — |
size | number | No | — |
website | string | No | — |
industry | string | No | — |
delete
companies.delete
Delete a company [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | string | No | — |
deleted | boolean | No | — |
get
companies.get
Retrieve a company by Intercom ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
company_id | string | No | — |
name | string | No | — |
created_at | number | No | — |
updated_at | number | No | — |
monthly_spend | number | No | — |
session_count | number | No | — |
user_count | number | No | — |
size | number | No | — |
website | string | No | — |
industry | string | No | — |
list
companies.list
List all companies
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
order | string | No | — |
tag_id | string | No | — |
segment_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
data | object[] | Yes | — |
pages | object | No | — |
total_count | number | No | — |
data full type
data full type
pages full type
pages full type
listAttachedContacts
companies.listAttachedContacts
List contacts attached to a company
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
page | number | No | — |
per_page | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
data | object[] | Yes | — |
pages | object | No | — |
total_count | number | No | — |
data full type
data full type
pages full type
pages full type
listAttachedSegments
companies.listAttachedSegments
List segments attached to a company
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
data | object[] | Yes | — |
data full type
data full type
retrieve
companies.retrieve
Retrieve a company by company_id or name
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
company_id | string | No | — |
name | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
company_id | string | No | — |
name | string | No | — |
created_at | number | No | — |
updated_at | number | No | — |
monthly_spend | number | No | — |
session_count | number | No | — |
user_count | number | No | — |
size | number | No | — |
website | string | No | — |
industry | string | No | — |
scroll
companies.scroll
Scroll over all companies for large datasets
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
scroll_param | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
data | object[] | Yes | — |
scroll_param | string | No | — |
pages | object | No | — |
data full type
data full type
pages full type
pages full type
Contacts
addSubscription
contacts.addSubscription
Add a subscription to a contact
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
contact_id | string | Yes | — |
id | string | Yes | — |
consent_type | opt_in | opt_out | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
state | string | No | — |
consent_type | string | No | — |
default_translation | object | No | — |
default_translation full type
default_translation full type
addTag
contacts.addTag
Add a tag to a contact
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
contact_id | string | Yes | — |
tag_id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
name | string | No | — |
attachToCompany
contacts.attachToCompany
Attach a contact to a company
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
contact_id | string | Yes | — |
company_id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
company_id | string | No | — |
name | string | No | — |
created_at | number | No | — |
updated_at | number | No | — |
monthly_spend | number | No | — |
session_count | number | No | — |
user_count | number | No | — |
size | number | No | — |
website | string | No | — |
industry | string | No | — |
createNote
contacts.createNote
Create a note for a contact
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
contact_id | string | Yes | — |
body | string | Yes | — |
admin_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
body | string | No | — |
author | object | No | — |
contact | object | No | — |
created_at | number | No | — |
author full type
author full type
contact full type
contact full type
delete
contacts.delete
Delete a contact [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
object | string | No | — |
deleted | boolean | No | — |
detachFromCompany
contacts.detachFromCompany
Detach a contact from a company
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
contact_id | string | Yes | — |
company_id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
company_id | string | No | — |
name | string | No | — |
created_at | number | No | — |
updated_at | number | No | — |
monthly_spend | number | No | — |
session_count | number | No | — |
user_count | number | No | — |
size | number | No | — |
website | string | No | — |
industry | string | No | — |
get
contacts.get
Get a single contact by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
external_id | string | No | — |
user_id | string | No | — |
email | string | No | — |
name | string | No | — |
phone | string | No | — |
role | string | No | — |
created_at | number | No | — |
updated_at | number | No | — |
last_seen_at | number | No | — |
unsubscribed_from_emails | boolean | No | — |
list
contacts.list
List all contacts
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
starting_after | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
data | object[] | Yes | — |
pages | object | No | — |
total_count | number | No | — |
data full type
data full type
pages full type
pages full type
listAttachedCompanies
contacts.listAttachedCompanies
List companies attached to a contact
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
contact_id | string | Yes | — |
page | number | No | — |
per_page | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
data | object[] | Yes | — |
pages | object | No | — |
total_count | number | No | — |
data full type
data full type
pages full type
pages full type
listAttachedSegments
contacts.listAttachedSegments
List segments attached to a contact
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
contact_id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
data | object[] | Yes | — |
data full type
data full type
listNotes
contacts.listNotes
List all notes for a contact
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
contact_id | string | Yes | — |
page | number | No | — |
per_page | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
data | object[] | Yes | — |
pages | object | No | — |
total_count | number | No | — |
data full type
data full type
pages full type
pages full type
listSubscriptions
contacts.listSubscriptions
List subscription types for a contact
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
contact_id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
data | object[] | Yes | — |
data full type
data full type
listTags
contacts.listTags
List all tags attached to a contact
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
contact_id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
data | object[] | Yes | — |
data full type
data full type
merge
contacts.merge
Merge a lead into a user contact
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
lead_id | string | Yes | — |
user_id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
external_id | string | No | — |
user_id | string | No | — |
email | string | No | — |
name | string | No | — |
phone | string | No | — |
role | string | No | — |
created_at | number | No | — |
updated_at | number | No | — |
last_seen_at | number | No | — |
unsubscribed_from_emails | boolean | No | — |
removeSubscription
contacts.removeSubscription
Remove a subscription from a contact
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
contact_id | string | Yes | — |
subscription_id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
state | string | No | — |
consent_type | string | No | — |
default_translation | object | No | — |
default_translation full type
default_translation full type
removeTag
contacts.removeTag
Remove a tag from a contact
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
contact_id | string | Yes | — |
tag_id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
name | string | No | — |
update
contacts.update
Update an existing contact
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
email | string | No | — |
name | string | No | — |
phone | string | No | — |
role | user | lead | No | — |
external_id | string | No | — |
unsubscribed_from_emails | boolean | No | — |
custom_attributes | object | No | — |
custom_attributes full type
custom_attributes full type
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
external_id | string | No | — |
user_id | string | No | — |
email | string | No | — |
name | string | No | — |
phone | string | No | — |
role | string | No | — |
created_at | number | No | — |
updated_at | number | No | — |
last_seen_at | number | No | — |
unsubscribed_from_emails | boolean | No | — |
Conversations
assign
conversations.assign
Assign a conversation to an admin or team
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
admin_id | string | Yes | — |
assignee_id | string | Yes | — |
type | admin | team | No | — |
message_type | assignment | No | — |
body | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
created_at | number | No | — |
updated_at | number | No | — |
waiting_since | number | No | — |
snoozed_until | number | No | — |
state | string | No | — |
read | boolean | No | — |
priority | string | No | — |
assignee | object | No | — |
source | object | No | — |
conversation_parts | object | No | — |
assignee full type
assignee full type
source full type
source full type
conversation_parts full type
conversation_parts full type
close
conversations.close
Close a conversation
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
admin_id | string | Yes | — |
message_type | close | No | — |
body | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
created_at | number | No | — |
updated_at | number | No | — |
waiting_since | number | No | — |
snoozed_until | number | No | — |
state | string | No | — |
read | boolean | No | — |
priority | string | No | — |
assignee | object | No | — |
source | object | No | — |
conversation_parts | object | No | — |
assignee full type
assignee full type
source full type
source full type
conversation_parts full type
conversation_parts full type
create
conversations.create
Create a new conversation
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
from | object | Yes | — |
body | string | Yes | — |
from full type
from full type
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
created_at | number | No | — |
updated_at | number | No | — |
waiting_since | number | No | — |
snoozed_until | number | No | — |
state | string | No | — |
read | boolean | No | — |
priority | string | No | — |
assignee | object | No | — |
source | object | No | — |
conversation_parts | object | No | — |
assignee full type
assignee full type
source full type
source full type
conversation_parts full type
conversation_parts full type
get
conversations.get
Get a conversation by ID with all messages and details
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
display_as | plaintext | html | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
created_at | number | No | — |
updated_at | number | No | — |
waiting_since | number | No | — |
snoozed_until | number | No | — |
state | string | No | — |
read | boolean | No | — |
priority | string | No | — |
assignee | object | No | — |
source | object | No | — |
conversation_parts | object | No | — |
assignee full type
assignee full type
source full type
source full type
conversation_parts full type
conversation_parts full type
list
conversations.list
List conversations with filtering and pagination
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
page | number | No | — |
per_page | number | No | — |
sort | string | No | — |
order | asc | desc | No | — |
starting_after | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
pages | object | No | — |
total_count | number | No | — |
conversations | object[] | Yes | — |
pages full type
pages full type
conversations full type
conversations full type
reopen
conversations.reopen
Reopen a closed conversation
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
admin_id | string | Yes | — |
message_type | open | No | — |
body | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
created_at | number | No | — |
updated_at | number | No | — |
waiting_since | number | No | — |
snoozed_until | number | No | — |
state | string | No | — |
read | boolean | No | — |
priority | string | No | — |
assignee | object | No | — |
source | object | No | — |
conversation_parts | object | No | — |
assignee full type
assignee full type
source full type
source full type
conversation_parts full type
conversation_parts full type
reply
conversations.reply
Send a reply to a conversation
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
admin_id | string | No | — |
intercom_user_id | string | No | — |
message_type | comment | note | No | — |
type | admin | user | Yes | — |
body | string | Yes | — |
attachment_urls | string[] | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | string | Yes | — |
created_at | number | No | — |
updated_at | number | No | — |
waiting_since | number | No | — |
snoozed_until | number | No | — |
state | string | No | — |
read | boolean | No | — |
priority | string | No | — |
assignee | object | No | — |
source | object | No | — |
conversation_parts | object | No | — |
assignee full type
assignee full type
source full type
source full type
conversation_parts full type
conversation_parts full type
search
conversations.search
Search conversations using query string
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
query | object | No | — |
sort | object | No | — |
pagination | object | No | — |
query full type
query full type
sort full type
sort full type
pagination full type
pagination full type
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
pages | object | No | — |
total_count | number | No | — |
conversations | object[] | Yes | — |
pages full type
pages full type
conversations full type
conversations full type
Help Centers
get
helpCenters.get
Retrieve a single help center
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
id | number | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
id | number | Yes | — |
workspace_id | string | No | — |
identifier | string | No | — |
website_turned_on | boolean | No | — |
display_name | string | No | — |
list
helpCenters.list
List all help centers
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | — |
data | object[] | Yes | — |
data full type
data full type