Skip to content

Create Image Folder

Tool name: create-email-editor-image-folder

Creates one folder in a KlickTipp account's image library and returns the folders of the library afterwards. The folder appears in the email editor's file manager, and pictures go into it by passing its path as "folder" to upload-email-editor-image-file or upload-email-editor-image-from-url. A path with slashes creates the levels above it as well. The name is cleaned the way a file name is -- letters, digits, dots, dashes and underscores survive, a space becomes a dash -- so read "changed" for the name it actually got. A folder that is already there is refused rather than merged into. Nothing is moved and no picture is touched.

Input schema

pathstring, [ 1 .. 250 ] charactersrequired

Name of the new folder, or a path for one inside another ("Kampagnen/Herbst"); letters, digits, dots, dashes and underscores survive, everything else becomes a dash

accountIdnull or integer, >= 1

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

Default:null
Input example
{ "path": "string", "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 }