Create Custom Field
create_custom_fieldCreates a new custom field using POST /custom_fields/add. Supports task, project, event, user and customer custom fields. Limitations: write operation; value_type and filter_object_class are required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| color | No | ||
| notes | No | ||
| base_url | No | Optional TrackingTime API base URL override, for example https://api.trackingtime.co/api/v4. | |
| cf_index | No | ||
| api_token | No | Alias of app_password | |
| account_id | No | TrackingTime workspace/account ID. Required when the user belongs to multiple workspaces. | |
| value_type | Yes | Custom field value type. text stores a plain string; number stores a numeric string/value; date stores an API date value such as YYYY-MM-DD or YYYY-MM-DD HH:mm:ss; boolean displays the custom field name when set; enum stores one selected enum option; list_single stores a JSON string object like {"item":"Option A"}; list_multiple stores a JSON string array like [{"item":"A"},{"item":"B"}]; currency stores a currency code such as USD or EUR. | |
| access_token | No | OAuth 2.0 bearer access token | |
| app_password | No | TrackingTime app password | |
| filter_object_class | Yes |