Get document access URL
Generate a time-limited SAS URL to download or view a document. Requires API key authentication.
Endpoint URL
https://api.neudociq.com/api/v1/documents/{document_id}/accessOverview
Generate a time-limited SAS URL to download or view a document. Requires API key authentication.
Purpose
Get document access URL
Use Case
This endpoint is read-only and should be safe to call repeatedly for the same resource identifier.
Authentication
- APIKeyHeader: API key in header (X-API-Key).
Header Example
X-API-Key: ndq_test_api_keyHeaders
No parameters.
Query Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| expiry_hours | integer | Optional | Number of hours the access URL should be valid (1-24 hours) | - |
Path Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| document_id | string | Required | Document ID from upload or parse endpoint | - |
Request Fields
No request body fields are defined for this endpoint.
Request Default
Copy-ready examples with real endpoint paths and authentication placeholders.
const url = "https://api.neudociq.com/api/v1/documents/{document_id}/access";
const response = await fetch(url, {
method: 'GET',
headers: {
'X-API-Key': 'ndq_test_api_key',
},
});
const data = await response.json();
console.log(data);Best Practices
- Validate required fields client-side before sending requests.
- Log request identifiers and HTTP status codes for supportability.
- Retry only when the operation is safe or your workflow is idempotent.