Works with integration, agent and partner keys. Also available to embed sessions.
Lists the files uploaded or copied into this workspace for email content, newest first; query matches part of the name or the file name. Place one in a template by its url.
Query parameters
limitintegeroptional
How many items a page holds: 1 to 100, 20 by default.
min > 0 · max 100 · default 20
cursorstringoptional
Where the page starts: the previous page's meta.pagination.nextCursor. Omit it for the first page, and send the same filters with it.
1–2,048 characters
querystringoptional
Part of the name or the file name, ignoring case.
1–200 characters
Header parameters
Kirora-Workspacestringoptional
Partner keys only: the child workspace to act in, by the external id the partner gave it. Without it, a partner key acts in its own workspace. Any other key that sends it is refused with 403, and an unknown workspace is 404.
pattern ^[A-Za-z0-9._:-]{1,128}$
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
typestringrequired
The kind of file: image. More kinds, such as video, may be added: branch on type and keep the ones you do not know.
one of image
namestringrequired
The name the library shows.
filenamestringrequired
The file's name as uploaded or copied.
urlstringrequired
The file's public address, such as an image src.
uri
mimeTypestringrequired
The file's format.
one of image/png, image/jpeg, image/gif
sizeBytesintegerrequired
File size in bytes.
min > 0
widthintegerrequired
The file's width in px.
min > 0
heightintegerrequired
The file's height in px.
min > 0
createdAtstringrequired
date-time
We'd like to use Google Analytics cookies to understand how people use this site. You can accept or decline them. See our Cookie Policy.