Generate a Permanent Asset URL
Contentstack allows you to generate a permanent URL for an asset, ensuring the URL remains unchanged, even if the asset is updated or replaced. This feature eliminates the need to manually update asset references in entries.
To generate a permanent URL for an asset, log in to your Contentstack account, and perform the following steps:
- Go to your stack and click the “Assets” icon in the left navigation panel. You can also use the shortcut key “A” (for both Windows OS and Mac OS users) to access the assets menu.
- Select the asset for which you want to generate a permanent URL.
- In the asset panel, click Generate permanent URL.
Warning: You can only generate the permanent URL and update asset details once. After this, the permanent URL cannot be changed.
- Enter a slug for the permanent URL. This slug will be part of the URL path and should describe the asset appropriately.
Note: The maximum length for the slug is 255 characters.
- Click Save to finalize and generate the permanent URL.
API Reference
To generate a permanent URL for assets and use the permanent URLs to fetch files via the API, refer to the following API requests:
More articles in "Create and Manage Assets"
About Assets
Learn more
Create/Upload Assets
Learn more
Edit an Asset
Learn more
Publish an Asset
Learn more
Unpublish an Asset
Learn more
Delete an Asset
Learn more
Filter Assets
Learn more
Additional Metadata Support for Assets
Learn more
Understanding Asset URL
Learn more
About Permanent Asset URLs
Learn more
Permanent Asset URL Limitations
Learn more
Asset Limitations
Learn more
Asset FAQs
Learn more
