Get Article by ID.
cURL
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 } }
lang
"{{objectId}}"
OK
Was this page helpful?