Skip to main content
GET
/
articles
/
getById
/
{id}
Get article by id (public)
curl --request GET \
  --url https://api.octaviatech.app/cms/articles/getById/{id} \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "statusCode": 200,
  "message": "OK",
  "data": {
    "id": "{{objectId}}",
    "slug": "droopy-nose",
    "mainTitle": {
      "en": "Droopy Nose",
      "es": "Nariz caída"
    },
    "summary": {
      "en": "Short summary",
      "es": "Resumen breve"
    },
    "body": {
      "en": "<p>HTML</p>",
      "es": "<p>HTML</p>"
    },
    "category": [
      "{{objectId}}"
    ],
    "subCategory": [
      "{{objectId}}"
    ],
    "author": "{{objectId}}",
    "tags": [],
    "gallery": [
      "https://cdn.example.com/img1"
    ],
    "publishDate": "2025-05-22T21:42:41.596Z",
    "isPublished": true
  }
}
Octavia AI CMS supports multi-language content delivery.
You can specify which language to receive responses in by including the lang header in your API requests.

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required
Example:

"{{objectId}}"

Response

OK

The response is of type any.