Skip to main content
POST
/
upload
/
bulk
Upload multiple files
curl --request POST \
  --url https://nulldrop.xyz/api/v2/upload/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form isPublic=true
{
  "success": true,
  "data": {
    "total": 123,
    "successful": 123,
    "failed": 123,
    "results": [
      {
        "success": true,
        "data": {
          "id": "<string>",
          "filename": "<string>",
          "size": 123,
          "mimeType": "<string>",
          "downloadUrl": "<string>",
          "shareUrl": "<string>",
          "isPublic": true,
          "uploadedAt": "2023-11-07T05:31:56Z"
        }
      }
    ]
  },
  "_perf": 123
}

Authorizations

Authorization
string
header
required

API key authentication (format: nd_xxxxx)

Body

multipart/form-data
files
file[]
required

Array of files to upload (max 50)

isPublic
enum<string>
default:true

File visibility - applies to all files

Available options:
true,
false

Response

Files processed

success
boolean
data
object
_perf
integer

Request duration in milliseconds