Asset Type

Every asset has a type, such as email, template, block, cloud page, jpg image, or pdf document. The asset model parses, stores, and searches all assets in the same way, regardless of type, but the type is important to distinguish assets in queries and in the Content Builder UI.

Add an asset type to the asset as an object, using the assetType attribute. When creating an asset, only an assetType.id is required. If the assetType.name is omitted or does not match the ID, the API automatically sets the name.

Creating a webpage (AssetTypeID 205) does not create the asset in the CloudPages UI.

Sample Empty Asset