Menu

List uploaded images

GET/v1/assets

Requires an API key with the templates:read scope. About keys and scopes

The images uploaded to this workspace for email content, newest first; q matches part of the file name. Place one in a template by its url.

Query parameters

limitintegeroptional

min > 0 · max 100 · default 20

cursorstringoptional

1–2048 characters

qstringoptional

Case-insensitive substring of the file name.

1–200 characters

Returns

Returns 200 OK with a list of Asset objects in data, and the next page's cursor in meta (see pagination). Otherwise returns an error; Errors lists every code and which to retry.

idstringrequired

uuid

filenamestringrequired
urlstringrequired

The public address to use as an image src.

uri

mimeTypestringrequired

The image format.

one of image/png, image/jpeg, image/gif

bytesintegerrequired

File size in bytes.

min > 0 · max 9007199254740991

widthintegerrequired

Width in px.

min > 0 · max 9007199254740991

heightintegerrequired

Height in px.

min > 0 · max 9007199254740991

createdAtstringrequired

date-time