# List broken help links (https://notert.io/docs/api/reference/list-broken-help-links)

`GET /api/v1/insights/help-broken-links`

The links in published help articles that lead to an article readers can no longer open, as one unpublished, deleted, made team-only or whose address changed past what it still answers at, a page at a time, in the help center's order.

Access: A token with help:read.

## Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | integer | No | How many to answer on the page, up to 100. 50 by default. 1 to 100. Default 50. |
| `cursor` | string | No | The nextCursor of the page before, to read on, sent with the same other parameters. At most 4096 characters. |

## Response 200

| Field | Type | Description |
| --- | --- | --- |
| `links` | object[] | The page's broken links, in the help center's order. |
| `links.article` | object | The published article the link is in. |
| `links.article.id` | string | The article's id. |
| `links.article.title` | string | The article's title. |
| `links.language` | string or null | The language of the published translation the link is in, or null for the article's own text. |
| `links.href` | string | The address as the article writes it, which reaches no article readers may open. |
| `nextCursor` | string or null | Where the next page starts, to send as cursor. Null on the last page. |

## Errors

| Status | Code | Message |
| --- | --- | --- |
| 400 | `BAD_REQUEST` | Input validation failed. |
| 401 | `UNAUTHORIZED` | Send a valid API token as a Bearer token. |
| 403 | `HOLDER_NOT_ALLOWED` | The teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings. |
| 403 | `INSUFFICIENT_SCOPE` | This API token can't read the help center. Create one that may in the workspace's settings. |
| 403 | `NETWORK_NOT_ALLOWED` | This API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings. |
| 429 | `TOO_MANY_REQUESTS` | Too Many Requests. Its data holds `retryAfter`. |

## Example request

```sh
curl "https://app.notert.io/api/v1/insights/help-broken-links?limit=50" \
  -H "Authorization: Bearer $NOTERT_API_TOKEN"
```

## Example response 200

```json
{
  "links": [
    {
      "article": {
        "id": "4b1c6e2a-9d3f-4a5b-8c7e-1f2a3b4c5d6e",
        "title": "Export your requests"
      },
      "language": null,
      "href": "https://feedback.example.com/help/articles/old-pricing"
    }
  ],
  "nextCursor": "WzUwXQ"
}
```
