---
title: "Get an asset file's download URL"
method: GET
path: "/v1/resources/{resourceId}/mint-assets/download-url"
tags: ["Resources"]
---

# Get an asset file's download URL

`GET /v1/resources/{resourceId}/mint-assets/download-url`

Returns `{ url }` — a freshly minted download URL for one file of one library asset; GET it to stream the bytes. The provider's URLs are short-lived and never stored, so call this each time you need one. Pass `redirect=true` for a 302 straight to the URL (`curl -L`). `format` must be one of the `format` values from `/mint-assets/files`.

## Path parameters

- `resourceId` string, required — Resource identifier (ULID).

## Query parameters

- `assetId` string, required — Asset id from the library listing.
- `format` string, required — A `format` from `/mint-assets/files` (e.g. `glb`).
- `redirect` 'true' — `true` answers a 302 redirect to the URL instead of the JSON body (the `curl -L` ergonomic).

## Response `200`

The download URL

- object
  - `url` string, required

## Other responses

- `302` — Redirect to the URL (`redirect=true`)
- `400` — Missing 'assetId' or 'format' query param
- `401` — Unauthorized — missing or invalid credentials
- `403` — Forbidden — caller has no workspace or no access
- `404` — Resource, asset or format not found
- `500` — Internal server error

## Changes

- **2026-09-25** `5abada71ceae` — 65 warning
  - added the new `IDENTITY_ALREADY_LINKED` enum value to the `errorCode` response property for the response status `400`
  - added the new `IDENTITY_ALREADY_LINKED` enum value to the `errorCode` response property for the response status `401`
  - added the new `IDENTITY_ALREADY_LINKED` enum value to the `errorCode` response property for the response status `403`
  - added the new `IDENTITY_ALREADY_LINKED` enum value to the `errorCode` response property for the response status `404`
  - …61 more
- **2026-09-23** `fadab791136c` — 5 warning
  - added the new `X402_UNBOUNDED_PRICE` enum value to the `errorCode` response property for the response status `400`
  - added the new `X402_UNBOUNDED_PRICE` enum value to the `errorCode` response property for the response status `401`
  - added the new `X402_UNBOUNDED_PRICE` enum value to the `errorCode` response property for the response status `403`
  - added the new `X402_UNBOUNDED_PRICE` enum value to the `errorCode` response property for the response status `404`
  - …1 more
- **2026-09-11** `9874d9e34fcf` — 5 info
  - added the optional property `errorCode` to the response with the `400` status
  - added the optional property `errorCode` to the response with the `401` status
  - added the optional property `errorCode` to the response with the `403` status
  - added the optional property `errorCode` to the response with the `404` status
  - …1 more

[Change history](https://skmtc.dev/monid/apis/monid-api/changes/v1/resources/:resourceId/mint-assets/download-url/get.md)

---

[API](https://skmtc.dev/monid/apis/monid-api.md) · [All operations](https://skmtc.dev/monid/apis/monid-api/llms.txt) · [OpenAPI document](https://skmtc.dev/monid/apis/monid-api/revisions/5abada71ceae?raw)
