Skip to content

Intercom API (2.7)

The intercom API reference.

Download OpenAPI description
Languages
Servers
The production API server

https://api.intercom.io/

The european API server

https://api.eu.intercom.io/

The australian API server

https://api.au.intercom.io/

Admins

Everything about your Admins

SchemasOperations

Articles

Everything about your Articles

SchemasOperations

Companies

Everything about your Companies

SchemasOperations

Contacts

Everything about your contacts

SchemasOperations

Conversations

Everything about your Conversations

SchemasOperations

Data Attributes

Everything about your Data Attributes

SchemasOperations

Data Events

Everything about your Data Events

SchemasOperations

Data Export

Everything about your Data Exports

SchemasOperations

Help Center

Everything about your Help Center

SchemasOperations

Request

You can create a new collection by making a POST request to https://api.intercom.io/help_center/collections.

Security
bearerAuth
Headers
Intercom-Versionstring(intercom_version)

Intercom API version.
By default, it's equal to the version set in the app package.

Default 2.7
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example: 2.7
Bodyapplication/json
namestringrequired

The name of the collection. For multilingual collections, this will be the name of the default language's content.

Example: "collection 51"
descriptionstring

The description of the collection. For multilingual collections, this will be the description of the default language's content.

Example: "English description"
translated_contentobject or null(Group Translated Content)

The Translated Content of an Group. The keys are the locale codes and the values are the translated content of the Group.

help_center_idinteger or null

The id of the help center where the collection will be created. If null then it will be created in the default help center.

Example: "123"
curl -i -X POST \
  https://api.intercom.io/help_center/collections \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Intercom-Version: 2.7' \
  -d '{
    "name": "Thanks for everything"
  }'

Responses

collection created

Bodyapplication/json
idstring

The unique identifier for the collection which is given by Intercom.

Example: "6871119"
workspace_idstring

The id of the workspace which the collection belongs to.

Example: "hfi1bx4l"
namestring

The name of the collection. For multilingual collections, this will be the name of the default language's content.

Example: "Default language name"
descriptionstring or null

The description of the collection. For multilingual help centers, this will be the description of the collection for the default language.

Example: "Default language description"
created_atinteger(date-time)

The time when the article was created (seconds). For multilingual articles, this will be the timestamp of creation of the default language's content.

Example: 1672928359
updated_atinteger(date-time)

The time when the article was last updated (seconds). For multilingual articles, this will be the timestamp of last update of the default language's content.

Example: 1672928610
urlstring or null

The URL of the collection. For multilingual help centers, this will be the URL of the collection for the default language.

Example: "http://intercom.test/help/collection/name"
iconstring or null

The icon of the collection.

Example: "book-bookmark"
orderinteger

The order of the section in relation to others sections within a collection. Values go from 0 upwards. 0 is the default if there's no order.

Example: "1"
default_localestring

The default locale of the help center. This field is only returned for multilingual help centers.

Example: "en"
translated_contentobject or null(Group Translated Content)

The Translated Content of an Group. The keys are the locale codes and the values are the translated content of the Group.

help_center_idinteger or null

The id of the help center the collection is in.

Example: "123"
typestring

The type of object - collection.

Default "collection"
Value"collection"
Example: "collection"
Response
application/json
{ "id": "23", "workspace_id": "this_is_an_id67_that_should_be_at_least_4", "name": "Thanks for everything", "url": "http://help-center.test/myapp-67/", "order": 1, "created_at": 1717020658, "updated_at": 1717020658, "description": "", "icon": "book-bookmark", "help_center_id": 19, "type": "collection" }

Request

You can fetch the details of a single collection by making a GET request to https://api.intercom.io/help_center/collections/<id>.

Security
bearerAuth
Path
idintegerrequired

The unique identifier for the collection which is given by Intercom.

Example: 123
Headers
Intercom-Versionstring(intercom_version)

Intercom API version.
By default, it's equal to the version set in the app package.

Default 2.7
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example: 2.7
curl -i -X GET \
  https://api.intercom.io/help_center/collections/123 \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: 2.7'

Responses

Collection found

Bodyapplication/json
idstring

The unique identifier for the collection which is given by Intercom.

Example: "6871119"
workspace_idstring

The id of the workspace which the collection belongs to.

Example: "hfi1bx4l"
namestring

The name of the collection. For multilingual collections, this will be the name of the default language's content.

Example: "Default language name"
descriptionstring or null

The description of the collection. For multilingual help centers, this will be the description of the collection for the default language.

Example: "Default language description"
created_atinteger(date-time)

