# Create Image Folder

Creates an email-editor image-library folder, including parent folders in a path. Names are sanitized and changed reports the stored name; an existing folder is refused. Does not move or change images.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "description": "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",
      "minLength": 1,
      "maxLength": 250
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account; omit for the account the access token works in",
      "default": null,
      "minimum": 1
    }
  },
  "required": [
    "path"
  ],
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "folders",
    "folderCount",
    "changed",
    "truncated"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "folders": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "folderCount": {
      "type": "integer"
    },
    "changed": {
      "type": [
        "string",
        "null"
      ]
    },
    "truncated": {
      "type": "boolean"
    }
  }
}
```

