List Docs pages

gethttps://api.expiryedge.com/v1/getKnowledgeDocs
any member of an organization60/min
Anfrage
curl 'https://api.expiryedge.com/v1/getKnowledgeDocs?parentId=root&limit=100' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY"
Antwort
{
  "data": [
    {
      "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",
        "procedures"
      ],
      "parent_id": null,
      "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"
    }
  ]
}

Lists pages in the Docs (knowledge base) section, most recently updated first. Returns up to limit pages (default 100, max 500; larger values are clamped). No cursor.

Query-Parameter

  • statusstring
    Only drafts or only published pages.
    Erlaubtdraftpublished
  • parentIdstring
    Only direct sub-pages of this page. Use root for top-level pages only.
  • limitinteger
    Max pages to return, 1-500 (default 100).
    Standard 100min: 1 · max: 500

Rückgabe

200
Pages, newest updated first.
  • dataarray 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.
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.