The time when the article was created (seconds). For multilingual articles, this will be the timestamp of creation of the default language's content.

Example: 1672928359
updated_atinteger(date-time)

The time when the article was last updated (seconds). For multilingual articles, this will be the timestamp of last update of the default language's content.

Example: 1672928610
urlstring or null

The URL of the collection. For multilingual help centers, this will be the URL of the collection for the default language.

Example: "http://intercom.test/help/collection/name"
iconstring or null

The icon of the collection.

Example: "book-bookmark"
orderinteger

The order of the section in relation to others sections within a collection. Values go from 0 upwards. 0 is the default if there's no order.

Example: "1"
default_localestring

The default locale of the help center. This field is only returned for multilingual help centers.

Example: "en"
translated_contentobject or null(Group Translated Content)

The Translated Content of an Group. The keys are the locale codes and the values are the translated content of the Group.

help_center_idinteger or null

The id of the help center the collection is in.

Example: "123"
typestring

The type of object - collection.

Default "collection"
Value"collection"
Example: "collection"
Response
application/json
{ "id": "28", "workspace_id": "this_is_an_id73_that_should_be_at_least_4", "name": "English collection title", "url": "http://help-center.test/myapp-73/collection-22", "order": 22, "created_at": 1717020659, "updated_at": 1717020659, "description": "english collection description", "icon": "bookmark", "help_center_id": 22, "type": "collection" }

Request

You can update the details of a single collection by making a PUT request to https://api.intercom.io/collections/<id>.

Security
bearerAuth
Path
idintegerrequired

The unique identifier for the collection which is given by Intercom.

Example: 123
Headers
Intercom-Versionstring(intercom_version)

Intercom API version.
By default, it's equal to the version set in the app package.

Default 2.7
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example: 2.7
Bodyapplication/json
namestring

The name of the collection. For multilingual collections, this will be the name of the default language's content.

Example: "collection 51"
descriptionstring

The description of the collection. For multilingual collections, this will be the description of the default language's content.

Example: "English description"
translated_contentobject or null(Group Translated Content)

The Translated Content of an Group. The keys are the locale codes and the values are the translated content of the Group.

curl -i -X PUT \
  https://api.intercom.io/help_center/collections/123 \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Intercom-Version: 2.7' \
  -d '{
    "name": "Update collection name"
  }'

Responses

successful

Bodyapplication/json
idstring

The unique identifier for the collection which is given by Intercom.

Example: "6871119"
workspace_idstring

The id of the workspace which the collection belongs to.

Example: "hfi1bx4l"
namestring

The name of the collection. For multilingual collections, this will be the name of the default language's content.

Example: "Default language name"
descriptionstring or null

The description of the collection. For multilingual help centers, this will be the description of the collection for the default language.

Example: "Default language description"
created_atinteger(date-time)

The time when the article was created (seconds). For multilingual articles, this will be the timestamp of creation of the default language's content.

Example: 1672928359
updated_atinteger(date-time)

The time when the article was last updated (seconds). For multilingual articles, this will be the timestamp of last update of the default language's content.

Example: 1672928610
urlstring or null

The URL of the collection. For multilingual help centers, this will be the URL of the collection for the default language.

Example: "http://intercom.test/help/collection/name"
iconstring or null

The icon of the collection.

Example: "book-bookmark"
orderinteger

The order of the section in relation to others sections within a collection. Values go from 0 upwards. 0 is the default if there's no order.

Example: "1"
default_localestring

The default locale of the help center. This field is only returned for multilingual help centers.

Example: "en"
translated_contentobject or null(Group Translated Content)

The Translated Content of an Group. The keys are the locale codes and the values are the translated content of the Group.

help_center_idinteger or null

The id of the help center the collection is in.

Example: "123"
typestring

The type of object - collection.

Default "collection"
Value"collection"
Example: "collection"
Response
application/json
{ "id": "34", "workspace_id": "this_is_an_id79_that_should_be_at_least_4", "name": "Update collection name", "url": "http://help-center.test/myapp-79/collection-25", "order": 25, "created_at": 1717020661, "updated_at": 1717020661, "description": "english collection description", "icon": "folder", "help_center_id": 25, "type": "collection" }

Messages

Everything about your messages

SchemasOperations
SchemasOperations
SchemasOperations

Segments

Everything about your Segments

SchemasOperations

Subscription Types

Everything about subscription types

SchemasOperations
Operations
SchemasOperations
SchemasOperations

Visitors

Everything about your Visitors

Operations
Schemas