# List authors (/docs/api/cms/authors/listAuthors)

`GET https://api.tintage.com/v1/cms/projects/{projectId}/authors`

The project's author profiles, by slug: public fields only, never account data. A public key lists authors of published posts in `locale` only. Filter with `field[operator]=value`, for example `slug[eq]=blog`. Fields: slug, name. Operators: eq, in, gt, gte, lt, lte, startsWith, exists; which ones a field takes depends on its type. A filter or sort the database cannot answer quickly is refused with `query_not_supported` and a hint.

Parameters:
- `projectId` (path, required)
- `limit` (query): Items per page, 1 to 100. Defaults to 20.
- `cursor` (query): The `nextCursor` of the previous page.
- `sort` (query): Up to 2 fields, comma separated; a leading - sorts descending. Fields: slug, name.
- `locale` (query): Language tag of the row to read (`fr`, `fr-CA`). Defaults to the site's language.
- `include` (query): `count.posts` adds `count.posts`: published posts in `locale`.

Responses:
- 200: A page of authors.

  ```json
  {
    "data": [
      {
        "id": "string",
        "slug": "string",
        "name": "string",
        "bio": "string",
        "image": "string",
        "website": "string",
        "social": {
          "x": "string",
          "bluesky": "string",
          "mastodon": "string",
          "linkedin": "string",
          "instagram": "string",
          "github": "string",
          "youtube": "string"
        },
        "count": {
          "posts": 0
        }
      }
    ],
    "nextCursor": "string"
  }
  ```
- 400: The request is malformed: `invalid_input`, `unknown_parameter`, `invalid_cursor` or `unsupported_api_version`.

  ```json
  {
    "error": {
      "code": "invalid_input",
      "message": "string",
      "field": "string",
      "hint": "string",
      "issues": [
        {
          "field": "string",
          "message": "string",
          "hint": "string"
        }
      ]
    },
    "requestId": "string"
  }
  ```
- 401: Missing or invalid credential: `unauthorized`.

  ```json
  {
    "error": {
      "code": "invalid_input",
      "message": "string",
      "field": "string",
      "hint": "string",
      "issues": [
        {
          "field": "string",
          "message": "string",
          "hint": "string"
        }
      ]
    },
    "requestId": "string"
  }
  ```
- 403: The credential may not do this here: `forbidden`.

  ```json
  {
    "error": {
      "code": "invalid_input",
      "message": "string",
      "field": "string",
      "hint": "string",
      "issues": [
        {
          "field": "string",
          "message": "string",
          "hint": "string"
        }
      ]
    },
    "requestId": "string"
  }
  ```
- 404: No such item, or one this credential cannot see: `not_found`.

  ```json
  {
    "error": {
      "code": "invalid_input",
      "message": "string",
      "field": "string",
      "hint": "string",
      "issues": [
        {
          "field": "string",
          "message": "string",
          "hint": "string"
        }
      ]
    },
    "requestId": "string"
  }
  ```
- 422: `limit_exceeded`, `query_not_supported`, `query_timeout` or `idempotency_key_reused`.

  ```json
  {
    "error": {
      "code": "invalid_input",
      "message": "string",
      "field": "string",
      "hint": "string",
      "issues": [
        {
          "field": "string",
          "message": "string",
          "hint": "string"
        }
      ]
    },
    "requestId": "string"
  }
  ```
- 429: Too many requests: `rate_limited`, with `Retry-After`.

  ```json
  {
    "error": {
      "code": "invalid_input",
      "message": "string",
      "field": "string",
      "hint": "string",
      "issues": [
        {
          "field": "string",
          "message": "string",
          "hint": "string"
        }
      ]
    },
    "requestId": "string"
  }
  ```
- 500: Something failed on our side: `internal_error`.

  ```json
  {
    "error": {
      "code": "invalid_input",
      "message": "string",
      "field": "string",
      "hint": "string",
      "issues": [
        {
          "field": "string",
          "message": "string",
          "hint": "string"
        }
      ]
    },
    "requestId": "string"
  }
  ```
