Skip to content

List all folders

Request

You can fetch a list of all folders for organizing content by making a GET request to https://api.intercom.io/folders.

Security
bearerAuth
Query
pageinteger

The page number

Example:page=1
per_pageinteger, <= 150

Number of results per page

Example:per_page=50
parent_folder_idinteger

Filter folders by parent folder ID. Use this to list only direct children of a specific folder.

Example:parent_folder_id=1
Headers
Intercom-Versionstring(intercom_version)

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

Default:"Preview"
Enum:"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:Preview
curl -i -X GET \
  'https://api.intercom.io/folders?page=1&per_page=50&parent_folder_id=1' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Intercom-Version: Preview'

Responses

successful

Bodyapplication/json
typestring
Value:"list"
Example:"list"
dataArray of objects(Folder)
total_countinteger

Total number of folders

Example:2
pagesobject or null(Cursor based pages)

Cursor-based pagination is a technique used in the Intercom API to navigate through large amounts of data. A "cursor" or pointer is used to keep track of the current position in the result set, allowing the API to return the data in small chunks or "pages" as needed.

Response
{ "type": "list", "data": [ {} ], "total_count": 1, "pages": { "type": "pages", "page": 1, "per_page": 50, "total_pages": 1 } }