wiki_create_space
Create a new wiki space in the current workspace. key is the unique short identifier used in URLs and subsequent API calls — uppercase letters + digits only, 2-20 chars, must start with a letter (e.g. "DOCS", "ENG2"). name is the human display name. Defaults: isPublic: true (INTERNAL visibility — all workspace members can view), isEditPublic: false. NOTE: isPublic is internal workspace visibility ONLY; it does NOT publish the space to the public web — use wiki_set_public_settings for that. Requires workspace-level edit access. API-key scope: wiki:spaces:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Uppercase alphanumeric key, 2-20 chars, must start with a letter | |
| icon | No | Emoji name (e.g. "rocket") or "icon:<PhosphorName>" (e.g. "icon:BookOpen"). Valid names: GET /v1/custom-field-icon-options (emojiNames bare; iconNames with the "icon:" prefix). | |
| name | Yes | Display name, max 200 chars | |
| account | No | Multi-account auth only: name of the account from X-Dutify-Accounts to use for this call. Ignored in single-account mode (X-API-Key header). When multiple accounts are configured and this is omitted, the call fails with ACCOUNT_REQUIRED listing the available names. list_accounts never requires a selection. | |
| isPublic | No | INTERNAL visibility — all workspace members can view (default true). NOT public-web publishing; use wiki_set_public_settings to publish. | |
| iconColor | No | Icon color hex code (only for non-emoji icons) | |
| workspace | No | Workspace identifier or exact name for this call. Overrides the configured workspace. For personal keys, discover candidates with list_workspaces and select explicitly. Does not change other calls or expand a workspace key's access. | |
| description | No | Optional description, max 2000 chars | |
| isEditPublic | No | Editable by all workspace members (default false) |