Records
List documents
The data room index: every stored document, its folder and the security or stakeholder it belongs to.
GET
https://capable.so/api/v1/documentsRequires an API key with the documents:read scope · How keys work
Response 200
Document metadata under data. Files themselves are downloaded in the app.
dataobject[]The documents.
›Show 8 attributesHide attributes
idstringUnique id.
namestringFile name.
folderstring | nullData room folder.
mimeTypestring | nullFile type, such as application/pdf.
sizenumber | nullSize in bytes.
securityIdstring | nullThe security it is attached to.
stakeholderIdstring | nullThe stakeholder it is attached to.
createdAttimestampWhen it was added, ISO 8601 in UTC.
Example
Request
curl https://capable.so/api/v1/documents \
-H "Authorization: Bearer $CAPABLE_API_KEY"Response · 200 OK
JSON
{
"data": [
{
"id": "doc_e1n4s7p2l9xa",
"name": "Stock Option Grant - Priya Raman - OPT-9.pdf",
"folder": "Equity plans",
"mimeType": "application/pdf",
"size": 184233,
"securityId": "sec_7tq0c2n5vz3d",
"stakeholderId": "stk_4m8q2xw7ka1p",
"createdAt": "2025-03-21T00:14:02.000Z"
}
]
}Errors
| Status | When |
|---|---|
| 401 Unauthorized | The key is missing, invalid or revoked, or its creator lost access. |
| 402 Payment required | The company has no active plan in good standing: its trial ended without one, a payment has failed for over 21 days, or its subscription is paused or has ended. |
| 403 Forbidden | The key does not have the documents:read scope. |
| 429 Too many requests | The key went over its rate limit. Wait for Retry-After seconds. |
Every error has the same shape. See Errors, limits and conventions.