Skip to main content
Upload an object to Antryk storage.
curl --request POST \
  --url https://storage.antryk.com/api/v1/objects \
  --header 'Content-Type: multipart/form-data' \
  --form 'bucket=upload-final-v1' \
  --form 'key=uploads/po.exe' \
  --form 'accessKey=IJS5WUGVCIYAADO0R6OS' \
  --form 'secretKey=ZIGOona+3009MPrj3OL0KfrWhGjbZAAfc1wDuDIS' \
  --form 'file=@y.mp4'

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.
file
file
required
The file to upload as multipart/form-data.

Examples

bucket
string
required
Example: upload-final-v1
key
string
required
Example: uploads/po.exe
accessKey
string
required
Example: IJS5WUGVCIYAADO0R6OS
secretKey
string
required
Example: ZIGOona+3009MPrj3OL0KfrWhGjbZAAfc1wDuDIS
file
file
required
Example: y.mp4

Response

Returns a JSON object with upload confirmation including the object key and metadata.
{
  "success": true,
  "key": "uploads/po.exe",
  "bucket": "upload-final-v1"
}