Skip to main content

uploadFile

uploadFile

Query Parameters
key string
Header Parameters
x-immich-checksum string

sha1 checksum that can be used for duplicate detection before the file is uploaded

Request Body — REQUIRED

Asset Upload Information

assetData binary — REQUIRED
deviceAssetId string — REQUIRED
deviceId string — REQUIRED
duration string
fileCreatedAt date-time — REQUIRED
fileModifiedAt date-time — REQUIRED
isArchived boolean
isFavorite boolean
isOffline boolean
isVisible boolean
libraryId uuid
livePhotoData binary
sidecarData binary
Responses
201
Schema — OPTIONAL
duplicate boolean
id string