Articles
Create Article
Guidelines for creating multilingual articles in Octavia AI CMS.
POST
Create article
When creating an article in Octavia AI CMS, you can include content in multiple languages.
Fields that support localization must be sent in the standard multilingual format, where each language is represented by a lowercase ISO 639-1 code (for example,
Fields that support localization must be sent in the standard multilingual format, where each language is represented by a lowercase ISO 639-1 code (for example,
en, es, fr).
Example format:
Rules
- ✅ Keys must be lowercase ISO 639-1 codes (
en,es,de, etc.) - ✅ At least one language (your default) is required
- ✅ Values must be plain strings (HTML allowed for
content) - ❌ Do not send a single string for multilingual fields
- ❌ Do not use uppercase or non-standard codes (e.g.,
EN,eng)
Validation & Behavior
- Slug must be unique within your workspace
- Publish controls:
isPublished,isPrivate, andpublishDateare optional - Language fallback: if the requested
langdoesn’t exist, the API returns the default language - Content field supports only HTML, not Markdown
- Category, subCategory, and author fields expect valid IDs
- When using the
langheader, localized fields are flattened to a single string; otherwise, the full language map is returned
Authorizations
Body
application/json
Main title in multiple languages
Main article content (HTML allowed)
Array of category IDs
Pattern:
^[a-fA-F0-9]{24}$Author ID
Pattern:
^[a-fA-F0-9]{24}$Optional secondary title in multiple languages
Optional tertiary title in multiple languages
URL-friendly unique identifier
Short summary in multiple languages
Thumbnail image URL
Banner image URL
List of tags
Array of sub-category IDs
Pattern:
^[a-fA-F0-9]{24}$Optional gallery image URLs
Publish date in ISO 8601
Publish state
If true, restricts visibility
Preferred language for immediate rendering/preview
Available options:
en, es If true, backend may auto-create a summary
Response
Created
Create article

