Intercom
Connect to Intercom to manage conversations, contacts, companies, tickets, help center content, and support automation.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| OAuth 2.0 | oauth2 | available | — |
调用示例
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "INTERCOM_ARCHIVE_CONTACT", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("INTERCOM_ARCHIVE_CONTACT", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute INTERCOM_ARCHIVE_CONTACT --data '{ }'Tool 目录
可用 Tools
149 个可调用操作
Archive contactINTERCOM_ARCHIVE_CONTACTYou can archive a single contact.需要连接
You can archive a single contact.
认证
需要 Connected AccountTags
Attach a Contact to a CompanyINTERCOM_ATTACH_CONTACT_TO_ACOMPANYYou can attach a company to a single contact.需要连接
You can attach a company to a single contact.
认证
需要 Connected AccountTags
Attach a contact to a conversationINTERCOM_ATTACH_CONTACT_TO_CONVERSATIONYou can add participants who are contacts to a conversation, on behalf of either another contact or an admin. {% admonition type="warning" name="Contacts without an email" %} If you add a contact via the email parameter and there is no user/lead found on that workspace with he given email, then we will create a new contact with `role` set to `lead`. {% /admonition %}需要连接
You can add participants who are contacts to a conversation, on behalf of either another contact or an admin. {% admonition type="warning" name="Contacts without an email" %} If you add a contact via the email parameter and there is no user/lead found on that workspace with he given email, then we will create a new contact with `role` set to `lead`. {% /admonition %}
认证
需要 Connected AccountTags
Add subscription to a contactINTERCOM_ATTACH_SUBSCRIPTION_TYPE_TO_CONTACTYou can add a specific subscription to a contact. In Intercom, we have two different subscription types based on user consent - opt-out and opt-in: 1.Attaching a contact to an opt-out subscription type will opt that user out from receiving messages related to that subscription type. 2.Attaching a contact to an opt-in subscription type will opt that user in to receiving messages related to that subscription type. This will return a subscription type model for the subscription type that was added to the contact.需要连接
You can add a specific subscription to a contact. In Intercom, we have two different subscription types based on user consent - opt-out and opt-in: 1.Attaching a contact to an opt-out subscription type will opt that user out from receiving messages related to that subscription type. 2.Attaching a contact to an opt-in subscription type will opt that user in to receiving messages related to that subscription type. This will return a subscription type model for the subscription type that was added to the contact.
认证
需要 Connected AccountTags
Add tag to a contactINTERCOM_ATTACH_TAG_TO_CONTACTYou can tag a specific contact. This will return a tag object for the tag that was added to the contact.需要连接
You can tag a specific contact. This will return a tag object for the tag that was added to the contact.
认证
需要 Connected AccountTags
Add tag to a conversationINTERCOM_ATTACH_TAG_TO_CONVERSATIONYou can tag a specific conversation. This will return a tag object for the tag that was added to the conversation.需要连接
You can tag a specific conversation. This will return a tag object for the tag that was added to the conversation.
认证
需要 Connected AccountTags
Add tag to a ticketINTERCOM_ATTACH_TAG_TO_TICKETYou can tag a specific ticket. This will return a tag object for the tag that was added to the ticket.需要连接
You can tag a specific ticket. This will return a tag object for the tag that was added to the ticket.
认证
需要 Connected AccountTags
Block contactINTERCOM_BLOCK_CONTACTBlock a single contact.<br>**Note:** conversations of the contact will also be archived during the process.<br>More details in [FAQ How do I block Inbox spam?](https://www.intercom.com/help/en/articles/8838656-inbox-faqs)需要连接
Block a single contact.<br>**Note:** conversations of the contact will also be archived during the process.<br>More details in [FAQ How do I block Inbox spam?](https://www.intercom.com/help/en/articles/8838656-inbox-faqs)
认证
需要 Connected AccountTags
Cancel content data exportINTERCOM_CANCEL_DATA_EXPORTYou can cancel your job需要连接
You can cancel your job
认证
需要 Connected AccountTags
Convert a conversation to a ticketINTERCOM_CONVERT_CONVERSATION_TO_TICKETYou can convert a conversation to a ticket.需要连接
You can convert a conversation to a ticket.
认证
需要 Connected AccountTags
Convert a visitorINTERCOM_CONVERT_VISITORYou can merge a Visitor to a Contact of role type `lead` or `user`. > 📘 What happens upon a visitor being converted? > > If the User exists, then the Visitor will be merged into it, the Visitor deleted and the User returned. If the User does not exist, the Visitor will be converted to a User, with the User identifiers replacing it's Visitor identifiers.需要连接
You can merge a Visitor to a Contact of role type `lead` or `user`. > 📘 What happens upon a visitor being converted? > > If the User exists, then the Visitor will be merged into it, the Visitor deleted and the User returned. If the User does not exist, the Visitor will be converted to a User, with the User identifiers replacing it's Visitor identifiers.
认证
需要 Connected AccountTags
Create an articleINTERCOM_CREATE_ARTICLEYou can create a new article by making a POST request to `https://api.intercom.io/articles`. > 📘 Tags cannot be managed via the Articles API > > Article tags are read-only in responses. To create, update, or delete tags, use the Intercom UI or the Tags API endpoints.需要连接
You can create a new article by making a POST request to `https://api.intercom.io/articles`. > 📘 Tags cannot be managed via the Articles API > > Article tags are read-only in responses. To create, update, or delete tags, use the Intercom UI or the Tags API endpoints.
认证
需要 Connected AccountTags
Create a collectionINTERCOM_CREATE_COLLECTIONYou can create a new collection by making a POST request to `https://api.intercom.io/help_center/collections.`需要连接
You can create a new collection by making a POST request to `https://api.intercom.io/help_center/collections.`
认证
需要 Connected AccountTags
Create contactINTERCOM_CREATE_CONTACTYou can create a new contact (ie. user or lead).需要连接
You can create a new contact (ie. user or lead).
认证
需要 Connected AccountTags
Create a content import sourceINTERCOM_CREATE_CONTENT_IMPORT_SOURCEYou can create a new content import source by sending a POST request to this endpoint.需要连接
You can create a new content import source by sending a POST request to this endpoint.
认证
需要 Connected AccountTags
Creates a conversationINTERCOM_CREATE_CONVERSATIONYou can create a conversation that has been initiated by a contact (ie. user or lead). The conversation can be an in-app message only. {% admonition type="info" name="Sending for visitors" %} You can also send a message from a visitor by specifying their `user_id` or `id` value in the `from` field, along with a `type` field value of `contact`. This visitor will be automatically converted to a contact with a lead role once the conversation is created. {% /admonition %} This will return the Message model that has been created.需要连接
You can create a conversation that has been initiated by a contact (ie. user or lead). The conversation can be an in-app message only. {% admonition type="info" name="Sending for visitors" %} You can also send a message from a visitor by specifying their `user_id` or `id` value in the `from` field, along with a `type` field value of `contact`. This visitor will be automatically converted to a contact with a lead role once the conversation is created. {% /admonition %} This will return the Message model that has been created.
认证
需要 Connected AccountTags
Create or Update a Custom Object InstanceINTERCOM_CREATE_CUSTOM_OBJECT_INSTANCESCreate or update a custom object instance需要连接
Create or update a custom object instance
认证
需要 Connected AccountTags
Create a data attributeINTERCOM_CREATE_DATA_ATTRIBUTEYou can create a data attributes for a `contact` or a `company`.需要连接
You can create a data attributes for a `contact` or a `company`.
认证
需要 Connected AccountTags
Submit a data eventINTERCOM_CREATE_DATA_EVENTYou will need an Access Token that has write permissions to send Events. Once you have a key you can submit events via POST to the Events resource, which is located at https://api.intercom.io/events, or you can send events using one of the client libraries. When working with the HTTP API directly a client should send the event with a `Content-Type` of `application/json`. When using the JavaScript API, [adding the code to your app](http://docs.intercom.io/configuring-Intercom/tracking-user-events-in-your-app) makes the Events API available. Once added, you can submit an event using the `trackEvent` method. This will associate the event with the Lead or currently logged-in user or logged-out visitor/lead and send it to Intercom. The final parameter is a map that can be used to send optional metadata about the event. With the Ruby client you pass a hash describing the event to `Intercom::Event.create`, or call the `track_user` method directly on the current user object (e.g. `user.track_event`). **NB: For the JSON object types, please note that we do not currently support nested JSON structure.** | Type | Description | Example | | :-------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------- | | String | The value is a JSON String | `"source":"desktop"` | | Number | The value is a JSON Number | `"load": 3.67` | | Date | The key ends with the String `_date` and the value is a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time), assumed to be in the [UTC](http://en.wikipedia.org/wiki/Coordinated_Universal_Time) timezone. | `"contact_date": 1392036272` | | Link | The value is a HTTP or HTTPS URI. | `"article": "https://example.org/ab1de.html"` | | Rich Link | The value is a JSON object that contains `url` and `value` keys. | `"article": {"url": "https://example.org/ab1de.html", "value":"the dude abides"}` | | Monetary Amount | The value is a JSON object that contains `amount` and `currency` keys. The `amount` key is a positive integer representing the amount in cents. The price in the example to the right denotes €349.99. | `"price": {"amount": 34999, "currency": "eur"}` | **Lead Events** When submitting events for Leads, you will need to specify the Lead's `id`. **Metadata behaviour** - We currently limit the number of tracked metadata keys to 10 per event. Once the quota is reached, we ignore any further keys we receive. The first 10 metadata keys are determined by the order in which they are sent in with the event. - It is not possible to change the metadata keys once the event has been sent. A new event will need to be created with the new keys and you can archive the old one. - There might be up to 24 hrs delay when you send a new metadata for an existing event. **Event de-duplication** The API may detect and ignore duplicate events. Each event is uniquely identified as a combination of the following data - the Workspace identifier, the Contact external identifier, the Data Event name and the Data Event created time. As a result, it is **strongly recommended** to send a second granularity Unix timestamp in the `created_at` field. Duplicated events are responded to using the normal `202 Accepted` code - an error is not thrown, however repeat requests will be counted against any rate limit that is in place. ### HTTP API Responses - Successful responses to submitted events return `202 Accepted` with an empty body. - Unauthorised access will be rejected with a `401 Unauthorized` or `403 Forbidden` response code. - Events sent about users that cannot be found will return a `404 Not Found`. - Event lists containing duplicate events will have those duplicates ignored. - Server errors will return a `500` response code and may contain an error message in the body.需要连接
You will need an Access Token that has write permissions to send Events. Once you have a key you can submit events via POST to the Events resource, which is located at https://api.intercom.io/events, or you can send events using one of the client libraries. When working with the HTTP API directly a client should send the event with a `Content-Type` of `application/json`. When using the JavaScript API, [adding the code to your app](http://docs.intercom.io/configuring-Intercom/tracking-user-events-in-your-app) makes the Events API available. Once added, you can submit an event using the `trackEvent` method. This will associate the event with the Lead or currently logged-in user or logged-out visitor/lead and send it to Intercom. The final parameter is a map that can be used to send optional metadata about the event. With the Ruby client you pass a hash describing the event to `Intercom::Event.create`, or call the `track_user` method directly on the current user object (e.g. `user.track_event`). **NB: For the JSON object types, please note that we do not currently support nested JSON structure.** | Type | Description | Example | | :-------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------- | | String | The value is a JSON String | `"source":"desktop"` | | Number | The value is a JSON Number | `"load": 3.67` | | Date | The key ends with the String `_date` and the value is a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time), assumed to be in the [UTC](http://en.wikipedia.org/wiki/Coordinated_Universal_Time) timezone. | `"contact_date": 1392036272` | | Link | The value is a HTTP or HTTPS URI. | `"article": "https://example.org/ab1de.html"` | | Rich Link | The value is a JSON object that contains `url` and `value` keys. | `"article": {"url": "https://example.org/ab1de.html", "value":"the dude abides"}` | | Monetary Amount | The value is a JSON object that contains `amount` and `currency` keys. The `amount` key is a positive integer representing the amount in cents. The price in the example to the right denotes €349.99. | `"price": {"amount": 34999, "currency": "eur"}` | **Lead Events** When submitting events for Leads, you will need to specify the Lead's `id`. **Metadata behaviour** - We currently limit the number of tracked metadata keys to 10 per event. Once the quota is reached, we ignore any further keys we receive. The first 10 metadata keys are determined by the order in which they are sent in with the event. - It is not possible to change the metadata keys once the event has been sent. A new event will need to be created with the new keys and you can archive the old one. - There might be up to 24 hrs delay when you send a new metadata for an existing event. **Event de-duplication** The API may detect and ignore duplicate events. Each event is uniquely identified as a combination of the following data - the Workspace identifier, the Contact external identifier, the Data Event name and the Data Event created time. As a result, it is **strongly recommended** to send a second granularity Unix timestamp in the `created_at` field. Duplicated events are responded to using the normal `202 Accepted` code - an error is not thrown, however repeat requests will be counted against any rate limit that is in place. ### HTTP API Responses - Successful responses to submitted events return `202 Accepted` with an empty body. - Unauthorised access will be rejected with a `401 Unauthorized` or `403 Forbidden` response code. - Events sent about users that cannot be found will return a `404 Not Found`. - Event lists containing duplicate events will have those duplicates ignored. - Server errors will return a `500` response code and may contain an error message in the body.
认证
需要 Connected AccountTags
Create content data exportINTERCOM_CREATE_DATA_EXPORTTo create your export job, you need to send a `POST` request to the export endpoint `https://api.intercom.io/export/content/data`. This endpoint exports **message delivery and engagement data** for outbound content (Emails, Posts, Custom Bots, Surveys, Tours, Series, and more). The exported data includes who received each message, when they received it, and how they engaged with it (opens, clicks, replies, completions, dismissals, unsubscribes, and bounces). It does not export raw message or conversation content. The only parameters you need to provide are the range of dates that you want exported. >🚧 Limit of one active job > > You can only have one active job per workspace. You will receive a HTTP status code of 429 with the message Exceeded rate limit of 1 pending message data export jobs if you attempt to create a second concurrent job. >❗️ Updated_at not included > > It should be noted that the timeframe only includes messages sent during the time period and not messages that were only updated during this period. For example, if a message was updated yesterday but sent two days ago, you would need to set the created_at_after date before the message was sent to include that in your retrieval job. >📘 Date ranges are inclusive > > Requesting data for 2018-06-01 until 2018-06-30 will get all data for those days including those specified - e.g. 2018-06-01 00:00:00 until 2018-06-30 23:59:99.需要连接
To create your export job, you need to send a `POST` request to the export endpoint `https://api.intercom.io/export/content/data`. This endpoint exports **message delivery and engagement data** for outbound content (Emails, Posts, Custom Bots, Surveys, Tours, Series, and more). The exported data includes who received each message, when they received it, and how they engaged with it (opens, clicks, replies, completions, dismissals, unsubscribes, and bounces). It does not export raw message or conversation content. The only parameters you need to provide are the range of dates that you want exported. >🚧 Limit of one active job > > You can only have one active job per workspace. You will receive a HTTP status code of 429 with the message Exceeded rate limit of 1 pending message data export jobs if you attempt to create a second concurrent job. >❗️ Updated_at not included > > It should be noted that the timeframe only includes messages sent during the time period and not messages that were only updated during this period. For example, if a message was updated yesterday but sent two days ago, you would need to set the created_at_after date before the message was sent to include that in your retrieval job. >📘 Date ranges are inclusive > > Requesting data for 2018-06-01 until 2018-06-30 will get all data for those days including those specified - e.g. 2018-06-01 00:00:00 until 2018-06-30 23:59:99.
认证
需要 Connected AccountTags
Create an external page (or update an external page by external ID)INTERCOM_CREATE_EXTERNAL_PAGEYou can create a new external page by sending a POST request to this endpoint. If an external page already exists with the specified source_id and external_id, it will be updated instead.需要连接
You can create a new external page by sending a POST request to this endpoint. If an external page already exists with the specified source_id and external_id, it will be updated instead.
认证
需要 Connected AccountTags
Create an internal articleINTERCOM_CREATE_INTERNAL_ARTICLEYou can create a new internal article by making a POST request to `https://api.intercom.io/internal_articles`.需要连接
You can create a new internal article by making a POST request to `https://api.intercom.io/internal_articles`.
认证
需要 Connected AccountTags
Create a messageINTERCOM_CREATE_MESSAGEYou can create a message that has been initiated by an admin. The conversation can be either an in-app message or an email. > 🚧 Sending for visitors > > There can be a short delay between when a contact is created and when a contact becomes available to be messaged through the API. A 404 Not Found error will be returned in this case. This will return the Message model that has been created. > 🚧 Retrieving Associated Conversations > > As this is a message, there will be no conversation present until the contact responds. Once they do, you will have to search for a contact's conversations with the id of the message.需要连接
You can create a message that has been initiated by an admin. The conversation can be either an in-app message or an email. > 🚧 Sending for visitors > > There can be a short delay between when a contact is created and when a contact becomes available to be messaged through the API. A 404 Not Found error will be returned in this case. This will return the Message model that has been created. > 🚧 Retrieving Associated Conversations > > As this is a message, there will be no conversation present until the contact responds. Once they do, you will have to search for a contact's conversations with the id of the message.
认证
需要 Connected AccountTags
Create a news itemINTERCOM_CREATE_NEWS_ITEMYou can create a news item需要连接
You can create a news item
认证
需要 Connected AccountTags
Create a noteINTERCOM_CREATE_NOTEYou can add a note to a single contact.需要连接
You can add a note to a single contact.
认证
需要 Connected AccountTags
Create or Update a companyINTERCOM_CREATE_OR_UPDATE_COMPANYYou can create or update a company. Companies will be only visible in Intercom when there is at least one associated user. Companies are looked up via `company_id` in a `POST` request, if not found via `company_id`, the new company will be created, if found, that company will be updated. {% admonition type="warning" name="Using `company_id`" %} You can set a unique `company_id` value when creating a company. However, it is not possible to update `company_id`. Be sure to set a unique value once upon creation of the company. {% /admonition %}需要连接
You can create or update a company. Companies will be only visible in Intercom when there is at least one associated user. Companies are looked up via `company_id` in a `POST` request, if not found via `company_id`, the new company will be created, if found, that company will be updated. {% admonition type="warning" name="Using `company_id`" %} You can set a unique `company_id` value when creating a company. However, it is not possible to update `company_id`. Be sure to set a unique value once upon creation of the company. {% /admonition %}
认证
需要 Connected AccountTags
Create a phone SwitchINTERCOM_CREATE_PHONE_SWITCHYou can use the API to deflect phone calls to the Intercom Messenger. Calling this endpoint will send an SMS with a link to the Messenger to the phone number specified. If custom attributes are specified, they will be added to the user or lead's custom data attributes.需要连接
You can use the API to deflect phone calls to the Intercom Messenger. Calling this endpoint will send an SMS with a link to the Messenger to the phone number specified. If custom attributes are specified, they will be added to the user or lead's custom data attributes.
认证
需要 Connected AccountTags
Create or update a tag, Tag or untag companies, Tag contactsINTERCOM_CREATE_TAGYou can use this endpoint to perform the following operations: **1. Create a new tag:** You can create a new tag by passing in the tag name as specified in "Create or Update Tag Request Payload" described below. **2. Update an existing tag:** You can update an existing tag by passing the id of the tag as specified in "Create or Update Tag Request Payload" described below. **3. Tag Companies:** You can tag single company or a list of companies. You can tag a company by passing in the tag name and the company details as specified in "Tag Company Request Payload" described below. Also, if the tag doesn't exist then a new one will be created automatically. **4. Untag Companies:** You can untag a single company or a list of companies. You can untag a company by passing in the tag id and the company details as specified in "Untag Company Request Payload" described below. **5. Tag Multiple Users:** You can tag a list of users. You can tag the users by passing in the tag name and the user details as specified in "Tag Users Request Payload" described below. Each operation will return a tag object.需要连接
You can use this endpoint to perform the following operations: **1. Create a new tag:** You can create a new tag by passing in the tag name as specified in "Create or Update Tag Request Payload" described below. **2. Update an existing tag:** You can update an existing tag by passing the id of the tag as specified in "Create or Update Tag Request Payload" described below. **3. Tag Companies:** You can tag single company or a list of companies. You can tag a company by passing in the tag name and the company details as specified in "Tag Company Request Payload" described below. Also, if the tag doesn't exist then a new one will be created automatically. **4. Untag Companies:** You can untag a single company or a list of companies. You can untag a company by passing in the tag id and the company details as specified in "Untag Company Request Payload" described below. **5. Tag Multiple Users:** You can tag a list of users. You can tag the users by passing in the tag name and the user details as specified in "Tag Users Request Payload" described below. Each operation will return a tag object.
认证
需要 Connected AccountTags
Create a ticketINTERCOM_CREATE_TICKETYou can create a new ticket.需要连接
You can create a new ticket.
认证
需要 Connected AccountTags
Create a ticket typeINTERCOM_CREATE_TICKET_TYPEYou can create a new ticket type. > 📘 Creating ticket types. > > Every ticket type will be created with two default attributes: _default_title_ and _default_description_. > For the `icon` propery, use an emoji from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/)需要连接
You can create a new ticket type. > 📘 Creating ticket types. > > Every ticket type will be created with two default attributes: _default_title_ and _default_description_. > For the `icon` propery, use an emoji from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/)
认证
需要 Connected AccountTags
Create a new attribute for a ticket typeINTERCOM_CREATE_TICKET_TYPE_ATTRIBUTEYou can create a new attribute for a ticket type.需要连接
You can create a new attribute for a ticket type.
认证
需要 Connected AccountTags
Create event summariesINTERCOM_DATA_EVENT_SUMMARIESCreate event summaries for a user. Event summaries are used to track the number of times an event has occurred, the first time it occurred and the last time it occurred.需要连接
Create event summaries for a user. Event summaries are used to track the number of times an event has occurred, the first time it occurred and the last time it occurred.
认证
需要 Connected AccountTags
Delete an articleINTERCOM_DELETE_ARTICLEYou can delete a single article by making a DELETE request to `https://api.intercom.io/articles/<id>`.需要连接
You can delete a single article by making a DELETE request to `https://api.intercom.io/articles/<id>`.
认证
需要 Connected AccountTags
Delete a collectionINTERCOM_DELETE_COLLECTIONYou can delete a single collection by making a DELETE request to `https://api.intercom.io/collections/<id>`.需要连接
You can delete a single collection by making a DELETE request to `https://api.intercom.io/collections/<id>`.
认证
需要 Connected AccountTags
Delete a companyINTERCOM_DELETE_COMPANYDelete a single company. This endpoint does not permanently remove the company. It archives the company record and detaches any contacts attached to it; the contacts themselves are not deleted. A `company.deleted` webhook is sent once archival completes. The endpoint returns `200` with `"deleted": true` as soon as the request is accepted — archival is processed asynchronously. {% admonition type="warning" %} Third-party integrations that sync companies into Intercom (for example, Salesforce or Chargebee) will recreate any company deleted through this endpoint on their next sync. To prevent recreation, remove or filter the company at the source integration before deleting it via the API. {% /admonition %}需要连接
Delete a single company. This endpoint does not permanently remove the company. It archives the company record and detaches any contacts attached to it; the contacts themselves are not deleted. A `company.deleted` webhook is sent once archival completes. The endpoint returns `200` with `"deleted": true` as soon as the request is accepted — archival is processed asynchronously. {% admonition type="warning" %} Third-party integrations that sync companies into Intercom (for example, Salesforce or Chargebee) will recreate any company deleted through this endpoint on their next sync. To prevent recreation, remove or filter the company at the source integration before deleting it via the API. {% /admonition %}
认证
需要 Connected AccountTags
Delete a contactINTERCOM_DELETE_CONTACTYou can delete a single contact.需要连接
You can delete a single contact.
认证
需要 Connected AccountTags
Delete a content import sourceINTERCOM_DELETE_CONTENT_IMPORT_SOURCEYou can delete a content import source by making a DELETE request this endpoint. This will also delete all external pages that were imported from this source.需要连接
You can delete a content import source by making a DELETE request this endpoint. This will also delete all external pages that were imported from this source.
认证
需要 Connected AccountTags
Delete a conversationINTERCOM_DELETE_CONVERSATION{% admonition type="warning" name="Irreversible operation" %} Deleting a conversation is permanent and cannot be reversed. {% /admonition %} Deleting a conversation permanently removes it from the inbox. All sensitive data is deleted, including admin and user replies, conversation attributes, uploads, and related content. The conversation will still appear in reporting, though some data may be incomplete due to the deletion.需要连接
{% admonition type="warning" name="Irreversible operation" %} Deleting a conversation is permanent and cannot be reversed. {% /admonition %} Deleting a conversation permanently removes it from the inbox. All sensitive data is deleted, including admin and user replies, conversation attributes, uploads, and related content. The conversation will still appear in reporting, though some data may be incomplete due to the deletion.
认证
需要 Connected AccountTags
Delete a Custom Object Instance by IDINTERCOM_DELETE_CUSTOM_OBJECT_INSTANCES_BY_EXTERNAL_IDDelete a single Custom Object instance using the Intercom defined id.需要连接
Delete a single Custom Object instance using the Intercom defined id.
认证
需要 Connected AccountTags
Delete a Custom Object Instance by External IDINTERCOM_DELETE_CUSTOM_OBJECT_INSTANCES_BY_IDDelete a single Custom Object instance by external_id.需要连接
Delete a single Custom Object instance by external_id.
认证
需要 Connected AccountTags
Delete an external pageINTERCOM_DELETE_EXTERNAL_PAGESending a DELETE request for an external page will remove it from the content library UI and from being used for AI answers.需要连接
Sending a DELETE request for an external page will remove it from the content library UI and from being used for AI answers.
认证
需要 Connected AccountTags
Delete an internal articleINTERCOM_DELETE_INTERNAL_ARTICLEYou can delete a single internal article by making a DELETE request to `https://api.intercom.io/internal_articles/<id>`.需要连接
You can delete a single internal article by making a DELETE request to `https://api.intercom.io/internal_articles/<id>`.
认证
需要 Connected AccountTags
Delete a news itemINTERCOM_DELETE_NEWS_ITEMYou can delete a single news item.需要连接
You can delete a single news item.
认证
需要 Connected AccountTags
Delete tagINTERCOM_DELETE_TAGYou can delete the details of tags that are on the workspace by passing in the id.需要连接
You can delete the details of tags that are on the workspace by passing in the id.
认证
需要 Connected AccountTags
Delete a ticketINTERCOM_DELETE_TICKET{% admonition type="warning" name="Irreversible operation" %} Deleting a ticket is permanent and cannot be reversed. {% /admonition %} Deleting a ticket permanently removes it from the inbox. All sensitive data is deleted, including admin and user replies, ticket attributes, uploads, and related content. The ticket will still appear in reporting, though some data may be incomplete due to the deletion.需要连接
{% admonition type="warning" name="Irreversible operation" %} Deleting a ticket is permanent and cannot be reversed. {% /admonition %} Deleting a ticket permanently removes it from the inbox. All sensitive data is deleted, including admin and user replies, ticket attributes, uploads, and related content. The ticket will still appear in reporting, though some data may be incomplete due to the deletion.
认证
需要 Connected AccountTags
Detach a contact from a companyINTERCOM_DETACH_CONTACT_FROM_ACOMPANYYou can detach a company from a single contact.需要连接
You can detach a company from a single contact.
认证
需要 Connected AccountTags
Detach a contact from a group conversationINTERCOM_DETACH_CONTACT_FROM_CONVERSATIONYou can remove participants who are contacts from a group conversation, on behalf of an admin. {% admonition type="warning" name="Removing the last participant" %} You cannot remove the last remaining contact from a conversation. {% /admonition %}需要连接
You can remove participants who are contacts from a group conversation, on behalf of an admin. {% admonition type="warning" name="Removing the last participant" %} You cannot remove the last remaining contact from a conversation. {% /admonition %}
认证
需要 Connected AccountTags
Remove subscription from a contactINTERCOM_DETACH_SUBSCRIPTION_TYPE_TO_CONTACTYou can remove a specific subscription from a contact. This will return a subscription type model for the subscription type that was removed from the contact.需要连接
You can remove a specific subscription from a contact. This will return a subscription type model for the subscription type that was removed from the contact.
认证
需要 Connected AccountTags
Remove tag from a contactINTERCOM_DETACH_TAG_FROM_CONTACTYou can remove tag from a specific contact. This will return a tag object for the tag that was removed from the contact.需要连接
You can remove tag from a specific contact. This will return a tag object for the tag that was removed from the contact.
认证
需要 Connected AccountTags
Remove tag from a conversationINTERCOM_DETACH_TAG_FROM_CONVERSATIONYou can remove tag from a specific conversation. This will return a tag object for the tag that was removed from the conversation.需要连接
You can remove tag from a specific conversation. This will return a tag object for the tag that was removed from the conversation.
认证
需要 Connected AccountTags
Remove tag from a ticketINTERCOM_DETACH_TAG_FROM_TICKETYou can remove tag from a specific ticket. This will return a tag object for the tag that was removed from the ticket.需要连接
You can remove tag from a specific ticket. This will return a tag object for the tag that was removed from the ticket.
认证
需要 Connected AccountTags
Download content data exportINTERCOM_DOWNLOAD_DATA_EXPORTWhen a job has a status of complete, and thus a filled download_url, you can download your data by hitting that provided URL, formatted like so: https://api.intercom.io/download/content/data/xyz1234. Your exported message data will be streamed continuously back down to you in a gzipped CSV format. > 📘 Octet header required > > You will have to specify the header Accept: `application/octet-stream` when hitting this endpoint.需要连接
When a job has a status of complete, and thus a filled download_url, you can download your data by hitting that provided URL, formatted like so: https://api.intercom.io/download/content/data/xyz1234. Your exported message data will be streamed continuously back down to you in a gzipped CSV format. > 📘 Octet header required > > You will have to specify the header Accept: `application/octet-stream` when hitting this endpoint.
认证
需要 Connected AccountTags
Enqueue create ticketINTERCOM_ENQUEUE_CREATE_TICKETEnqueues ticket creation for asynchronous processing, returning if the job was enqueued successfully to be processed. We attempt to perform a best-effort validation on inputs before tasks are enqueued. If the given parameters are incorrect, we won't enqueue the job.需要连接
Enqueues ticket creation for asynchronous processing, returning if the job was enqueued successfully to be processed. We attempt to perform a best-effort validation on inputs before tasks are enqueued. If the given parameters are incorrect, we won't enqueue the job.
认证
需要 Connected AccountTags
Find a specific tagINTERCOM_FIND_TAGYou can fetch the details of tags that are on the workspace by their id. This will return a tag object.需要连接
You can fetch the details of tags that are on the workspace by their id. This will return a tag object.
认证
需要 Connected AccountTags
Retrieve a content import sourceINTERCOM_GET_CONTENT_IMPORT_SOURCERetrieve a content import source需要连接
Retrieve a content import source
认证
需要 Connected AccountTags
Get Custom Object Instance by External IDINTERCOM_GET_CUSTOM_OBJECT_INSTANCES_BY_EXTERNAL_IDFetch a Custom Object Instance by external_id.需要连接
Fetch a Custom Object Instance by external_id.
认证
需要 Connected AccountTags
Get Custom Object Instance by IDINTERCOM_GET_CUSTOM_OBJECT_INSTANCES_BY_IDFetch a Custom Object Instance by id.需要连接
Fetch a Custom Object Instance by id.
认证
需要 Connected AccountTags
Show content data exportINTERCOM_GET_DATA_EXPORTYou can view the status of your job by sending a `GET` request to the URL `https://api.intercom.io/export/content/data/{job_identifier}` - the `{job_identifier}` is the value returned in the response when you first created the export job. More on it can be seen in the Export Job Model. > 🚧 Jobs expire after two days > All jobs that have completed processing (and are thus available to download from the provided URL) will have an expiry limit of two days from when the export ob completed. After this, the data will no longer be available.需要连接
You can view the status of your job by sending a `GET` request to the URL `https://api.intercom.io/export/content/data/{job_identifier}` - the `{job_identifier}` is the value returned in the response when you first created the export job. More on it can be seen in the Export Job Model. > 🚧 Jobs expire after two days > All jobs that have completed processing (and are thus available to download from the provided URL) will have an expiry limit of two days from when the export ob completed. After this, the data will no longer be available.
认证
需要 Connected AccountTags
Download completed export job dataINTERCOM_GET_DOWNLOAD_REPORTING_DATA_JOB_IDENTIFIERDownload the data from a completed reporting data export job. > Octet header required > > You will have to specify the header Accept: `application/octet-stream` when hitting this endpoint.需要连接
Download the data from a completed reporting data export job. > Octet header required > > You will have to specify the header Accept: `application/octet-stream` when hitting this endpoint.
认证
需要 Connected AccountTags
List available datasets and attributesINTERCOM_GET_EXPORT_REPORTING_DATA_GET_DATASETSList available datasets and attributes需要连接
List available datasets and attributes
认证
需要 Connected AccountTags
Get export job statusINTERCOM_GET_EXPORT_REPORTING_DATA_JOB_IDENTIFIERGet export job status需要连接
Get export job status
认证
需要 Connected AccountTags
Retrieve an external pageINTERCOM_GET_EXTERNAL_PAGEYou can retrieve an external page.需要连接
You can retrieve an external page.
认证
需要 Connected AccountTags
Get IP allowlist settingsINTERCOM_GET_IP_ALLOWLISTRetrieve the current IP allowlist configuration for the workspace.需要连接
Retrieve the current IP allowlist configuration for the workspace.
认证
需要 Connected AccountTags
Retrieve a ticketINTERCOM_GET_TICKETYou can fetch the details of a single ticket.需要连接
You can fetch the details of a single ticket.
认证
需要 Connected AccountTags
Retrieve a ticket typeINTERCOM_GET_TICKET_TYPEYou can fetch the details of a single ticket type.需要连接
You can fetch the details of a single ticket type.
认证
需要 Connected AccountTags
Identify an adminINTERCOM_IDENTIFY_ADMINYou can view the currently authorised admin along with the embedded app object (a "workspace" in legacy terminology). > 🚧 Single Sign On > > If you are building a custom "Log in with Intercom" flow for your site, and you call the `/me` endpoint to identify the logged-in user, you should not accept any sign-ins from users with unverified email addresses as it poses a potential impersonation security risk.需要连接
You can view the currently authorised admin along with the embedded app object (a "workspace" in legacy terminology). > 🚧 Single Sign On > > If you are building a custom "Log in with Intercom" flow for your site, and you call the `/me` endpoint to identify the logged-in user, you should not accept any sign-ins from users with unverified email addresses as it poses a potential impersonation security risk.
认证
需要 Connected AccountTags
Retrieve job statusINTERCOM_JOBS_STATUSRetrieve the status of job execution.需要连接
Retrieve the status of job execution.
认证
需要 Connected AccountTags
List all data attributesINTERCOM_LIS_DATA_ATTRIBUTESYou can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.需要连接
You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.
认证
需要 Connected AccountTags
List all data eventsINTERCOM_LIS_DATA_EVENTS> 🚧 > > Please note that you can only 'list' events that are less than 90 days old. Event counts and summaries will still include your events older than 90 days but you cannot 'list' these events individually if they are older than 90 days The events belonging to a customer can be listed by sending a GET request to `https://api.intercom.io/events` with a user or lead identifier along with a `type` parameter. The identifier parameter can be one of `user_id`, `email` or `intercom_user_id`. The `type` parameter value must be `user`. - `https://api.intercom.io/events?type=user&user_id={user_id}` - `https://api.intercom.io/events?type=user&email={email}` - `https://api.intercom.io/events?type=user&intercom_user_id={id}` (this call can be used to list leads) The `email` parameter value should be [url encoded](http://en.wikipedia.org/wiki/Percent-encoding) when sending. You can optionally define the result page size as well with the `per_page` parameter.需要连接
> 🚧 > > Please note that you can only 'list' events that are less than 90 days old. Event counts and summaries will still include your events older than 90 days but you cannot 'list' these events individually if they are older than 90 days The events belonging to a customer can be listed by sending a GET request to `https://api.intercom.io/events` with a user or lead identifier along with a `type` parameter. The identifier parameter can be one of `user_id`, `email` or `intercom_user_id`. The `type` parameter value must be `user`. - `https://api.intercom.io/events?type=user&user_id={user_id}` - `https://api.intercom.io/events?type=user&email={email}` - `https://api.intercom.io/events?type=user&intercom_user_id={id}` (this call can be used to list leads) The `email` parameter value should be [url encoded](http://en.wikipedia.org/wiki/Percent-encoding) when sending. You can optionally define the result page size as well with the `per_page` parameter.
认证
需要 Connected AccountTags
List all activity logsINTERCOM_LIST_ACTIVITY_LOGSYou can get a log of activities by all admins in an app.需要连接
You can get a log of activities by all admins in an app.
认证
需要 Connected AccountTags
List all adminsINTERCOM_LIST_ADMINSYou can fetch a list of admins for a given workspace.需要连接
You can fetch a list of admins for a given workspace.
认证
需要 Connected AccountTags
List all collectionsINTERCOM_LIST_ALL_COLLECTIONSYou can fetch a list of all collections by making a GET request to `https://api.intercom.io/help_center/collections`. Collections will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated collections first.需要连接
You can fetch a list of all collections by making a GET request to `https://api.intercom.io/help_center/collections`. Collections will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated collections first.
认证
需要 Connected AccountTags
List all companiesINTERCOM_LIST_ALL_COMPANIESYou can list companies. The company list is sorted by the `last_request_at` field and by default is ordered descending, most recently requested first. Note that the API does not include companies who have no associated users in list responses. When using the Companies endpoint and the pages object to iterate through the returned companies, there is a limit of 10,000 Companies that can be returned. If you need to list or iterate on more than 10,000 Companies, please use the [Scroll API](https://developers.intercom.com/reference#iterating-over-all-companies). {% admonition type="warning" name="Pagination" %} You can use pagination to limit the number of results returned. The default is `20` results per page. See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param. {% /admonition %}需要连接
You can list companies. The company list is sorted by the `last_request_at` field and by default is ordered descending, most recently requested first. Note that the API does not include companies who have no associated users in list responses. When using the Companies endpoint and the pages object to iterate through the returned companies, there is a limit of 10,000 Companies that can be returned. If you need to list or iterate on more than 10,000 Companies, please use the [Scroll API](https://developers.intercom.com/reference#iterating-over-all-companies). {% admonition type="warning" name="Pagination" %} You can use pagination to limit the number of results returned. The default is `20` results per page. See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param. {% /admonition %}
认证
需要 Connected AccountTags
List all articlesINTERCOM_LIST_ARTICLESYou can fetch a list of all articles by making a GET request to `https://api.intercom.io/articles`. > 📘 How are the articles sorted and ordered? > > Articles will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated articles first.需要连接
You can fetch a list of all articles by making a GET request to `https://api.intercom.io/articles`. > 📘 How are the articles sorted and ordered? > > Articles will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated articles first.
认证
需要 Connected AccountTags
List attached contactsINTERCOM_LIST_ATTACHED_CONTACTSYou can fetch a list of all contacts that belong to a company.需要连接
You can fetch a list of all contacts that belong to a company.
认证
需要 Connected AccountTags
List attached segments for companiesINTERCOM_LIST_ATTACHED_SEGMENTS_FOR_COMPANIESYou can fetch a list of all segments that belong to a company.需要连接
You can fetch a list of all segments that belong to a company.
认证
需要 Connected AccountTags
List all away status reasonsINTERCOM_LIST_AWAY_STATUS_REASONSReturns a list of all away status reasons configured for the workspace, including deleted ones.需要连接
Returns a list of all away status reasons configured for the workspace, including deleted ones.
认证
需要 Connected AccountTags
List all callsINTERCOM_LIST_CALLSRetrieve a paginated list of calls.需要连接
Retrieve a paginated list of calls.
认证
需要 Connected AccountTags
List calls with transcriptsINTERCOM_LIST_CALLS_WITH_TRANSCRIPTSRetrieve calls by a list of conversation ids and include transcripts when available. A maximum of 20 `conversation_ids` can be provided. If none are provided or more than 20 are provided, a 400 error is returned.需要连接
Retrieve calls by a list of conversation ids and include transcripts when available. A maximum of 20 `conversation_ids` can be provided. If none are provided or more than 20 are provided, a 400 error is returned.
认证
需要 Connected AccountTags
List attached companies for contactINTERCOM_LIST_COMPANIES_FOR_ACONTACTYou can fetch a list of companies that are associated to a contact.需要连接
You can fetch a list of companies that are associated to a contact.
认证
需要 Connected AccountTags
List all contactsINTERCOM_LIST_CONTACTSYou can fetch a list of all contacts (ie. users or leads) in your workspace. {% admonition type="info" name="Merged contacts" %} Contacts that have been merged (via POST /contacts/merge) will not appear in list results. Only the target contact from the merge remains accessible. {% /admonition %} {% admonition type="warning" name="Pagination" %} You can use pagination to limit the number of results returned. The default is `50` results per page. See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param. {% /admonition %}需要连接
You can fetch a list of all contacts (ie. users or leads) in your workspace. {% admonition type="info" name="Merged contacts" %} Contacts that have been merged (via POST /contacts/merge) will not appear in list results. Only the target contact from the merge remains accessible. {% /admonition %} {% admonition type="warning" name="Pagination" %} You can use pagination to limit the number of results returned. The default is `50` results per page. See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param. {% /admonition %}
认证
需要 Connected AccountTags
List content import sourcesINTERCOM_LIST_CONTENT_IMPORT_SOURCESYou can retrieve a list of all content import sources for a workspace.需要连接
You can retrieve a list of all content import sources for a workspace.
认证
需要 Connected AccountTags
List all conversationsINTERCOM_LIST_CONVERSATIONSYou can fetch a list of all conversations. You can optionally request the result page size and the cursor to start after to fetch the result. {% admonition type="warning" name="Pagination" %} You can use pagination to limit the number of results returned. The default is `20` results per page. See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param. {% /admonition %}需要连接
You can fetch a list of all conversations. You can optionally request the result page size and the cursor to start after to fetch the result. {% admonition type="warning" name="Pagination" %} You can use pagination to limit the number of results returned. The default is `20` results per page. See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param. {% /admonition %}
认证
需要 Connected AccountTags
List external pagesINTERCOM_LIST_EXTERNAL_PAGESYou can retrieve a list of all external pages for a workspace.需要连接
You can retrieve a list of all external pages for a workspace.
认证
需要 Connected AccountTags
List all Help CentersINTERCOM_LIST_HELP_CENTERSYou can list all Help Centers by making a GET request to `https://api.intercom.io/help_center/help_centers`.需要连接
You can list all Help Centers by making a GET request to `https://api.intercom.io/help_center/help_centers`.
认证
需要 Connected AccountTags
List all articlesINTERCOM_LIST_INTERNAL_ARTICLESYou can fetch a list of all internal articles by making a GET request to `https://api.intercom.io/internal_articles`.需要连接
You can fetch a list of all internal articles by making a GET request to `https://api.intercom.io/internal_articles`.
认证
需要 Connected AccountTags
List all live newsfeed itemsINTERCOM_LIST_LIVE_NEWSFEED_ITEMSYou can fetch a list of all news items that are live on a given newsfeed需要连接
You can fetch a list of all news items that are live on a given newsfeed
认证
需要 Connected AccountTags
List all news itemsINTERCOM_LIST_NEWS_ITEMSYou can fetch a list of all news items需要连接
You can fetch a list of all news items
认证
需要 Connected AccountTags
List all newsfeedsINTERCOM_LIST_NEWSFEEDSYou can fetch a list of all newsfeeds需要连接
You can fetch a list of all newsfeeds
认证
需要 Connected AccountTags
List all notesINTERCOM_LIST_NOTESYou can fetch a list of notes that are associated to a contact.需要连接
You can fetch a list of notes that are associated to a contact.
认证
需要 Connected AccountTags
List all segmentsINTERCOM_LIST_SEGMENTSYou can fetch a list of all segments.需要连接
You can fetch a list of all segments.
认证
需要 Connected AccountTags
List attached segments for contactINTERCOM_LIST_SEGMENTS_FOR_ACONTACTYou can fetch a list of segments that are associated to a contact.需要连接
You can fetch a list of segments that are associated to a contact.
认证
需要 Connected AccountTags
List subscription typesINTERCOM_LIST_SUBSCRIPTION_TYPESYou can list all subscription types. A list of subscription type objects will be returned.需要连接
You can list all subscription types. A list of subscription type objects will be returned.
认证
需要 Connected AccountTags
List subscriptions for a contactINTERCOM_LIST_SUBSCRIPTIONS_FOR_ACONTACTYou can fetch a list of subscription types that are attached to a contact. These can be subscriptions that a user has 'opted-in' to or has 'opted-out' from, depending on the subscription type. This will return a list of Subscription Type objects that the contact is associated with. The data property will show a combined list of: 1.Opt-out subscription types that the user has opted-out from. 2.Opt-in subscription types that the user has opted-in to receiving. **Note:** This endpoint only returns subscriptions where the contact has explicitly configured their preference. Subscriptions that are in the default state — where the contact has not made an explicit opt-in or opt-out choice — are not included in the response.需要连接
You can fetch a list of subscription types that are attached to a contact. These can be subscriptions that a user has 'opted-in' to or has 'opted-out' from, depending on the subscription type. This will return a list of Subscription Type objects that the contact is associated with. The data property will show a combined list of: 1.Opt-out subscription types that the user has opted-out from. 2.Opt-in subscription types that the user has opted-in to receiving. **Note:** This endpoint only returns subscriptions where the contact has explicitly configured their preference. Subscriptions that are in the default state — where the contact has not made an explicit opt-in or opt-out choice — are not included in the response.
认证
需要 Connected AccountTags
List all tagsINTERCOM_LIST_TAGSYou can fetch a list of all tags for a given workspace.需要连接
You can fetch a list of all tags for a given workspace.
认证
需要 Connected AccountTags
List tags attached to a contactINTERCOM_LIST_TAGS_FOR_ACONTACTYou can fetch a list of all tags that are attached to a specific contact.需要连接
You can fetch a list of all tags that are attached to a specific contact.
认证
需要 Connected AccountTags
List all teamsINTERCOM_LIST_TEAMSThis will return a list of team objects for the App.需要连接
This will return a list of team objects for the App.
认证
需要 Connected AccountTags
List all ticket statesINTERCOM_LIST_TICKET_STATESYou can get a list of all ticket states for a workspace.需要连接
You can get a list of all ticket states for a workspace.
认证
需要 Connected AccountTags
List all ticket typesINTERCOM_LIST_TICKET_TYPESYou can get a list of all ticket types for a workspace.需要连接
You can get a list of all ticket types for a workspace.
认证
需要 Connected AccountTags
Manage a conversationINTERCOM_MANAGE_CONVERSATIONFor managing conversations you can: - Close a conversation - Snooze a conversation to reopen on a future date - Open a conversation which is `snoozed` or `closed` - Assign a conversation to an admin and/or team.需要连接
For managing conversations you can: - Close a conversation - Snooze a conversation to reopen on a future date - Open a conversation which is `snoozed` or `closed` - Assign a conversation to an admin and/or team.
认证
需要 Connected AccountTags
Merge a lead and a userINTERCOM_MERGE_CONTACTYou can merge a contact with a `role` of `lead` into a contact with a `role` of `user`. {% admonition type="warning" name="Merged contacts are not retrievable via the API" %} Once a merge is completed, the source contact (`from`) is permanently removed from the active contact list. This means: - **GET /contacts/{id}** — Requesting the source contact by its original ID will return a `404 Not Found` error. - **POST /contacts/search** — The source contact will not appear in search results, including queries filtered by `updated_at`. - **GET /contacts** — The source contact will not appear in list results. Only the target contact (`into`) remains accessible. If your application stores contact IDs, update them to use the target contact's ID after a merge. {% /admonition %}需要连接
You can merge a contact with a `role` of `lead` into a contact with a `role` of `user`. {% admonition type="warning" name="Merged contacts are not retrievable via the API" %} Once a merge is completed, the source contact (`from`) is permanently removed from the active contact list. This means: - **GET /contacts/{id}** — Requesting the source contact by its original ID will return a `404 Not Found` error. - **POST /contacts/search** — The source contact will not appear in search results, including queries filtered by `updated_at`. - **GET /contacts** — The source contact will not appear in list results. Only the target contact (`into`) remains accessible. If your application stores contact IDs, update them to use the target contact's ID after a merge. {% /admonition %}
认证
需要 Connected AccountTags
Enqueue a new reporting data export jobINTERCOM_POST_EXPORT_REPORTING_DATA_ENQUEUEEnqueue a new reporting data export job需要连接
Enqueue a new reporting data export job
认证
需要 Connected AccountTags
Redact a conversation partINTERCOM_REDACT_CONVERSATIONYou can redact a conversation part or the source message of a conversation (as seen in the source object). {% admonition type="info" name="Redacting parts and messages" %} If you are redacting a conversation part, it must have a `body`. If you are redacting a source message, it must have been created by a contact. We will return a `conversation_part_not_redactable` error if these criteria are not met. {% /admonition %}需要连接
You can redact a conversation part or the source message of a conversation (as seen in the source object). {% admonition type="info" name="Redacting parts and messages" %} If you are redacting a conversation part, it must have a `body`. If you are redacting a source message, it must have been created by a contact. We will return a `conversation_part_not_redactable` error if these criteria are not met. {% /admonition %}
认证
需要 Connected AccountTags
Reply to a conversationINTERCOM_REPLY_CONVERSATIONYou can reply to a conversation with a message from an admin or on behalf of a contact, or with a note for admins. {% admonition type="warning" name="Bot replies to inbound email" %} By default, bot or Operator replies to an inbound email conversation aren't sent to your customer. The reply is stored as an unnotifiable bot comment, and no `seen` receipt is generated until an email is actually delivered. To send these replies as outbound emails, reach out to your accounts team to enable the email-reply feature flag for your workspace. {% /admonition %}需要连接
You can reply to a conversation with a message from an admin or on behalf of a contact, or with a note for admins. {% admonition type="warning" name="Bot replies to inbound email" %} By default, bot or Operator replies to an inbound email conversation aren't sent to your customer. The reply is stored as an unnotifiable bot comment, and no `seen` receipt is generated until an email is actually delivered. To send these replies as outbound emails, reach out to your accounts team to enable the email-reply feature flag for your workspace. {% /admonition %}
认证
需要 Connected AccountTags
Reply to a ticketINTERCOM_REPLY_TICKETYou can reply to a ticket with a message from an admin or on behalf of a contact, or with a note for admins.需要连接
You can reply to a ticket with a message from an admin or on behalf of a contact, or with a note for admins.
认证
需要 Connected AccountTags
Reply to FinINTERCOM_REPLY_TO_FINOnce Fin has returned a response to a user's message, its status will be `awaiting_user_reply`. If a user replies, use this endpoint to send this response to Fin. {% admonition type="warning" %} Please reach out to your accounts team to discuss access. {% /admonition %}需要连接
Once Fin has returned a response to a user's message, its status will be `awaiting_user_reply`. If a user replies, use this endpoint to send this response to Fin. {% admonition type="warning" %} Please reach out to your accounts team to discuss access. {% /admonition %}
认证
需要 Connected AccountTags
Retrieve a company by IDINTERCOM_RETRIEVE_ACOMPANY_BY_IDYou can fetch a single company.需要连接
You can fetch a single company.
认证
需要 Connected AccountTags
Retrieve an adminINTERCOM_RETRIEVE_ADMINYou can retrieve the details of a single admin.需要连接
You can retrieve the details of a single admin.
认证
需要 Connected AccountTags
Retrieve an articleINTERCOM_RETRIEVE_ARTICLEYou can fetch the details of a single article by making a GET request to `https://api.intercom.io/articles/<id>`.需要连接
You can fetch the details of a single article by making a GET request to `https://api.intercom.io/articles/<id>`.
认证
需要 Connected AccountTags
Retrieve a collectionINTERCOM_RETRIEVE_COLLECTIONYou can fetch the details of a single collection by making a GET request to `https://api.intercom.io/help_center/collections/<id>`.需要连接
You can fetch the details of a single collection by making a GET request to `https://api.intercom.io/help_center/collections/<id>`.
认证
需要 Connected AccountTags
Retrieve companiesINTERCOM_RETRIEVE_COMPANYYou can fetch a single company by passing in `company_id` or `name`. `https://api.intercom.io/companies?name={name}` `https://api.intercom.io/companies?company_id={company_id}` You can fetch all companies and filter by `segment_id` or `tag_id` as a query parameter. `https://api.intercom.io/companies?tag_id={tag_id}` `https://api.intercom.io/companies?segment_id={segment_id}`需要连接
You can fetch a single company by passing in `company_id` or `name`. `https://api.intercom.io/companies?name={name}` `https://api.intercom.io/companies?company_id={company_id}` You can fetch all companies and filter by `segment_id` or `tag_id` as a query parameter. `https://api.intercom.io/companies?tag_id={tag_id}` `https://api.intercom.io/companies?segment_id={segment_id}`
认证
需要 Connected AccountTags
Retrieve a conversationINTERCOM_RETRIEVE_CONVERSATIONYou can fetch the details of a single conversation. This will return a single Conversation model with all its conversation parts. {% admonition type="warning" name="Hard limit of 500 parts" %} The maximum number of conversation parts that can be returned via the API is 500. If you have more than that we will return the 500 most recent conversation parts. {% /admonition %} For AI agent conversation metadata, please note that you need to have the agent enabled in your workspace, which is a [paid feature](https://www.intercom.com/help/en/articles/8205718-fin-resolutions#h_97f8c2e671).需要连接
You can fetch the details of a single conversation. This will return a single Conversation model with all its conversation parts. {% admonition type="warning" name="Hard limit of 500 parts" %} The maximum number of conversation parts that can be returned via the API is 500. If you have more than that we will return the 500 most recent conversation parts. {% /admonition %} For AI agent conversation metadata, please note that you need to have the agent enabled in your workspace, which is a [paid feature](https://www.intercom.com/help/en/articles/8205718-fin-resolutions#h_97f8c2e671).
认证
需要 Connected AccountTags
Retrieve a Help CenterINTERCOM_RETRIEVE_HELP_CENTERYou can fetch the details of a single Help Center by making a GET request to `https://api.intercom.io/help_center/help_center/<id>`.需要连接
You can fetch the details of a single Help Center by making a GET request to `https://api.intercom.io/help_center/help_center/<id>`.
认证
需要 Connected AccountTags
Retrieve an internal articleINTERCOM_RETRIEVE_INTERNAL_ARTICLEYou can fetch the details of a single internal article by making a GET request to `https://api.intercom.io/internal_articles/<id>`.需要连接
You can fetch the details of a single internal article by making a GET request to `https://api.intercom.io/internal_articles/<id>`.
认证
需要 Connected AccountTags
Retrieve a news itemINTERCOM_RETRIEVE_NEWS_ITEMYou can fetch the details of a single news item.需要连接
You can fetch the details of a single news item.
认证
需要 Connected AccountTags
Retrieve a newsfeedINTERCOM_RETRIEVE_NEWSFEEDYou can fetch the details of a single newsfeed需要连接
You can fetch the details of a single newsfeed
认证
需要 Connected AccountTags
Retrieve a noteINTERCOM_RETRIEVE_NOTEYou can fetch the details of a single note.需要连接
You can fetch the details of a single note.
认证
需要 Connected AccountTags
Retrieve a segmentINTERCOM_RETRIEVE_SEGMENTYou can fetch the details of a single segment.需要连接
You can fetch the details of a single segment.
认证
需要 Connected AccountTags
Retrieve a teamINTERCOM_RETRIEVE_TEAMYou can fetch the details of a single team, containing an array of admins that belong to this team.需要连接
You can fetch the details of a single team, containing an array of admins that belong to this team.
认证
需要 Connected AccountTags
Retrieve a visitor with User IDINTERCOM_RETRIEVE_VISITOR_WITH_USER_IDYou can fetch the details of a single visitor.需要连接
You can fetch the details of a single visitor.
认证
需要 Connected AccountTags
Scroll over all companiesINTERCOM_SCROLL_OVER_ALL_COMPANIESThe `list all companies` functionality does not work well for huge datasets, and can result in errors and performance problems when paging deeply. The Scroll API provides an efficient mechanism for iterating over all companies in a dataset. - Each app can only have 1 scroll open at a time. You'll get an error message if you try to have more than one open per app. - If the scroll isn't used for 1 minute, it expires and calls with that scroll param will fail - If the end of the scroll is reached, "companies" will be empty and the scroll parameter will expire {% admonition type="info" name="Scroll Parameter" %} You can get the first page of companies by simply sending a GET request to the scroll endpoint. For subsequent requests you will need to use the scroll parameter from the response. {% /admonition %} {% admonition type="danger" name="Scroll network timeouts" %} Since scroll is often used on large datasets network errors such as timeouts can be encountered. When this occurs you will see a HTTP 500 error with the following message: "Request failed due to an internal network error. Please restart the scroll operation." If this happens, you will need to restart your scroll query: It is not possible to continue from a specific point when using scroll. {% /admonition %}需要连接
The `list all companies` functionality does not work well for huge datasets, and can result in errors and performance problems when paging deeply. The Scroll API provides an efficient mechanism for iterating over all companies in a dataset. - Each app can only have 1 scroll open at a time. You'll get an error message if you try to have more than one open per app. - If the scroll isn't used for 1 minute, it expires and calls with that scroll param will fail - If the end of the scroll is reached, "companies" will be empty and the scroll parameter will expire {% admonition type="info" name="Scroll Parameter" %} You can get the first page of companies by simply sending a GET request to the scroll endpoint. For subsequent requests you will need to use the scroll parameter from the response. {% /admonition %} {% admonition type="danger" name="Scroll network timeouts" %} Since scroll is often used on large datasets network errors such as timeouts can be encountered. When this occurs you will see a HTTP 500 error with the following message: "Request failed due to an internal network error. Please restart the scroll operation." If this happens, you will need to restart your scroll query: It is not possible to continue from a specific point when using scroll. {% /admonition %}
认证
需要 Connected AccountTags
Search for articlesINTERCOM_SEARCH_ARTICLESYou can search for articles by making a GET request to `https://api.intercom.io/articles/search`.需要连接
You can search for articles by making a GET request to `https://api.intercom.io/articles/search`.
认证
需要 Connected AccountTags
Search contactsINTERCOM_SEARCH_CONTACTSYou can search for multiple contacts by the value of their attributes in order to fetch exactly who you want. To search for contacts, you need to send a `POST` request to `https://api.intercom.io/contacts/search`. This will accept a query object in the body which will define your filters in order to search for contacts. {% admonition type="warning" name="Optimizing search queries" %} Search queries can be complex, so optimizing them can help the performance of your search. Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize pagination to limit the number of results returned. The default is `50` results per page. See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param. {% /admonition %} ### Merged Contacts Contacts that have been merged (via POST /contacts/merge) are excluded from search results. If a contact was recently merged into another, it will no longer appear in queries filtered by `updated_at` or any other field. Only the target contact from the merge remains searchable. ### Contact Creation Delay If a contact has recently been created, there is a possibility that it will not yet be available when searching. This means that it may not appear in the response. This delay can take a few minutes. If you need to be instantly notified it is recommended to use webhooks and iterate to see if they match your search filters. ### Nesting & Limitations You can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4). There are some limitations to the amount of multiple's there can be: * There's a limit of max 2 nested filters * There's a limit of max 15 filters for each AND or OR group ### Searching for Timestamp Fields All timestamp fields (created_at, updated_at etc.) are indexed as Dates for Contact Search queries; Datetime queries are not currently supported. This means you can only query for timestamp fields by day - not hour, minute or second. The day a timestamp falls on is determined using your workspace's timezone, so the same query can return different results across workspaces in different timezones. Because timestamps are stored in UTC, filtering by a value the API returned may not match the originating contact when your workspace is not set to UTC. For example, on a workspace set to UTC, if you search for all Contacts with a created_at value greater (>) than 1577869200 (the UNIX timestamp for January 1st, 2020 9:00 AM UTC), that will be interpreted as 1577836800 (January 1st, 2020 12:00 AM UTC). The search results will then include Contacts created from January 2nd, 2020 12:00 AM UTC onwards. On a workspace in another timezone, the day boundaries fall on that timezone's midnight instead. If you'd like to get contacts created on January 1st, 2020 you should search with a created_at value equal (=) to 1577836800 (January 1st, 2020 12:00 AM UTC). This behaviour applies only to timestamps used in search queries. The search results will still contain the full UNIX timestamp and be sorted accordingly. ### Accepted Fields Most key listed as part of the Contacts Model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `"foorbar"`). | Field | Type | | ---------------------------------- | ------------------------------ | | id | String | | role | String<br>Accepts user or lead | | name | String | | avatar | String | | owner_id | Integer | | email | String | | email_domain | String | | phone | String | | external_id | String | | created_at | Date (UNIX Timestamp) | | signed_up_at | Date (UNIX Timestamp) | | updated_at | Date (UNIX Timestamp) | | last_seen_at | Date (UNIX Timestamp) | | last_contacted_at | Date (UNIX Timestamp) | | last_replied_at | Date (UNIX Timestamp) | | last_email_opened_at | Date (UNIX Timestamp) | | last_email_clicked_at | Date (UNIX Timestamp) | | language_override | String | | browser | String | | browser_language | String | | os | String | | location.country | String | | location.region | String | | location.city | String | | unsubscribed_from_emails | Boolean | | marked_email_as_spam | Boolean | | has_hard_bounced | Boolean | | ios_last_seen_at | Date (UNIX Timestamp) | | ios_app_version | String | | ios_device | String | | ios_app_device | String | | ios_os_version | String | | ios_app_name | String | | ios_sdk_version | String | | android_last_seen_at | Date (UNIX Timestamp) | | android_app_version | String | | android_device | String | | android_app_name | String | | andoid_sdk_version | String | | segment_id | String | | tag_id | String | | custom_attributes.{attribute_name} | String | ### Accepted Operators {% admonition type="warning" name="Searching based on `created_at`" %} You cannot use the `<=` or `>=` operators to search by `created_at`. {% /admonition %} The table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`"="`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates). | Operator | Valid Types | Description | | :------- | :------------------------------- | :--------------------------------------------------------------- | | = | All | Equals | | != | All | Doesn't Equal | | IN | All | In<br>Shortcut for `OR` queries<br>Values must be in Array | | NIN | All | Not In<br>Shortcut for `OR !` queries<br>Values must be in Array | | > | Integer<br>Date (UNIX Timestamp) | Greater than | | < | Integer<br>Date (UNIX Timestamp) | Lower than | | ~ | String | Contains | | !~ | String | Doesn't Contain | | ^ | String | Starts With | | $ | String | Ends With |需要连接
You can search for multiple contacts by the value of their attributes in order to fetch exactly who you want. To search for contacts, you need to send a `POST` request to `https://api.intercom.io/contacts/search`. This will accept a query object in the body which will define your filters in order to search for contacts. {% admonition type="warning" name="Optimizing search queries" %} Search queries can be complex, so optimizing them can help the performance of your search. Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize pagination to limit the number of results returned. The default is `50` results per page. See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param. {% /admonition %} ### Merged Contacts Contacts that have been merged (via POST /contacts/merge) are excluded from search results. If a contact was recently merged into another, it will no longer appear in queries filtered by `updated_at` or any other field. Only the target contact from the merge remains searchable. ### Contact Creation Delay If a contact has recently been created, there is a possibility that it will not yet be available when searching. This means that it may not appear in the response. This delay can take a few minutes. If you need to be instantly notified it is recommended to use webhooks and iterate to see if they match your search filters. ### Nesting & Limitations You can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4). There are some limitations to the amount of multiple's there can be: * There's a limit of max 2 nested filters * There's a limit of max 15 filters for each AND or OR group ### Searching for Timestamp Fields All timestamp fields (created_at, updated_at etc.) are indexed as Dates for Contact Search queries; Datetime queries are not currently supported. This means you can only query for timestamp fields by day - not hour, minute or second. The day a timestamp falls on is determined using your workspace's timezone, so the same query can return different results across workspaces in different timezones. Because timestamps are stored in UTC, filtering by a value the API returned may not match the originating contact when your workspace is not set to UTC. For example, on a workspace set to UTC, if you search for all Contacts with a created_at value greater (>) than 1577869200 (the UNIX timestamp for January 1st, 2020 9:00 AM UTC), that will be interpreted as 1577836800 (January 1st, 2020 12:00 AM UTC). The search results will then include Contacts created from January 2nd, 2020 12:00 AM UTC onwards. On a workspace in another timezone, the day boundaries fall on that timezone's midnight instead. If you'd like to get contacts created on January 1st, 2020 you should search with a created_at value equal (=) to 1577836800 (January 1st, 2020 12:00 AM UTC). This behaviour applies only to timestamps used in search queries. The search results will still contain the full UNIX timestamp and be sorted accordingly. ### Accepted Fields Most key listed as part of the Contacts Model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `"foorbar"`). | Field | Type | | ---------------------------------- | ------------------------------ | | id | String | | role | String<br>Accepts user or lead | | name | String | | avatar | String | | owner_id | Integer | | email | String | | email_domain | String | | phone | String | | external_id | String | | created_at | Date (UNIX Timestamp) | | signed_up_at | Date (UNIX Timestamp) | | updated_at | Date (UNIX Timestamp) | | last_seen_at | Date (UNIX Timestamp) | | last_contacted_at | Date (UNIX Timestamp) | | last_replied_at | Date (UNIX Timestamp) | | last_email_opened_at | Date (UNIX Timestamp) | | last_email_clicked_at | Date (UNIX Timestamp) | | language_override | String | | browser | String | | browser_language | String | | os | String | | location.country | String | | location.region | String | | location.city | String | | unsubscribed_from_emails | Boolean | | marked_email_as_spam | Boolean | | has_hard_bounced | Boolean | | ios_last_seen_at | Date (UNIX Timestamp) | | ios_app_version | String | | ios_device | String | | ios_app_device | String | | ios_os_version | String | | ios_app_name | String | | ios_sdk_version | String | | android_last_seen_at | Date (UNIX Timestamp) | | android_app_version | String | | android_device | String | | android_app_name | String | | andoid_sdk_version | String | | segment_id | String | | tag_id | String | | custom_attributes.{attribute_name} | String | ### Accepted Operators {% admonition type="warning" name="Searching based on `created_at`" %} You cannot use the `<=` or `>=` operators to search by `created_at`. {% /admonition %} The table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`"="`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates). | Operator | Valid Types | Description | | :------- | :------------------------------- | :--------------------------------------------------------------- | | = | All | Equals | | != | All | Doesn't Equal | | IN | All | In<br>Shortcut for `OR` queries<br>Values must be in Array | | NIN | All | Not In<br>Shortcut for `OR !` queries<br>Values must be in Array | | > | Integer<br>Date (UNIX Timestamp) | Greater than | | < | Integer<br>Date (UNIX Timestamp) | Lower than | | ~ | String | Contains | | !~ | String | Doesn't Contain | | ^ | String | Starts With | | $ | String | Ends With |
认证
需要 Connected AccountTags
Search conversationsINTERCOM_SEARCH_CONVERSATIONSYou can search for multiple conversations by the value of their attributes in order to fetch exactly which ones you want. To search for conversations, you need to send a `POST` request to `https://api.intercom.io/conversations/search`. This will accept a query object in the body which will define your filters in order to search for conversations. {% admonition type="warning" name="Optimizing search queries" %} Search queries can be complex, so optimizing them can help the performance of your search. Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize pagination to limit the number of results returned. The default is `20` results per page and maximum is `150`. See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param. {% /admonition %} ### Nesting & Limitations You can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4). There are some limitations to the amount of multiple's there can be: - There's a limit of max 2 nested filters - There's a limit of max 15 filters for each AND or OR group ### Accepted Fields Most keys listed in the conversation model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `"foorbar"`). The `source.body` field is unique as the search will not be performed against the entire value, but instead against every element of the value separately. For example, when searching for a conversation with a `"I need support"` body - the query should contain a `=` operator with the value `"support"` for such conversation to be returned. A query with a `=` operator and a `"need support"` value will not yield a result. | Field | Type | | :---------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------- | | id | String | | created_at | Date (UNIX timestamp) | | updated_at | Date (UNIX timestamp) | | source.type | String<br>Accepted fields are `conversation`, `email`, `facebook`, `instagram`, `phone_call`, `phone_switch`, `push`, `sms`, `twitter` and `whatsapp`. | | source.id | String | | source.delivered_as | String | | source.subject | String | | source.body | String | | source.author.id | String | | source.author.type | String | | source.author.name | String | | source.author.email | String | | source.url | String | | contact_ids | String | | teammate_ids | String | | admin_assignee_id | Integer | | team_assignee_id | Integer | | channel_initiated | String | | open | Boolean | | read | Boolean | | state | String | | waiting_since | Date (UNIX timestamp) | | snoozed_until | Date (UNIX timestamp) | | tag_ids | String | | priority | String | | statistics.time_to_assignment | Integer | | statistics.time_to_admin_reply | Integer | | statistics.time_to_first_close | Integer | | statistics.time_to_last_close | Integer | | statistics.median_time_to_reply | Integer | | statistics.first_contact_reply_at | Date (UNIX timestamp) | | statistics.first_assignment_at | Date (UNIX timestamp) | | statistics.first_admin_reply_at | Date (UNIX timestamp) | | statistics.first_close_at | Date (UNIX timestamp) | | statistics.last_assignment_at | Date (UNIX timestamp) | | statistics.last_assignment_admin_reply_at | Date (UNIX timestamp) | | statistics.last_contact_reply_at | Date (UNIX timestamp) | | statistics.last_admin_reply_at | Date (UNIX timestamp) | | statistics.last_close_at | Date (UNIX timestamp) | | statistics.last_closed_by_id | String | | statistics.count_reopens | Integer | | statistics.count_assignments | Integer | | statistics.count_conversation_parts | Integer | | conversation_rating.requested_at | Date (UNIX timestamp) | | conversation_rating.replied_at | Date (UNIX timestamp) | | conversation_rating.score | Integer | | conversation_rating.remark | String | | conversation_rating.contact_id | String | | conversation_rating.admin_d | String | | ai_agent_participated | Boolean | | ai_agent.resolution_state | String | | ai_agent.last_answer_type | String | | ai_agent.rating | Integer | | ai_agent.rating_remark | String | | ai_agent.source_type | String | | ai_agent.source_title | String | ### Accepted Operators The table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`"="`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates). | Operator | Valid Types | Description | | :------- | :----------------------------- | :----------------------------------------------------------- | | = | All | Equals | | != | All | Doesn't Equal | | IN | All | In Shortcut for `OR` queries Values most be in Array | | NIN | All | Not In Shortcut for `OR !` queries Values must be in Array | | > | Integer Date (UNIX Timestamp) | Greater (or equal) than | | < | Integer Date (UNIX Timestamp) | Lower (or equal) than | | ~ | String | Contains | | !~ | String | Doesn't Contain | | ^ | String | Starts With | | $ | String | Ends With |需要连接
You can search for multiple conversations by the value of their attributes in order to fetch exactly which ones you want. To search for conversations, you need to send a `POST` request to `https://api.intercom.io/conversations/search`. This will accept a query object in the body which will define your filters in order to search for conversations. {% admonition type="warning" name="Optimizing search queries" %} Search queries can be complex, so optimizing them can help the performance of your search. Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize pagination to limit the number of results returned. The default is `20` results per page and maximum is `150`. See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param. {% /admonition %} ### Nesting & Limitations You can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4). There are some limitations to the amount of multiple's there can be: - There's a limit of max 2 nested filters - There's a limit of max 15 filters for each AND or OR group ### Accepted Fields Most keys listed in the conversation model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `"foorbar"`). The `source.body` field is unique as the search will not be performed against the entire value, but instead against every element of the value separately. For example, when searching for a conversation with a `"I need support"` body - the query should contain a `=` operator with the value `"support"` for such conversation to be returned. A query with a `=` operator and a `"need support"` value will not yield a result. | Field | Type | | :---------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------- | | id | String | | created_at | Date (UNIX timestamp) | | updated_at | Date (UNIX timestamp) | | source.type | String<br>Accepted fields are `conversation`, `email`, `facebook`, `instagram`, `phone_call`, `phone_switch`, `push`, `sms`, `twitter` and `whatsapp`. | | source.id | String | | source.delivered_as | String | | source.subject | String | | source.body | String | | source.author.id | String | | source.author.type | String | | source.author.name | String | | source.author.email | String | | source.url | String | | contact_ids | String | | teammate_ids | String | | admin_assignee_id | Integer | | team_assignee_id | Integer | | channel_initiated | String | | open | Boolean | | read | Boolean | | state | String | | waiting_since | Date (UNIX timestamp) | | snoozed_until | Date (UNIX timestamp) | | tag_ids | String | | priority | String | | statistics.time_to_assignment | Integer | | statistics.time_to_admin_reply | Integer | | statistics.time_to_first_close | Integer | | statistics.time_to_last_close | Integer | | statistics.median_time_to_reply | Integer | | statistics.first_contact_reply_at | Date (UNIX timestamp) | | statistics.first_assignment_at | Date (UNIX timestamp) | | statistics.first_admin_reply_at | Date (UNIX timestamp) | | statistics.first_close_at | Date (UNIX timestamp) | | statistics.last_assignment_at | Date (UNIX timestamp) | | statistics.last_assignment_admin_reply_at | Date (UNIX timestamp) | | statistics.last_contact_reply_at | Date (UNIX timestamp) | | statistics.last_admin_reply_at | Date (UNIX timestamp) | | statistics.last_close_at | Date (UNIX timestamp) | | statistics.last_closed_by_id | String | | statistics.count_reopens | Integer | | statistics.count_assignments | Integer | | statistics.count_conversation_parts | Integer | | conversation_rating.requested_at | Date (UNIX timestamp) | | conversation_rating.replied_at | Date (UNIX timestamp) | | conversation_rating.score | Integer | | conversation_rating.remark | String | | conversation_rating.contact_id | String | | conversation_rating.admin_d | String | | ai_agent_participated | Boolean | | ai_agent.resolution_state | String | | ai_agent.last_answer_type | String | | ai_agent.rating | Integer | | ai_agent.rating_remark | String | | ai_agent.source_type | String | | ai_agent.source_title | String | ### Accepted Operators The table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`"="`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates). | Operator | Valid Types | Description | | :------- | :----------------------------- | :----------------------------------------------------------- | | = | All | Equals | | != | All | Doesn't Equal | | IN | All | In Shortcut for `OR` queries Values most be in Array | | NIN | All | Not In Shortcut for `OR !` queries Values must be in Array | | > | Integer Date (UNIX Timestamp) | Greater (or equal) than | | < | Integer Date (UNIX Timestamp) | Lower (or equal) than | | ~ | String | Contains | | !~ | String | Doesn't Contain | | ^ | String | Starts With | | $ | String | Ends With |
认证
需要 Connected AccountTags
Search for internal articlesINTERCOM_SEARCH_INTERNAL_ARTICLESYou can search for internal articles by making a GET request to `https://api.intercom.io/internal_articles/search`.需要连接
You can search for internal articles by making a GET request to `https://api.intercom.io/internal_articles/search`.
认证
需要 Connected AccountTags
Search ticketsINTERCOM_SEARCH_TICKETSYou can search for multiple tickets by the value of their attributes in order to fetch exactly which ones you want. To search for tickets, you send a `POST` request to `https://api.intercom.io/tickets/search`. This will accept a query object in the body which will define your filters. {% admonition type="warning" name="Optimizing search queries" %} Search queries can be complex, so optimizing them can help the performance of your search. Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize pagination to limit the number of results returned. The default is `20` results per page. See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param. {% /admonition %} ### Nesting & Limitations You can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4). There are some limitations to the amount of multiples there can be: - There's a limit of max 2 nested filters - There's a limit of max 15 filters for each AND or OR group ### Accepted Fields Most keys listed as part of the Ticket model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `"foobar"`). The `source.body` field is unique as the search will not be performed against the entire value, but instead against every element of the value separately. For example, when searching for a conversation with a `"I need support"` body - the query should contain a `=` operator with the value `"support"` for such conversation to be returned. A query with a `=` operator and a `"need support"` value will not yield a result. | Field | Type | | :---------------------------------------- | :--------------------------------------------------------------------------------------- | | id | String | | created_at | Date (UNIX timestamp) | | updated_at | Date (UNIX timestamp) | | title | String | | description | String | | category | String | | ticket_type_id | String | | contact_ids | String | | teammate_ids | String | | admin_assignee_id | String | | team_assignee_id | String | | open | Boolean | | state | String | | snoozed_until | Date (UNIX timestamp) | | ticket_attribute.{id} | String or Boolean or Date (UNIX timestamp) or Float or Integer | {% admonition type="info" name="Searching by Category" %} When searching for tickets by the **`category`** field, specific terms must be used instead of the category names: * For **Customer** category tickets, use the term `request`. * For **Back-office** category tickets, use the term `task`. * For **Tracker** category tickets, use the term `tracker`. {% /admonition %} ### Accepted Operators {% admonition type="info" name="Searching based on `created_at`" %} You may use the `<=` or `>=` operators to search by `created_at`. {% /admonition %} The table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`"="`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates). | Operator | Valid Types | Description | | :------- | :----------------------------- | :----------------------------------------------------------- | | = | All | Equals | | != | All | Doesn't Equal | | IN | All | In Shortcut for `OR` queries Values most be in Array | | NIN | All | Not In Shortcut for `OR !` queries Values must be in Array | | > | Integer Date (UNIX Timestamp) | Greater (or equal) than | | < | Integer Date (UNIX Timestamp) | Lower (or equal) than | | ~ | String | Contains | | !~ | String | Doesn't Contain | | ^ | String | Starts With | | $ | String | Ends With |需要连接
You can search for multiple tickets by the value of their attributes in order to fetch exactly which ones you want. To search for tickets, you send a `POST` request to `https://api.intercom.io/tickets/search`. This will accept a query object in the body which will define your filters. {% admonition type="warning" name="Optimizing search queries" %} Search queries can be complex, so optimizing them can help the performance of your search. Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize pagination to limit the number of results returned. The default is `20` results per page. See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param. {% /admonition %} ### Nesting & Limitations You can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4). There are some limitations to the amount of multiples there can be: - There's a limit of max 2 nested filters - There's a limit of max 15 filters for each AND or OR group ### Accepted Fields Most keys listed as part of the Ticket model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `"foobar"`). The `source.body` field is unique as the search will not be performed against the entire value, but instead against every element of the value separately. For example, when searching for a conversation with a `"I need support"` body - the query should contain a `=` operator with the value `"support"` for such conversation to be returned. A query with a `=` operator and a `"need support"` value will not yield a result. | Field | Type | | :---------------------------------------- | :--------------------------------------------------------------------------------------- | | id | String | | created_at | Date (UNIX timestamp) | | updated_at | Date (UNIX timestamp) | | title | String | | description | String | | category | String | | ticket_type_id | String | | contact_ids | String | | teammate_ids | String | | admin_assignee_id | String | | team_assignee_id | String | | open | Boolean | | state | String | | snoozed_until | Date (UNIX timestamp) | | ticket_attribute.{id} | String or Boolean or Date (UNIX timestamp) or Float or Integer | {% admonition type="info" name="Searching by Category" %} When searching for tickets by the **`category`** field, specific terms must be used instead of the category names: * For **Customer** category tickets, use the term `request`. * For **Back-office** category tickets, use the term `task`. * For **Tracker** category tickets, use the term `tracker`. {% /admonition %} ### Accepted Operators {% admonition type="info" name="Searching based on `created_at`" %} You may use the `<=` or `>=` operators to search by `created_at`. {% /admonition %} The table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`"="`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates). | Operator | Valid Types | Description | | :------- | :----------------------------- | :----------------------------------------------------------- | | = | All | Equals | | != | All | Doesn't Equal | | IN | All | In Shortcut for `OR` queries Values most be in Array | | NIN | All | Not In Shortcut for `OR !` queries Values must be in Array | | > | Integer Date (UNIX Timestamp) | Greater (or equal) than | | < | Integer Date (UNIX Timestamp) | Lower (or equal) than | | ~ | String | Contains | | !~ | String | Doesn't Contain | | ^ | String | Starts With | | $ | String | Ends With |
认证
需要 Connected AccountTags
Set an admin to awayINTERCOM_SET_AWAY_ADMINYou can set an Admin as away for the Inbox.需要连接
You can set an Admin as away for the Inbox.
认证
需要 Connected AccountTags
Get a callINTERCOM_SHOW_CALLRetrieve a single call by id.需要连接
Retrieve a single call by id.
认证
需要 Connected AccountTags
Get call recording by call idINTERCOM_SHOW_CALL_RECORDINGRedirects to a signed URL for the call's recording if it exists.需要连接
Redirects to a signed URL for the call's recording if it exists.
认证
需要 Connected AccountTags
Get call transcript by call idINTERCOM_SHOW_CALL_TRANSCRIPTReturns the transcript for the specified call as a downloadable text file.需要连接
Returns the transcript for the specified call as a downloadable text file.
认证
需要 Connected AccountTags
Get a contactINTERCOM_SHOW_CONTACTYou can fetch the details of a single contact. {% admonition type="warning" name="Merged contacts" %} If a contact has been merged into another contact via the Merge endpoint (POST /contacts/merge), requesting it by its original ID will return a `404 Not Found` error. Use the merged-into contact's ID instead. {% /admonition %}需要连接
You can fetch the details of a single contact. {% admonition type="warning" name="Merged contacts" %} If a contact has been merged into another contact via the Merge endpoint (POST /contacts/merge), requesting it by its original ID will return a `404 Not Found` error. Use the merged-into contact's ID instead. {% /admonition %}
认证
需要 Connected AccountTags
Get a contact by External IDINTERCOM_SHOW_CONTACT_BY_EXTERNAL_IDYou can fetch the details of a single contact by external ID. Note that this endpoint only supports users and not leads.需要连接
You can fetch the details of a single contact by external ID. Note that this endpoint only supports users and not leads.
认证
需要 Connected AccountTags
Start a conversation with FinINTERCOM_START_FIN_CONVERSATIONInitialize Fin by passing it the user's message along with conversation history and user details. These additional pieces of context will be used by Fin to provide a better and more contextual answer to the user. {% admonition type="warning" %} Please reach out to your accounts team to discuss access. {% /admonition %} Once Fin is initialized, it progresses through a series of statuses such as *thinking*, *awaiting_user_reply*, or *resolved* before ending with a status of *complete*. During this workflow, the client should allow Fin to continue uninterrupted until a final *complete* status is returned via webhook, at which point control of the conversation passes back to the client.需要连接
Initialize Fin by passing it the user's message along with conversation history and user details. These additional pieces of context will be used by Fin to provide a better and more contextual answer to the user. {% admonition type="warning" %} Please reach out to your accounts team to discuss access. {% /admonition %} Once Fin is initialized, it progresses through a series of statuses such as *thinking*, *awaiting_user_reply*, or *resolved* before ending with a status of *complete*. During this workflow, the client should allow Fin to continue uninterrupted until a final *complete* status is returned via webhook, at which point control of the conversation passes back to the client.
认证
需要 Connected AccountTags
Unarchive contactINTERCOM_UNARCHIVE_CONTACTYou can unarchive a single contact.需要连接
You can unarchive a single contact.
认证
需要 Connected AccountTags
Update an articleINTERCOM_UPDATE_ARTICLEYou can update the details of a single article by making a PUT request to `https://api.intercom.io/articles/<id>`. > 📘 Tags cannot be managed via the Articles API > > Article tags are read-only in responses. To create, update, or delete tags, use the Intercom UI or the Tags API endpoints.需要连接
You can update the details of a single article by making a PUT request to `https://api.intercom.io/articles/<id>`. > 📘 Tags cannot be managed via the Articles API > > Article tags are read-only in responses. To create, update, or delete tags, use the Intercom UI or the Tags API endpoints.
认证
需要 Connected AccountTags
Update a collectionINTERCOM_UPDATE_COLLECTIONYou can update the details of a single collection by making a PUT request to `https://api.intercom.io/collections/<id>`.需要连接
You can update the details of a single collection by making a PUT request to `https://api.intercom.io/collections/<id>`.
认证
需要 Connected AccountTags
Update a companyINTERCOM_UPDATE_COMPANYYou can update a single company using the Intercom provisioned `id`. {% admonition type="warning" name="Using `company_id`" %} When updating a company it is not possible to update `company_id`. This can only be set once upon creation of the company. {% /admonition %}需要连接
You can update a single company using the Intercom provisioned `id`. {% admonition type="warning" name="Using `company_id`" %} When updating a company it is not possible to update `company_id`. This can only be set once upon creation of the company. {% /admonition %}
认证
需要 Connected AccountTags
Update a contactINTERCOM_UPDATE_CONTACTYou can update an existing contact (ie. user or lead). {% admonition type="info" %} This endpoint handles both **contact updates** and **custom object associations**. See _`update a contact with an association to a custom object instance`_ in the request/response examples to see the custom object association format. {% /admonition %}需要连接
You can update an existing contact (ie. user or lead). {% admonition type="info" %} This endpoint handles both **contact updates** and **custom object associations**. See _`update a contact with an association to a custom object instance`_ in the request/response examples to see the custom object association format. {% /admonition %}
认证
需要 Connected AccountTags
Update a content import sourceINTERCOM_UPDATE_CONTENT_IMPORT_SOURCEYou can update an existing content import source.需要连接
You can update an existing content import source.
认证
需要 Connected AccountTags
Update a conversationINTERCOM_UPDATE_CONVERSATIONYou can update an existing conversation. {% admonition type="info" name="Replying and other actions" %} If you want to reply to a coveration or take an action such as assign, unassign, open, close or snooze, take a look at the reply and manage endpoints. {% /admonition %} {% admonition type="info" %} This endpoint handles both **conversation updates** and **custom object associations**. See _`update a conversation with an association to a custom object instance`_ in the request/response examples to see the custom object association format. {% /admonition %} {% admonition type="danger" name="Breaking change: duplicate custom attribute names" %} The `PUT /conversations/{id}` endpoint now returns a `400 INVALID_PARAMETER` error when the request includes `custom_attributes` and your workspace contains multiple non-archived conversation custom attributes with the same name. Previously, the update would silently apply to a non-deterministic attribute. To resolve, rename or archive the duplicate attribute in your workspace settings, then retry the request. {% /admonition %}需要连接
You can update an existing conversation. {% admonition type="info" name="Replying and other actions" %} If you want to reply to a coveration or take an action such as assign, unassign, open, close or snooze, take a look at the reply and manage endpoints. {% /admonition %} {% admonition type="info" %} This endpoint handles both **conversation updates** and **custom object associations**. See _`update a conversation with an association to a custom object instance`_ in the request/response examples to see the custom object association format. {% /admonition %} {% admonition type="danger" name="Breaking change: duplicate custom attribute names" %} The `PUT /conversations/{id}` endpoint now returns a `400 INVALID_PARAMETER` error when the request includes `custom_attributes` and your workspace contains multiple non-archived conversation custom attributes with the same name. Previously, the update would silently apply to a non-deterministic attribute. To resolve, rename or archive the duplicate attribute in your workspace settings, then retry the request. {% /admonition %}
认证
需要 Connected AccountTags
Update a data attributeINTERCOM_UPDATE_DATA_ATTRIBUTEYou can update a data attribute. > 🚧 Updating the data type is not possible > > It is currently a dangerous action to execute changing a data attribute's type via the API. You will need to update the type via the UI instead.需要连接
You can update a data attribute. > 🚧 Updating the data type is not possible > > It is currently a dangerous action to execute changing a data attribute's type via the API. You will need to update the type via the UI instead.
认证
需要 Connected AccountTags
Update an external pageINTERCOM_UPDATE_EXTERNAL_PAGEYou can update an existing external page (if it was created via the API).需要连接
You can update an existing external page (if it was created via the API).
认证
需要 Connected AccountTags
Update an internal articleINTERCOM_UPDATE_INTERNAL_ARTICLEYou can update the details of a single internal article by making a PUT request to `https://api.intercom.io/internal_articles/<id>`.需要连接
You can update the details of a single internal article by making a PUT request to `https://api.intercom.io/internal_articles/<id>`.
认证
需要 Connected AccountTags
Update IP allowlist settingsINTERCOM_UPDATE_IP_ALLOWLISTUpdate the IP allowlist configuration for the workspace. {% admonition type="warning" name="Lockout Protection" %} The API will reject updates that would lock out the caller's IP address. Ensure your current IP is included in the allowlist when enabling the feature. {% /admonition %}需要连接
Update the IP allowlist configuration for the workspace. {% admonition type="warning" name="Lockout Protection" %} The API will reject updates that would lock out the caller's IP address. Ensure your current IP is included in the allowlist when enabling the feature. {% /admonition %}
认证
需要 Connected AccountTags
Update a news itemINTERCOM_UPDATE_NEWS_ITEMUpdate a news item需要连接
Update a news item
认证
需要 Connected AccountTags
Update a ticketINTERCOM_UPDATE_TICKETYou can update a ticket.需要连接
You can update a ticket.
认证
需要 Connected AccountTags
Update a ticket typeINTERCOM_UPDATE_TICKET_TYPEYou can update a ticket type. > 📘 Updating a ticket type. > > For the `icon` propery, use an emoji from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/)需要连接
You can update a ticket type. > 📘 Updating a ticket type. > > For the `icon` propery, use an emoji from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/)
认证
需要 Connected AccountTags
Update an existing attribute for a ticket typeINTERCOM_UPDATE_TICKET_TYPE_ATTRIBUTEYou can update an existing attribute for a ticket type.需要连接
You can update an existing attribute for a ticket type.
认证
需要 Connected AccountTags
Update a visitorINTERCOM_UPDATE_VISITORSending a PUT request to `/visitors` will result in an update of an existing Visitor. **Option 1.** You can update a visitor by passing in the `user_id` of the visitor in the Request body. **Option 2.** You can update a visitor by passing in the `id` of the visitor in the Request body.需要连接
Sending a PUT request to `/visitors` will result in an update of an existing Visitor. **Option 1.** You can update a visitor by passing in the `user_id` of the visitor in the Request body. **Option 2.** You can update a visitor by passing in the `id` of the visitor in the Request body.
认证
需要 Connected AccountTags