Skip to main content

Files - get file details

GET 

/api/v1/files/:fileId

Returns metadata and download URL for a single file.

Request​

Responses​

File details

Reference​

GET /api/v1/files/{fileId}

Returns metadata and download URL for a single file.

Parameters​

ParameterInTypeRequiredDescription
fileIdpathstringyesFile ID

Responses​

StatusDescription
200File details
404Not found

Example request​

curl -X GET "https://api.bitbybit.dev/api/v1/files/{fileId}" \
-H "x-api-key: YOUR_API_KEY"

Authentication: send your key in the x-api-key header. The full machine-readable specification is at openapi.json.