/assets

Upload an image or canvas

Query Params
string

If set to true, returns the original asset without transformation

Body Params
string

The image to upload in base64 format string.

string

The canvas to upload as a stringified JSON. Ignored if image is provided.

string

The thumbnail for the canvas in base64 format string. Ignored if image is provided.

boolean

Toggles the hidden status of the asset.

collectionIds
array of strings

The IDs of the collections to add the asset to. If provided, the new asset will be added to the collections.

collectionIds
string
required

The original file name of the image (example: "low-res-image.jpg").

string

Specifies the parent asset Id for the asset.

Response

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