Skip to main content
Download an object from Antryk storage.
curl --request GET \
  --url https://storage.apis.antryk.com/api/v1/objects \
  --header 'Content-Type: application/json' \
  --data '{
    "bucket": "upload-final-v1",
    "key": "YOUR_FILENAME",
    "accessKey": "YOUR_ACCESS_KEY",
    "secretKey": "YOUR_SECRET_KEY"
  }'
Send this request as raw JSON in the request body (Content-Type: application/json). Form data uploads are not supported for downloads.

Request Parameters

bucket
string
required
The name of the storage bucket.
key
string
required
The unique identifier or path of the object within the bucket.
accessKey
string
required
The access key for authentication.
secretKey
string
required
The secret key for authentication.

Examples

bucket
string
required
Example: upload-final-v1
key
string
required
Example: YOUR_FILENAME
accessKey
string
required
Example: YOUR_ACCESS_KEY
secretKey
string
required
Example: YOUR_SECRET_KEY

Response

Returns the file object with proper content type headers. The response will stream the file data directly.