Articles API

CRUD operations for articles

Updated 1/21/2026

Articles API

Manage articles programmatically with these endpoints.

List Articles

GET /v1/articles

Query Parameters

ParameterTypeDescription
pagenumberPage number (default: 1)
limitnumberItems per page (max: 100)
categorystringFilter by category slug
publishedbooleanFilter by publish status

Response

{
  "success": true,
  "data": [
    {
      "id": "abc123",
      "slug": "my-article",
      "title": "My Article",
      "description": "Article description",
      "published": true,
      "createdAt": "2024-01-15T10:00:00Z"
    }
  ]
}

Get Single Article

GET /v1/articles/:slug

Create Article

POST /v1/articles

Request Body

{
  "title": "New Article",
  "slug": "new-article",
  "content": "# Article content in Markdown",
  "categoryId": "cat123",
  "published": true
}

Update Article

PATCH /v1/articles/:id

Delete Article

DELETE /v1/articles/:id
Articles API - kb.chat | Demo KB