Skip to content

Get an asset's image

GET
/mc4p/assets/{asset_id}/content
curl --request GET \
--url https://api.mintall.ai/api/v1/mc4p/assets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/content

Get the C2PA-signed image an asset certificate describes.

This is the contentUrl a certificate carries for an asset. It redirects to a short-lived download URL, so store the contentUrl, never the Location. Send Accept: application/json to get {"url": ...} instead.

An asset on a product that is not active returns 404, matching the identity-only certificate, which carries no contentUrl.

asset_id
required
Asset Id
string format: uuid

With Accept: application/json: the download URL, no redirect.

Media typeapplication/json
PlatformApiAssetContentResponse

The download URL the content route redirects to.

object
url
required
Url
string
Examplegenerated
{
"url": "example"
}

Redirect to the image; the Location expires.

Asset not found, not active, or it has no signed image.

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}

The image exists but a download URL could not be issued.