Marketing API
Assets

Create Asset

This API endpoint (POST) creates a link that you can use to upload a file to your Tamio Storage from your system. If the request succeeds, it will return an Asset Object. Each generated link has a lifespan of 15 seconds, so use this endpoint when you are ready to upload the file from your application. Permissions: assets.create

Body Parameters

filesize integer * The size of the file that you intend to upload in bytes. The maximum filesize is 1.5GB for files and 5MB for images.



filename string * The name of the file. Special characters and spaces are not allowed.



folder_id string The ID of the folder that you like this asset to be located in.



type string This attribute affects images. The possible values are public and private. The default value is private. Public images can be used on products, affiliate programs and Tamio Sites.

Please note that if you choose to make your asset public it will be availabe on the internet and distributed via the Tamio CDN. You can always make the asset public (Make Public) at a later stage.

Public assets generate thumbnails and have additional storage requirements that might affect the cost of your billing plan.