Skip to content

Add images to the release artwork pool

POST
/api/v1/releases/{id}/artwork-pool
const url = 'http://localhost:8891/api/v1/releases/9c3f1a2b-4d5e-4f60-8a71-2b3c4d5e6f70/artwork-pool';
const options = {
method: 'POST',
headers: {
'idempotency-key': '3f8a1c62-9d5e-4b7a-8f21-0c4e6b9d2a17',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: '{"images":[{"image_id":"5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e","filename":"band-photo.jpg","content_type":"image/jpeg","byte_size":24117248,"checksum_sha256":"8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8a0c"}]}'
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}

The release artwork pool holds images that belong to the release rather than to any product, so one upload can be reused: cropped again later, or used on another product or outside print. A batch, exactly as tracks: each image comes back with its own upload target — PUT the file to upload.url with upload.headers verbatim. No confirmation call: the object is detected on arrival, checked, and the image moves to ready with its pixel size, a preview and its original, or to failed with an error_code (artwork_unreadable for a file that is not an image, artwork_format_unsupported for one that is not a JPEG or PNG). An image whose window lapses before any file lands ends as upload_expired; create a new image for it. No webhook is sent for the pool: read its state from the listing. Repeating an image_id in a later request returns its existing upload target. Retry a 500 under the same Idempotency-Key until it answers 201. 404 on an unknown release, and on a release belonging to another organisation — which of the two it was is not disclosed; 409 on an Idempotency-Key reused for a different request, or on an image_id whose upload target was opened for a different file; 422 on an image_id repeated within one batch, on one belonging to another release, or on one whose file has already arrived. The body is strict: a key this operation does not define is a 400 naming it. Requires the catalogue:write scope. Full flow: see the minimal path guide.

id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
Example
9c3f1a2b-4d5e-4f60-8a71-2b3c4d5e6f70
idempotency-key
required
string
>= 1 characters
Example
3f8a1c62-9d5e-4b7a-8f21-0c4e6b9d2a17

Unique key for this write. Retrying with the same key replays the first response instead of creating a duplicate; reusing it for a different body is a 409. Keys are scoped to the operation, so the same key may also be sent to a different endpoint.

Media typeapplication/json
object
images
required
Array<object>
>= 1 items <= 40 items
object
image_id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
content_type
required
string
Allowed values: image/jpeg image/png
byte_size
required
integer
> 0 <= 300000000
filename
string
>= 1 characters <= 255 characters
checksum_sha256
required

Hex SHA-256 of the exact bytes you will PUT. Any other bytes are refused: by storage when upload.headers carries it as x-amz-checksum-sha256, otherwise by the ingest. Produce it with shasum -a 256 <file>.

string
/^[a-fA-F0-9]{64}$/
Example
{
"images": [
{
"image_id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e",
"filename": "band-photo.jpg",
"content_type": "image/jpeg",
"byte_size": 24117248,
"checksum_sha256": "8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8a0c"
}
]
}

Default Response

Media typeapplication/json
object
data
required
Array<object>
object
id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
status
required

Ingest lifecycle of a release artwork pool image. Only a ready image has a pixel size and a preview.

string
Allowed values: awaiting_upload processing ready failed upload_expired
width_px
required
Any of:
integer
> 0 <= 9007199254740991
height_px
required
Any of:
integer
> 0 <= 9007199254740991
preview
required
Any of:
object
url
required
string format: uri
expires_at
required
string format: date-time
original
required
Any of:
object
url
required
string format: uri
expires_at
required
string format: date-time
upload
required
Any of:
object
url
required
string format: uri
method
required
string
Allowed values: PUT
headers
required
object
key
additional properties
string
expires_at
required
string format: date-time
filename
required
string
checksum_sha256
required
string | null
error_code
required
string | null
error_detail
required
string | null
created_at
required
string format: date-time
Example
{
"data": [
{
"id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e",
"status": "awaiting_upload",
"width_px": null,
"height_px": null,
"preview": null,
"original": null,
"upload": {
"url": "https://uploads.staging.elasticstage.com/uploads/upl_7a1e…?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Signature=…",
"method": "PUT",
"headers": {
"Content-Type": "image/jpeg",
"x-amz-checksum-sha256": "igwuS22PCixOa40PKkxuigwuS22PCixOa40PKkxuigw="
},
"expires_at": "2026-07-29T23:00:00Z"
},
"filename": "band-photo.jpg",
"checksum_sha256": "8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8a0c",
"error_code": null,
"error_detail": null,
"created_at": "2026-07-29T10:31:02Z"
}
]
}

Default Response

Media typeapplication/json
object
statusCode
required
number
code
required
string
Allowed values: VALIDATION_ERROR UNAUTHORIZED FORBIDDEN NOT_FOUND CONFLICT IDEMPOTENCY_IN_FLIGHT EAN_REASSIGNED UNPROCESSABLE_ENTITY RATE_LIMITED SERVICE_UNAVAILABLE INTERNAL_ERROR
error
required
string
message
required
string
details
Array
Example
{
"code": "VALIDATION_ERROR"
}

Default Response

Media typeapplication/json
object
statusCode
required
number
code
required
string
Allowed values: VALIDATION_ERROR UNAUTHORIZED FORBIDDEN NOT_FOUND CONFLICT IDEMPOTENCY_IN_FLIGHT EAN_REASSIGNED UNPROCESSABLE_ENTITY RATE_LIMITED SERVICE_UNAVAILABLE INTERNAL_ERROR
error
required
string
message
required
string
details
Array
Example
{
"code": "VALIDATION_ERROR"
}

Default Response

Media typeapplication/json
object
statusCode
required
number
code
required
string
Allowed values: VALIDATION_ERROR UNAUTHORIZED FORBIDDEN NOT_FOUND CONFLICT IDEMPOTENCY_IN_FLIGHT EAN_REASSIGNED UNPROCESSABLE_ENTITY RATE_LIMITED SERVICE_UNAVAILABLE INTERNAL_ERROR
error
required
string
message
required
string
details
Array
Example
{
"code": "VALIDATION_ERROR"
}

Default Response

Media typeapplication/json
object
statusCode
required
number
code
required
string
Allowed values: VALIDATION_ERROR UNAUTHORIZED FORBIDDEN NOT_FOUND CONFLICT IDEMPOTENCY_IN_FLIGHT EAN_REASSIGNED UNPROCESSABLE_ENTITY RATE_LIMITED SERVICE_UNAVAILABLE INTERNAL_ERROR
error
required
string
message
required
string
details
Array
Example
{
"code": "VALIDATION_ERROR"
}

Default Response

Media typeapplication/json
object
statusCode
required
number
code
required
string
Allowed values: VALIDATION_ERROR UNAUTHORIZED FORBIDDEN NOT_FOUND CONFLICT IDEMPOTENCY_IN_FLIGHT EAN_REASSIGNED UNPROCESSABLE_ENTITY RATE_LIMITED SERVICE_UNAVAILABLE INTERNAL_ERROR
error
required
string
message
required
string
details
Array
Example
{
"code": "VALIDATION_ERROR"
}

Default Response

Media typeapplication/json
object
statusCode
required
number
code
required
string
Allowed values: VALIDATION_ERROR UNAUTHORIZED FORBIDDEN NOT_FOUND CONFLICT IDEMPOTENCY_IN_FLIGHT EAN_REASSIGNED UNPROCESSABLE_ENTITY RATE_LIMITED SERVICE_UNAVAILABLE INTERNAL_ERROR
error
required
string
message
required
string
details
Array
Example
{
"code": "VALIDATION_ERROR"
}

Default Response

Media typeapplication/json
object
statusCode
required
number
code
required
string
Allowed values: VALIDATION_ERROR UNAUTHORIZED FORBIDDEN NOT_FOUND CONFLICT IDEMPOTENCY_IN_FLIGHT EAN_REASSIGNED UNPROCESSABLE_ENTITY RATE_LIMITED SERVICE_UNAVAILABLE INTERNAL_ERROR
error
required
string
message
required
string
details
Array
Example
{
"code": "VALIDATION_ERROR"
}

Default Response

Media typeapplication/json
object
statusCode
required
number
code
required
string
Allowed values: VALIDATION_ERROR UNAUTHORIZED FORBIDDEN NOT_FOUND CONFLICT IDEMPOTENCY_IN_FLIGHT EAN_REASSIGNED UNPROCESSABLE_ENTITY RATE_LIMITED SERVICE_UNAVAILABLE INTERNAL_ERROR
error
required
string
message
required
string
details
Array
Example
{
"code": "VALIDATION_ERROR"
}

Default Response

Media typeapplication/json
object
statusCode
required
number
code
required
string
Allowed values: VALIDATION_ERROR UNAUTHORIZED FORBIDDEN NOT_FOUND CONFLICT IDEMPOTENCY_IN_FLIGHT EAN_REASSIGNED UNPROCESSABLE_ENTITY RATE_LIMITED SERVICE_UNAVAILABLE INTERNAL_ERROR
error
required
string
message
required
string
details
Array
Example
{
"code": "VALIDATION_ERROR"
}