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
| Parameter | Type | Description |
|---|---|---|
| page | number | Page number (default: 1) |
| limit | number | Items per page (max: 100) |
| category | string | Filter by category slug |
| published | boolean | Filter 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