Skip to main content
GET
/
articles
/
getAll
Get all articles (public)
curl --request GET \
  --url https://api.octaviatech.app/cms/articles/getAll \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "statusCode": 200,
  "message": "OK",
  "data": {
    "items": [
      {
        "id": "{{objectId}}",
        "slug": "droopy-nose",
        "mainTitle": {
          "en": "Droopy Nose",
          "es": "Nariz caída"
        },
        "publishDate": "2025-05-22T21:42:41.596Z",
        "isPublished": true
      }
    ],
    "pagination": {
      "total": 1,
      "page": 1,
      "limit": 20,
      "totalPages": 1
    }
  }
}

Authorizations

x-api-key
string
header
required

Query Parameters

page
integer
Required range: x >= 1
Example:

1

limit
integer
Required range: 1 <= x <= 100
Example:

20

keyword
string
Example:

"nose"

includeDeleted
boolean
Example:

false

includeUnpublished
boolean
Example:

false

includePrivate
boolean
Example:

false

category
string
Example:

"{{objectId}}"

subCategory
string
Example:

"{{objectId}}"

author
string
Example:

"{{objectId}}"

tags
string

CSV list of tags

Example:

"ai,news"

sortBy
enum<string>
Available options:
createdAt,
publishDate
Example:

"publishDate"

sortOrder
enum<string>
Available options:
asc,
desc
Example:

"desc"

Response

200 - application/json

OK

The response is of type any.