File Upload

File upload operations for single and multiple files

Upload single file

post
/upload

Upload a single file to the server with validation and size limits

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
imagestring · binaryRequired

File to upload (JPEG, PNG, GIF, PDF)

Example: file.jpg
Responses
200

File uploaded successfully

application/json
post
/upload

Upload multiple files

post
/upload/multiple

Upload multiple files to the server with validation and size limits

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
filesstring · binary[]Required

Multiple files to upload (JPEG, PNG, GIF, PDF)

Example: ["file1.jpg","file2.png","document.pdf"]
Responses
200

Files uploaded successfully

application/json
post
/upload/multiple

Last updated