Download Contract
Returns a signed download URL for a contract’s original file. The URL expires in 1 hour.Request
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
contract_id | string | Yes | The contract ID |
Query Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | UUID | Yes | — | The project the contract belongs to |
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <token> — must be scoped to the requested project |
Response
| Field | Type | Description |
|---|---|---|
url | string | Pre-signed download URL |
fileName | string | Original file name |
fileType | string | MIME type of the file |
expiresIn | integer | URL expiration time in seconds |
Errors
| Status | Description |
|---|---|
400 | Missing or invalid projectId |
403 | Token is not scoped to the requested project |
404 | Contract not found |
429 | Rate limit exceeded |