> ## Documentation Index
> Fetch the complete documentation index at: https://docs.marblecms.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get author

> Get a single author by ID or slug



## OpenAPI

````yaml https://api.marblecms.com/openapi.json get /v1/authors/{identifier}
openapi: 3.1.0
info:
  title: Marble API
  version: 1.0.0
  description: A headless CMS API for managing and delivering content programmatically.
servers:
  - url: https://api.marblecms.com
    description: Production
security:
  - apiKey: []
paths:
  /v1/authors/{identifier}:
    get:
      tags:
        - Authors
      summary: Get author
      description: Get a single author by ID or slug
      parameters:
        - schema:
            type: string
            example: john-doe
            description: Author ID or slug
          required: true
          description: Author ID or slug
          name: identifier
          in: path
      responses:
        '200':
          description: The requested author
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorResponse'
        '404':
          description: Author not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFound'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerError'
components:
  schemas:
    AuthorResponse:
      type: object
      properties:
        author:
          $ref: '#/components/schemas/Author'
      required:
        - author
    NotFound:
      type: object
      properties:
        error:
          type: string
          example: Post not found
        message:
          type: string
          example: The requested resource does not exist
      required:
        - error
        - message
    ServerError:
      type: object
      properties:
        error:
          type: string
          example: Internal server error
        message:
          type: string
          example: Failed to fetch resource
      required:
        - error
    Author:
      type: object
      properties:
        id:
          type: string
          example: cryitfjp3456lm06xfpzcgl0
        name:
          type: string
          example: John Doe
        image:
          type: string
          nullable: true
          example: https://media.marblecms.com/avatar.jpg
        slug:
          type: string
          example: john-doe
        bio:
          type: string
          nullable: true
          example: Technical writer and developer
        role:
          type: string
          nullable: true
          example: Editor
        socials:
          type: array
          items:
            $ref: '#/components/schemas/Social'
        count:
          type: object
          properties:
            posts:
              type: integer
              example: 12
          required:
            - posts
          description: Number of published posts by this author
      required:
        - id
        - name
        - image
        - slug
        - bio
        - role
        - socials
    Social:
      type: object
      properties:
        url:
          type: string
          format: uri
          example: https://twitter.com/johndoe
        platform:
          type: string
          example: twitter
      required:
        - url
        - platform
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization
      description: Your Marble API key

````