Skip to main content
GET
/
authors
/
getBySlug
/
{slug}
Get author by slug (public)
curl --request GET \
  --url https://api.octaviatech.app/cms/authors/getBySlug/{slug} \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "statusCode": 200,
  "message": "OK",
  "data": {
    "id": "{{objectId}}",
    "name": {
      "en": "John Carter",
      "es": "Juan Carter"
    },
    "slug": "john-carter",
    "role": "Editor"
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

slug
string
required
Example:

"john-carter"

Response

OK

The response is of type any.