Content sources connect external CMS platforms (Contentful, Strapi, Sanity, etc.) to KaireonAI. Content is synced via webhooks or manual sync triggers and imported as content items.Documentation Index
Fetch the complete documentation index at: https://docs.kaireonai.com/llms.txt
Use this file to discover all available pages before exploring further.
GET /api/v1/content-sources
List all content sources for the tenant.Response
POST /api/v1/content-sources
Create a new content source. Admin only.Request Body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Source name |
provider | string | Yes | CMS provider (e.g., contentful, strapi, sanity, wordpress) |
config | object | No | Provider-specific configuration |
syncMode | string | No | Sync mode: webhook or poll (default: webhook) |
syncIntervalMinutes | number | No | Poll interval in minutes (for poll mode) |
autoPublish | boolean | No | Auto-publish synced content (default: false) |
mappings | object | No | Field mappings from CMS schema to content item fields |
Example
Response (201)
Returns the created content source object.GET /api/v1/content-sources/
Get a single content source by ID.PUT /api/v1/content-sources/
Update a content source. Admin only.Request Body
Same fields as POST, all optional.DELETE /api/v1/content-sources/
Delete a content source. Admin only.Response
204 No Content on success.