Albums

Add assets to albums

Send a list of asset IDs and album IDs to add each asset to each album.

put/albums/assets

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/albums/assets
  • Auth: one of:
    • HTTP bearer
    • API key in cookie immich_access_token
    • API key in header x-api-key

Request body

albumIdsstring[] required

Album IDs

assetIdsstring[] required

Asset IDs

Response

error'duplicate' | 'no_permission' | 'not_found' | 'unknown' | 'validation'

Error reason

successboolean required

Operation success

Changes

No recorded changes to this operation across all 50 revisions of this API.