List documents
Returns all documents in the workspace, newest first. Paginated at 50 items per page by default.
GET
/api/v1/documentsAuthorization
documents:readapi key scoperequiredRequired scope when calling with an API key.
document:readsession capabilityoptionalRequired capability when calling with a signed-in session.
Query parameters
pagenumberoptionalPage number (1-based)
Example: 1
per_pagenumberoptionalItems per page, max 50
Example: 50
Request
curl -X GET "https://www.digitalstack360.com/api/v1/documents" \
-H "Authorization: Bearer $DS_API_KEY"Examples use a placeholder key from your environment. Store your key in $DS_API_KEY — never commit it.
Response
200 OK
{
"data": [
{
"document_id": "doc_abc123",
"title": "Q4 Solution Brief",
"document_type": "vsow",
"workflow_state": "in_review",
"is_frozen": false,
"created_at": "2026-01-10T12:00:00.000Z",
"updated_at": "2026-01-15T09:30:00.000Z"
}
],
"meta": {
"total": 1,
"page": 1,
"per_page": 50
}
}Errors
401
missing_authNo credentials provided
401
invalid_api_keyAPI key is invalid or revoked
403
scope_insufficientKey lacks documents:read scope