Cadense

Download File

Download a file's content. Returns the raw file bytes with appropriate Content-Type, Content-Disposition, and Content-Length headers. File metadata is included in custom response headers: X-File-Id, X-File-Name, X-Uploaded-At.

GET
/api/v1/files/{fileId}
X-API-Key<token>

Your Cadense API key (personal or workspace). Generate one from the Cadense dashboard under Settings > API Keys.

In: header

Path Parameters

fileId*string

The unique identifier of the file.

Query Parameters

workspaceId*string

The unique identifier of the workspace.

Response Body

application/octet-stream

application/json

application/json

application/json

application/json

application/json

curl -X GET \  "https://cadense.io/api/v1/files/{fileId}?workspaceId=YOUR_WORKSPACE_ID" \  -H "X-API-Key: YOUR_API_KEY" \  -o downloaded-file.csv
"string"
On this page

On this page

No Headings