Skip to main content
GET
/
authors
/
getById
/
{id}
Get author by id (public)
curl --request GET \
  --url https://api.octaviatech.app/cms/authors/getById/{id} \
  --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",
    "bio": {
      "en": "<p>Editor and writer focused on AI topics.</p>",
      "es": "<p>Editor y escritor enfocado en temas de IA.</p>"
    },
    "avatar": "https://cdn.example.com/avatars/john.jpg",
    "role": "Editor",
    "socials": {
      "website": "https://john.example.com",
      "twitter": "https://twitter.com/john"
    },
    "email": "john@example.com",
    "isActive": true
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required
Example:

"{{objectId}}"

Response

OK

The response is of type any.