Skip to main content

Upload a marketing asset (base64)

POST 

/v1/assets/upload

Upload a marketing asset from a base64 payload.

file_base64 and a filename with an extension are required; mime_type is guessed from the filename when you omit it, and category, description and tags are optional metadata you can filter on later. The bytes are written to your organization's configured storage integration and an asset record is created pointing at them.

A storage integration must be configured first — without one the upload fails rather than storing the file locally. Requires the assets:write scope.

Request

Responses

Successful Response