Create Folder
hudu_create_folderCreate a new folder in Hudu to group knowledge-base articles. Optionally nest it under a parent folder or assign it to a company.
Instructions
Create a new folder in Hudu. A folder groups knowledge-base articles. Folders nest through parent_folder_id, and a folder carrying a company_id belongs to that company rather than to the global knowledge base.
Returns the created record, including the id Hudu assigned. Hudu answers 422 with the offending field named when validation fails.
Operation class: Create.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | Icon shown on the folder. Hudu uses Font Awesome class names elsewhere in the API, e.g. "fas fa-folder"; the folder endpoint does not document the accepted values, so copy one from an existing folder via hudu_list_folders rather than inventing it. | |
| name | Yes | Name of the folder as it appears in the knowledge base. | |
| company_id | No | Numeric id of the company whose knowledge base owns this folder. Omit for a folder in the global knowledge base, visible across every company. | |
| description | No | Short explanation of what belongs in this folder, shown alongside its name. | |
| parent_folder_id | No | Numeric id of the folder to nest this one inside. Omit for a top-level folder. |