
# Read an author

Read one author by the ID [list authors](/api/authors/get-authors) returns, which is also the `authorId` a page is credited with.

```sh
GET https://sitepaste.com/api/v1/public/sites/{siteId}/authors/{authorId}
```

Requires the `content` scope.

## Usage

```bash
curl "https://sitepaste.com/api/v1/public/sites/default/authors/a7xkq3mz9r2t" \
  -H "Authorization: Bearer $TOKEN"
```

## Authorizations

| Header | Type | Required | Description |
|--------|------|----------|-------------|
| Authorization | string | Yes | Bearer token (`Authorization: Bearer sp_...`). Created in the dashboard under Account > Tokens. See [authentication](/api/authentication). |

## Response

The author record, in the shape [list authors](/api/authors/get-authors) returns each entry in.

400 when `{authorId}` is malformed; 404 when it is well formed but names no author on the site.