Storage

Omdaa API provides an integrated storage system (S3/MinIO) for saving and managing files. You can upload files and use them in messages.

Upload File

To upload a file to storage:

"function">curl "keyword">-X POST https://omdaa.com/api/v1/storage/upload \
  "keyword">-H "Authorization: Bearer YOUR_JWT_TOKEN" \
  "keyword">-F "file=@image.jpg" \
  "keyword">-F "folder=images"

Get File

To get a link to a saved file:

"function">curl "keyword">-X GET "https://omdaa.com/api/v1/storage/file class="keyword">-id" \
  "keyword">-H "Authorization: Bearer YOUR_JWT_TOKEN"

Features

Secure Storage

All files are stored securely with specific access permissions

S3 Compatible

Compatible with S3 standard and can be used with MinIO or AWS S3

Direct Links

Get direct links to saved files

File Management

Delete, update, and manage saved files