Create an Asset (Upload File)

Creates a new asset from a locally hosted file. Supported extensions: "doc", "pdf", "eps", "csv", "pptx", "xlsx", "docx", "ttf", "heic", "svg", "webp", "ics", "css", "html", "mp4", "mov", "bmp", "gif", "jpg", "png", "tif", "psd", "zip"

Required HeadersValue
Content-Typemultipart/form-data
Acceptapplication/json
AuthorizationBasic
Path Params
string
required

ZMP Site ID

Body Params
file
required

The asset being uploaded, the name of the asset in ZMP will be derived from the file name

string
required
Defaults to /

the destination path in ZMP, if root, use /

tags
array of strings

Add tags to categorize your content with the Asset Library.

tags
string

Set the access level for your asset. By default, this asset is public and can be used in marketing messages.

Headers
string
required
Defaults to multipart/form-data
Responses

Language
Credentials
Basic
base64
:
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json