Motion Logo Motion API Documentation
Support
API Keys

Create Custom Field

Create a New Custom Field

POST beta / workspaces / {workspaceId} / custom-fields

Authorization

Authorization string required

Bearer authentication header of the form Bearer <token> where <token> is your auth token.

Path Parameters

workspaceId string required

The workspace in which a custom field should be created

Body

application/json

type string required

The type of custom field. "text", "url", "date", "person", "multiPerson", "phone", "select", "multiSelect", "number", "email", "checkbox", and "relatedTo" are all valid options

name string required

The name of the custom field

metadata object

A configuration object used for advanced custom fields, like single-select, multi-select, checkboxes, and numbers.

Response

200 - application/json - object

id string required

type string required

The type of custom field. "text", "url", "date", "person", "multiPerson", "phone", "select", "multiSelect", "number", "email", "checkbox", and "relatedTo" are all valid options

Was this page helpful?