Create custom field
Create a new custom field.
/ beta / workspaces / {workspaceId} / custom-fields
Authorization
Path parameters
-
The workspace in which a custom field should be created.
Body
application/json
-
The type of custom field. "text", "url", "date", "person", "multiPerson", "phone", "select", "multiSelect", "number", "email", "checkbox", and "relatedTo" are all valid options.
-
The name of the custom field.
- metadataobject
A configuration object used for advanced custom fields, like single-select, multi-select, checkboxes, and numbers.
- formatplain | formatted | percent
Used only for number type custom fields to specify how the value should be displayed.
- toggleboolean
Used for checkbox custom fields to specify whether the field is checked or not.
- optionsobject
Used for single and multi select custom fields. Each object is a valid option.
-
Response
200 - application/json - object
-
The ID of the custom field.
-
The type of custom field. "text", "url", "date", "person", "multiPerson", "phone", "select", "multiSelect", "number", "email", "checkbox", and "relatedTo" are all valid options.