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

# Get Public Archive

> Check whether your public newsletter archive is on and where it lives

Get your company's public newsletter archive settings. When the archive is on,
your published sent issues are listed at `https://sequenzy.com/lp/archive/{companyId}`,
newest first, 10 per page. Each one shows its subject, its date and its preview
text, or the start of the email when it has no preview text. The 30 newest
issues are also available as an RSS feed. Archive pages and the feed send
`X-Robots-Tag: noindex`.

Publish individual sent issues with
[Publish to Public Archive](https://docs.sequenzy.com/api-reference/campaigns/public-archive-publish.md).
Turn the archive on or off with
[Update Public Archive](https://docs.sequenzy.com/api-reference/public-archive/update.md).

Requires the `account:read` scope.

## Request

```bash theme={null}
curl "https://api.sequenzy.com/api/v1/public-archive" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Response fields

**publicArchive** `object`

The archive settings.

**publicArchive.enabled** `boolean`

Whether the archive is on. While it is off, every archive page returns 404.

**publicArchive.url** `string`

The archive home page at `https://sequenzy.com/lp/archive/{companyId}`. The
page only loads while `enabled` is `true`.

**publicArchive.rssUrl** `string`

The RSS feed of the 30 newest issues.

```json 200 theme={null}
{
  "success": true,
  "publicArchive": {
    "enabled": true,
    "url": "https://sequenzy.com/lp/archive/comp_abc123",
    "rssUrl": "https://sequenzy.com/lp/archive/comp_abc123/rss.xml"
  }
}
```

```json 200 (disabled) theme={null}
{
  "success": true,
  "publicArchive": {
    "enabled": false,
    "url": "https://sequenzy.com/lp/archive/comp_abc123",
    "rssUrl": "https://sequenzy.com/lp/archive/comp_abc123/rss.xml"
  }
}
```

```json 401 theme={null}
{
  "success": false,
  "error": "Unauthorized"
}
```

```json 403 theme={null}
{
  "success": false,
  "error": "API key is missing required scope: account:read"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.