Intercom API (2.9)

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

Operations

Articles

Everything about your Articles

Operations

Companies

Everything about your Companies

Operations

Contacts

Everything about your contacts

Operations

Conversations

Everything about your Conversations

Operations

Data Attributes

Everything about your Data Attributes

Operations

Data Events

Everything about your Data Events

Operations

Data Export

Everything about your Data Exports

Operations

Help Center

Everything about your Help Center

Operations

Update a section

Request

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

Path
idintegerrequired

The unique identifier for the section 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.9
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example: 2.9
Bodyapplication/json
namestring

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

Example: "Section 51"
parent_idinteger

The id for the collection this section will be within.

Example: 18
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/sections/123 \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Intercom-Version: 2.9' \
  -d '{
    "name": "Update section name",
    "parent_id": 205
  }'

Responses

successful

Bodyapplication/json
typestring

The type of object - section.

Default "section"
Value"section"
Example: "section"
idstring

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

Example: "6871119"
workspace_idstring

The id of the workspace which the section belongs to.

Example: "hfi1bx4l"
namestring

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

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

The time when the section was created. For multilingual sections, this will be the timestamp of creation of the default language's content.

Example: 1672928359
updated_atinteger(date-time)

The time when the section was last updated. For multilingual sections, this will be the timestamp of last update of the default language's content.

Example: 1672928610
urlstring or null

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

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

The icon of the section.

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"
parent_idInteger (integer) or String (string)

The id of the parent section.

Example: 6871119
One of:

The id of the parent section.

integer(Integer)

The id of the parent section.

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.

Response
application/json
{ "id": "206", "workspace_id": "this_is_an_id115_that_should_be_at_least_", "name": "Update section name", "url": "http://help-center.test/myapp-115/section-22", "order": 22, "created_at": 1717021366, "updated_at": 1717021367, "type": "section", "parent_id": "205" }

Delete a section

Request

You can delete a single section by making a DELETE request to https://api.intercom.io/sections/<id>.

Path
idintegerrequired

The unique identifier for the section 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.9
Enum"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example: 2.9
curl -i -X DELETE \
  https://api.intercom.io/help_center/sections/123 \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: 2.9'

Responses

successful

Bodyapplication/json
idstring

The unique identifier for the section which you provided in the URL.

Example: "6890762"
objectstring

The type of object which was deleted. - section

Value"section"
Example: "section"
deletedboolean

Whether the section was deleted successfully or not.

Example: true
Response
application/json
{ "id": "212", "object": "section", "deleted": true }

Messages

Everything about your messages

Operations

News

Everything about your News

Operations

Notes

Everything about your Notes

Operations

Segments

Everything about your Segments

Operations

Subscription Types

Everything about subscription types

Operations

Switch

Everything about Switch

Operations

Tags

Everything about tags

Operations

Teams

Everything about your Teams

Operations

Ticket Type Attributes

Everything about your ticket type attributes

Operations

Ticket Types

Everything about your ticket types

Operations

Tickets

Everything about your tickets

Operations

Visitors

Everything about your Visitors

Operations

Models