Skip to main content
GET
/
files
/
{id}
Get file details
curl --request GET \
  --url https://nulldrop.xyz/api/v1/files/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "<string>",
    "filename": "<string>",
    "originalName": "<string>",
    "size": 123,
    "mimeType": "<string>",
    "downloadUrl": "<string>",
    "shareUrl": "<string>",
    "downloadCount": 123,
    "uploadedAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "expiresAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

File details

success
boolean
data
object