Retrieve a document

Fetches a single document by its ID.

GET/api/v1/documents/:id

Authorization

documents:readapi key scoperequired
Required scope when calling with an API key.
document:readsession capabilityoptional
Required capability when calling with a signed-in session.

Path parameters

idstringrequired
Document 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_auth

No credentials provided

401
invalid_api_key

API key is invalid or revoked

403
scope_insufficient

Key lacks documents:read scope

404
not_found

Document not found or not in your workspace