The intercom API reference.
The intercom API reference.
Sections are subdivisions of a collection, with a collection potentially having multiple sections.
The name of the section. For multilingual sections, this will be the name of the default language's content.
The time when the section was created. For multilingual sections, this will be the timestamp of creation of the default language's content.
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.
The URL of the section. For multilingual help centers, this will be the URL of the section for the default language.
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.
The id of the parent section.
The id of the parent section.
The id of the parent section.
The default locale of the help center. This field is only returned for multilingual help centers.
{ "type": "section", "id": "6871119", "workspace_id": "hfi1bx4l", "name": "Default language name", "created_at": 1672928359, "updated_at": 1672928610, "url": "http://intercom.test/help/section/name", "icon": "book-bookmark", "order": "1", "parent_id": 6871119, "default_locale": "en", "translated_content": { "type": "group_translated_content", "ar": { … }, "bg": { … }, "bs": { … }, "ca": { … }, "cs": { … }, "da": { … }, "de": { … }, "el": { … }, "en": { … }, "es": { … }, "et": { … }, "fi": { … }, "fr": { … }, "he": { … }, "hr": { … }, "hu": { … }, "id": { … }, "it": { … }, "ja": { … }, "ko": { … }, "lt": { … }, "lv": { … }, "mn": { … }, "nb": { … }, "nl": { … }, "pl": { … }, "pt": { … }, "ro": { … }, "ru": { … }, "sl": { … }, "sr": { … }, "sv": { … }, "tr": { … }, "vi": { … }, "pt-BR": { … }, "zh-CN": { … }, "zh-TW": { … } } }
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.
curl -i -X GET \
https://api.intercom.io/help_center/collections \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Intercom-Version: 2.9'
{ "type": "list", "data": [ { … } ], "total_count": 1, "pages": { "type": "pages", "page": 1, "per_page": 20, "total_pages": 1 } }