Platform
Manage your account
Managing assets

Managing assets

Learn how to upload and manage assets for use in your notification templates.

Overview

#

Assets are files that you upload to Knock for use in your notification templates. You can upload images to be hosted by Knock and reference them via URL in your templates. This is useful for including logos, icons, and other visual elements in your notifications.

Account owners, admins, and members can manage assets from the Assets page in the Knock dashboard's settings.

Uploading assets

#

To upload a new asset:

  1. Navigate to Content > Assets in your dashboard sidebar.
  2. Click the "Upload image" button.
  3. Select an image file from your computer.

File requirements

#

Keep the following requirements in mind when uploading assets:

  • File size. Each image must be 2 MB or less.
  • File type. Currently, only image files are supported (e.g., PNG, JPEG, GIF, SVG).

You can upload as many images as you need to your Knock account.

Using assets in templates

#

Once you've uploaded an asset, you can copy its URL and use it in your notification templates. To copy the URL:

  1. Navigate to Content > Assets in the Knock dashboard.
  2. Find the asset you want to use.
  3. Click the copy button to copy the asset URL to your clipboard.

You can then paste this URL into your notification templates wherever you need to reference the image, such as in email templates or in-app notifications.

Deleting assets

#

To delete an asset:

  1. Navigate to Content > Assets in the Knock dashboard.
  2. Find the asset you want to delete.
  3. Click the delete button to remove the asset.

Frequently asked questions

#

Currently, only image files are supported. This includes common formats like PNG, JPEG, GIF, and SVG. In the future, we may support additional asset types.

There is no limit to the number of assets you can upload to your Knock account.

Each image file must be 2 MB or less.

Account owners, admins, and members can upload and manage assets.