Help Center
Everything about your Help Center
Operations
| Method | Endpoint | Description |
|---|---|---|
GET | /help_center/help_centers/{help_center_id}/redirects | List all redirects for a help center |
POST | /help_center/help_centers/{help_center_id}/redirects | Create a redirect |
GET | /help_center/help_centers/{help_center_id}/redirects/{id} | Retrieve a redirect |
DELETE | /help_center/help_centers/{help_center_id}/redirects/{id} | Delete a redirect |
GET | /help_center/collections | List all collections |
POST | /help_center/collections | Create a collection |
GET | /help_center/collections/{collection_id} | Retrieve a collection |
PUT | /help_center/collections/{collection_id} | Update a collection |
DELETE | /help_center/collections/{collection_id} | Delete a collection |
GET | /help_center/help_centers/{help_center_id} | Retrieve a Help Center |
GET | /help_center/help_centers | List all Help Centers |
Example
List all redirects for a help center, 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.helpCenter.listRedirects({
helpCenterId: "help-center-1",
});
console.log(result);Nine more languages
The same call exists in every SDK. See SDKs for the other nine.