cURL
curl --request POST \ --url http://localhost:8091/api/upload \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file'
{ "data": { "url": "<string>", "filename": "<string>", "mimeType": "<string>", "size": 123 } }
Uploads a file using the legacy upload endpoint. Maximum file size is 20MB. Prefer the presigned upload flow for new integrations.
Session token obtained from /api/auth/login or /api/auth/register. Pass as: Authorization: Bearer
File to upload (max 20MB)
File uploaded
Show child attributes