- API reference
- Insights
List broken help links
GEThttps://app.notert.io/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.
A token with help:read. How to send one
Request
curl "https://app.notert.io/api/v1/insights/help-broken-links?limit=50" \
-H "Authorization: Bearer $NOTERT_API_TOKEN"Response 200
{
"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"
}Query parameters
limitintegerHow many to answer on the page, up to 100. 50 by default.
1 to 100. Default 50.
cursorstringThe nextCursor of the page before, to read on, sent with the same other parameters.
At most 4096 characters.
Response 200
linksobject[]The page's broken links, in the help center's order.
articleobjectThe published article the link is in.
idstringThe article's id.
titlestringThe article's title.
languagestring or nullThe language of the published translation the link is in, or null for the article's own text.
hrefstringThe address as the article writes it, which reaches no article readers may open.
nextCursorstring or nullWhere the next page starts, to send as cursor. Null on the last page.
Errors
- 400
BAD_REQUESTInput validation failed. - 401
UNAUTHORIZEDSend a valid API token as a Bearer token. - 403
HOLDER_NOT_ALLOWEDThe 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_SCOPEThis API token can't read the help center. Create one that may in the workspace's settings. - 403
NETWORK_NOT_ALLOWEDThis 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_REQUESTSToo Many Requests. Its data holdsretryAfter.
A refusal names its code beside a message. Rate limits says when to try again.