Folders

5 operations in the Intercom API work with folders. Each is in the API reference with its parameters, responses and generated code.

Operations

MethodEndpointDescription
GET/foldersList all folders
POST/foldersCreate a folder
GET/folders/{id}Retrieve a folder
PUT/folders/{id}Update a folder
DELETE/folders/{id}Delete a folder

Example

List all folders, with the TypeScript SDK:

ts
import { Intercom } from "@octridev/intercom";

const client = new Intercom({
  // Optional: replaces the default server and any server an operation declares.
  baseUrl: "https://api.intercom.io",
  auth: { bearerAuth: process.env.API_TOKEN! },
});

const result = await client.folders.list();
console.log(result);
Nine more languages

The same call exists in every SDK. See SDKs for the other nine.