pm_create_custom_field
Create a custom field at workspace / space / list scope. scope=workspace ignores scopeName; scope=space takes a space name; scope=list takes a list name (first match in the workspace). For dropdown / labels (multi-select) types, pass options as an array of {value, color?, emoji?, orderIndex?}. Keep field names plain for column headers; set semantic emoji/color metadata for visual icons, using supported keys from pm_list_reference_data (custom-field-icon-options). Reuse suitable existing fields before creating another; color dropdown/label options consistently. CREATING A FIELD IS NOT ENOUGH TO MAKE IT VISIBLE: a custom field only shows up where it's added to a view's columns. After creating fields for a list, finish by creating/updating a view (pm_create_view / pm_update_view) whose columns include these fields, or the list keeps a defaults-only, empty-looking view. API-key scope: custom_fields:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Plain custom-field display name. Do not prefix names with emoji for icons. | |
| type | Yes | Field type — text, number, date, checkbox, dropdown, labels, url, email, phone, etc. | |
| color | No | Optional hex color code for the field icon | |
| emoji | No | Optional icon-picker key for the field icon. Query /v1/custom-field-icon-options for supported keys. Prefer semantically matching emojiNames when available (e.g. severity=fire, target=direct_hit, launch=rocket); use iconNames for structural/type icons. | |
| scope | Yes | ||
| 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. | |
| options | No | For dropdown/labels types only | |
| scopeName | No | Space or list name (omitted for workspace scope) | |
| 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. |