Skip to main content
POST
https://api.usegately.com
/
api
/
v1
/
storage
curl -X POST "https://api.usegately.com/api/v1/storage" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@/path/to/image.png" \
  -F "folder=uploads"
{
  "success": true,
  "url": "https://storage.usegately.com/project_123/uploads/image.png",
  "path": "project_123/uploads/image.png"
}
Upload files to Gately storage for use in your application.

Request

Send a multipart form data request with the file.
file
file
required
The file to upload
folder
string
Folder path for organization

Response

success
boolean
Whether the upload was successful
url
string
Public URL of the uploaded file
path
string
Storage path of the file
curl -X POST "https://api.usegately.com/api/v1/storage" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@/path/to/image.png" \
  -F "folder=uploads"
{
  "success": true,
  "url": "https://storage.usegately.com/project_123/uploads/image.png",
  "path": "project_123/uploads/image.png"
}