v1

latestOpenAPI 3.1.02026-07-13305453.8 KB
Authors

Get author

Get a single author by ID or slug

get/v1/authors/{identifier}

Path parameters

identifierstring required

Author ID or slug

Example:john-doe

Author ID or slug

Response

The requested author

Example response

{
  "author": {
    "id": "cryitfjp3456lm06xfpzcgl0",
    "name": "John Doe",
    "image": "https://media.marblecms.com/avatar.jpg",
    "slug": "john-doe",
    "bio": "Technical writer and developer",
    "role": "Editor",
    "socials": [
      {
        "url": "https://twitter.com/johndoe",
        "platform": "twitter"
      }
    ],
    "count": {
      "posts": 12
    }
  }
}