List a Docs page's file attachments

gethttps://api.expiryedge.com/v1/getKnowledgeDocAttachments
any member of an organization60/min
Request
curl 'https://api.expiryedge.com/v1/getKnowledgeDocAttachments?id=kd_7Hn2qLx' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY"
Response
{
  "data": [
    {
      "id": "att_3Fq8",
      "doc_id": "kd_7Hn2qLx",
      "name": "food-hygiene-renewal-checklist.pdf",
      "size": 184022,
      "type": "application/pdf",
      "url": "https://firebasestorage.googleapis.com/v0/b/expiryedge.appspot.com/o/organizations%2Forg_northwind%2Fdocs%2Fkd_7Hn2qLx%2Fattachments%2F1790000000000_food-hygiene-renewal-checklist.pdf?alt=media&token=2b9c6f0e-7a1d-4c4e-9d3b-5f1a8e2c7b10",
      "storage_path": "organizations/org_northwind/docs/kd_7Hn2qLx/attachments/1790000000000_food-hygiene-renewal-checklist.pdf",
      "uploaded_at": "2026-09-27T14:20:00.000Z",
      "uploaded_by": "u_71bXq",
      "uploaded_by_name": "Priya Shah"
    }
  ]
}

Returns all attachments of the page, newest first (unbounded; pages rarely have more than a few dozen).

Query parameters

  • idstringrequired
    Page id.

Returns

200
Attachments, newest first.
  • dataarray of objectsrequired

Errors

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.