cURL
curl --request POST \ --url https://app.miget.com/api/v1/buckets/{uuid}/objects/upload_url \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "key": "<string>", "size": 123, "content_type": "application/octet-stream" } '
Generates a presigned URL for uploading a file directly to S3.
Bearer token for authentication. Format: 'Bearer {token}'
Workspace ID (uses default workspace if not provided)
Generate upload URL
Object key (file path)
File size in bytes
File content type
Upload URL generated