Retrieve a document
Fetches a single document by its ID.
GET
/api/v1/documents/:idAuthorization
documents:readapi key scoperequiredRequired scope when calling with an API key.
document:readsession capabilityoptionalRequired capability when calling with a signed-in session.
Path parameters
idstringrequiredDocument ID
Example: doc_abc123
Request
curl -X GET "https://www.digitalstack360.com/api/v1/documents/doc_abc123" \
-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"
}
}Errors
401
missing_authNo credentials provided
401
invalid_api_keyAPI key is invalid or revoked
403
scope_insufficientKey lacks documents:read scope
404
not_foundDocument not found or not in your workspace