Understanding Asset URL

The asset URL is auto-generated when you upload an asset file, and it follows a default pattern.

Understanding the Parameters in Asset URL

The default pattern of the Asset URL is as follows:

https://{base_url}/v3/assets/{stack_api_key}/{asset_uid}/{version_uid}/filename

Here's the breakdown of the Asset URL:

  • base_url: Depending on the asset uploaded, this can be either assets.contentstack.io (generic URL for assets) or images.contentstack.io (specific URL for images).
  • stack_api_key: The API Key of your stack.
  • asset_uid: The Unique ID of your asset file.
  • version_uid: The version ID of the asset file. Each version of your asset file has a unique version ID.

Was this article helpful?

Thanks for your feedbackSmile-icon

On This Page

top-arrow