Articles

Everything about your Articles

Operations

MethodEndpointDescription
GET/articlesList all articles
POST/articlesCreate an article
GET/articles/{article_id}Retrieve an article
PUT/articles/{article_id}Update an article
DELETE/articles/{article_id}Delete an article
GET/articles/{id}/draftRetrieve an article draft
PUT/articles/{id}/draftStage an article draft
POST/articles/{id}/draft/publishPublish an article draft
POST/articles/{article_id}/tagsAdd a tag to an article
DELETE/articles/{article_id}/tags/{id}Remove a tag from an article
GET/articles/{article_id}/versionsList article versions
GET/articles/{article_id}/versions/{id}Retrieve an article version
GET/articles/searchSearch for articles

Example

List all articles, 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.articles.list();
console.log(result);
Nine more languages

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