Resources

Get an asset file's 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.

get/v1/resources/{resourceId}/mint-assets/download-url

Path parameters

resourceIdstring required

Resource identifier (ULID).

Resource identifier (ULID).

Query parameters

assetIdstring required

Asset id from the library listing.

Asset id from the library listing.

formatstring required

A format from /mint-assets/files (e.g. glb).

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).

true answers a 302 redirect to the URL instead of the JSON body (the curl -L ergonomic).

Response

The download URL

urlstring required

Changes

Changed in 3 of the 22 revisions of this API.705

    • ●

      added the new IDENTITY_ALREADY_LINKED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_ALREADY_LINKED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_ALREADY_LINKED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_ALREADY_LINKED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_ALREADY_LINKED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_LINK_RATE_LIMITED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_LINK_RATE_LIMITED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_LINK_RATE_LIMITED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_LINK_RATE_LIMITED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_LINK_RATE_LIMITED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_LINK_REQUIRES_SESSION enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_LINK_REQUIRES_SESSION enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_LINK_REQUIRES_SESSION enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_LINK_REQUIRES_SESSION enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_LINK_REQUIRES_SESSION enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_LINK_STATE_INVALID enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_LINK_STATE_INVALID enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_LINK_STATE_INVALID enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_LINK_STATE_INVALID enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_LINK_STATE_INVALID enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_PROVIDER_UNAVAILABLE enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_PROVIDER_UNAVAILABLE enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_PROVIDER_UNAVAILABLE enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_PROVIDER_UNAVAILABLE enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_PROVIDER_UNAVAILABLE enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_PROVIDER_UNKNOWN enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_PROVIDER_UNKNOWN enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_PROVIDER_UNKNOWN enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_PROVIDER_UNKNOWN enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_PROVIDER_UNKNOWN enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_REQUIRED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_REQUIRED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_REQUIRED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_REQUIRED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_REQUIRED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_USER_ALREADY_LINKED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_USER_ALREADY_LINKED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_USER_ALREADY_LINKED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_USER_ALREADY_LINKED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_USER_ALREADY_LINKED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_VERIFICATION_FAILED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_VERIFICATION_FAILED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_VERIFICATION_FAILED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_VERIFICATION_FAILED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new IDENTITY_VERIFICATION_FAILED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new INSUFFICIENT_SCOPE enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new INSUFFICIENT_SCOPE enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new INSUFFICIENT_SCOPE enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new INSUFFICIENT_SCOPE enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new INSUFFICIENT_SCOPE enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new PROMO_IDENTITY_REDEEMED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new PROMO_IDENTITY_REDEEMED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new PROMO_IDENTITY_REDEEMED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new PROMO_IDENTITY_REDEEMED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new PROMO_IDENTITY_REDEEMED enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new PROMO_REDEEM_REQUIRES_SESSION enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new PROMO_REDEEM_REQUIRES_SESSION enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new PROMO_REDEEM_REQUIRES_SESSION enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new PROMO_REDEEM_REQUIRES_SESSION enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new PROMO_REDEEM_REQUIRES_SESSION enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new WALLET_INSUFFICIENT_FUNDS enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new WALLET_INSUFFICIENT_FUNDS enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new WALLET_INSUFFICIENT_FUNDS enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new WALLET_INSUFFICIENT_FUNDS enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new WALLET_INSUFFICIENT_FUNDS enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new X402_UNBOUNDED_PRICE enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new X402_UNBOUNDED_PRICE enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new X402_UNBOUNDED_PRICE enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new X402_UNBOUNDED_PRICE enum value to the response property for the response status

      response-property-enum-value-added

    • ●

      added the new X402_UNBOUNDED_PRICE enum value to the response property for the response status

      response-property-enum-value-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added