# Authors

> The public author profiles behind your bylines.

Authors are the public bylines on posts. Emails are never returned.

## List authors

```endpoint
GET /sites/{siteId}/authors
```

```bash
curl https://api.quillhive.com/api/public/v1/sites/YOUR_SITE_ID/authors
```

```json title="Response"
{
  "authors": [
    {
      "id": "clx123...",
      "slug": "minji-ahn",
      "name": "Minji Ahn",
      "bio": "Writes about sync and storage.",
      "avatar": "https://...",
      "website": "https://minji.dev",
      "twitter": "minjiahn",
      "linkedin": null
    }
  ]
}
```

## Get an author

```endpoint
GET /sites/{siteId}/authors/{slug}
```

Returns `{ "author": { ... } }` with the fields above, or `404` with `{ "author": null }`.

For an author's posts, call [List posts](/docs/api/posts#list-posts) with `?author=minji-ahn`. It returns posts that list the author, and posts they created when a post lists no authors.

## Authors who left

An author who has left the site keeps their name on their posts but has `"slug": null`, so there is no author page to link to. Check `slug` before building a link.
