The intercom API reference.
The intercom API reference.
You can fetch a list of all sections by making a GET request to https://api.intercom.io/help_center/sections
.
📘 How are the sections sorted and ordered?
Sections 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 sections first.
curl -i -X GET \
https://api.intercom.io/help_center/sections \
-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 } }
The name of the collection. For multilingual collections, this will be the name of the default language's content.
curl -i -X POST \
https://api.intercom.io/help_center/sections \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'Intercom-Version: 2.9' \
-d '{
"name": "Thanks for everything",
"parent_id": 194
}'
section created
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.
{ "id": "196", "workspace_id": "this_is_an_id105_that_should_be_at_least_", "name": "Thanks for everything", "url": "http://help-center.test/myapp-105/", "order": 1, "created_at": 1717021364, "updated_at": 1717021364, "type": "section", "parent_id": "194" }
curl -i -X GET \
https://api.intercom.io/help_center/sections/123 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Intercom-Version: 2.9'
Section found
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.
{ "id": "200", "workspace_id": "this_is_an_id109_that_should_be_at_least_", "name": "English section title", "url": "http://help-center.test/myapp-109/section-19", "order": 19, "created_at": 1717021365, "updated_at": 1717021365, "type": "section", "parent_id": 199 }