Skip to content

List Image Folders

Tool name: list-email-editor-image-folders

Lists the folders of a KlickTipp account's image library -- the folders the email editor's file manager shows -- as paths relative to the library, e.g. "Logos" and "Kampagnen/Herbst". These are the values upload-email-editor-image-file and upload-email-editor-image-from-url take as "folder"; a library without folders keeps everything in its root, which is what omitting the field means. Does not list pictures -- that is list-email-editor-images, whose path field says which folder each one sits in. A very large tree is cut off and says so in "truncated".

Input schema

accountIdnull or integer, >= 1

User ID of the account; omit for the account the access token works in

Default:null
Input example
{ "accountId": null }

Output schema

accountIdintegerrequired
foldersArray of stringsrequired
folderCountintegerrequired
changedstring or nullrequired
truncatedbooleanrequired
Output example
{ "accountId": 0, "folders": [ "string" ], "folderCount": 0, "changed": "string", "truncated": true }