Get one Docs page with its breadcrumb trail

gethttps://api.expiryedge.com/v1/getKnowledgeDoc
any member of an organization60/min
Anfrage
curl 'https://api.expiryedge.com/v1/getKnowledgeDoc?id=kd_7Hn2qLx' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY"
Antwort
{
  "doc": {
    "id": "kd_7Hn2qLx",
    "title": "How we renew our food hygiene certificate",
    "content": "<h2>Steps</h2><ol><li><p>Book the inspection 8 weeks before expiry</p></li></ol>",
    "emoji": "🧾",
    "tags": [
      "food-safety"
    ],
    "parent_id": "kd_1Proc",
    "status": "published",
    "organization_id": "org_northwind",
    "created_by": "u_71bXq",
    "created_by_name": "Priya Shah",
    "created_by_email": "priya@northwinddental.com",
    "created_at": "2026-09-27T14:05:00.000Z",
    "updated_by": "u_71bXq",
    "updated_by_name": "Priya Shah",
    "updated_at": "2026-09-27T14:12:00.000Z"
  },
  "breadcrumbs": [
    {
      "id": "kd_1Proc",
      "title": "Procedures",
      "emoji": "📚"
    }
  ]
}

breadcrumbs lists the page's ancestors from the top level down (the page itself is not included), at most 10 levels.

Query-Parameter

  • idstringerforderlich

Rückgabe

200
The page and its ancestors.
  • docobjecterforderlich
    A page in the Docs (knowledge base) section. Same record the web app creates.
  • breadcrumbsarray of objectserforderlich

Fehler

400
The request is missing required fields or contains invalid values.
401
Missing, expired or invalid bearer token.
403
Authenticated, but your role or organization does not allow this action.
404
The record does not exist or is not in your organization.
405
The endpoint does not accept this HTTP method.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.
500
Unexpected server error. Retry later; quote requestId to support.