Skip to content
Get started

Request

POST/assets/{assetId}/download

Request a link to download the given assetId in the given targetFormat

Path ParametersExpand Collapse
assetId: string
Body ParametersJSONExpand Collapse
targetFormat: optional "gif" or "heif" or "jpeg" or 10 more

The format to download the asset in

One of the following:
"gif"
"heif"
"jpeg"
"jpg"
"png"
"svg"
"webp"
"avif"
"tif"
"tiff"
"glb"
"fbx"
"obj"
ReturnsExpand Collapse
url: string

The signed URL to download the asset in the given format

Request

curl https://api.cloud.scenario.com/v1/assets/$ASSET_ID/download \
    -H 'Content-Type: application/json' \
    -u "$SCENARIO_SDK_API_KEY:SCENARIO_SDK_API_SECRET" \
    -d '{}'
{
  "url": "url"
}
Returns Examples
{
  "url": "url"
}