Skip to main content

uploadAsset

uploadAsset

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
isVisible boolean
livePhotoVideoId uuid
sidecarData binary
Responses
201
Schema OPTIONAL
id string
status string

Possible values: [created, replaced, duplicate]