crm

Create field

Create a CRM field or read-only campaign activity boolean column.

post/crm/objects/{objectName}/fields

Request

  • Base URL
    https://www.dench.com/api/v1
  • Auth
    • HTTP bearer
    • or HTTP bearer

Path parameters

objectNamestring required

Request body

namestring required
type'text' | 'email' | 'phone' | 'url' | 'number' | 'boolean' | 'date' | 'richtext' | 'file' | 'user' | 'enum' | 'relation' | 'tags' | 'action'

Defaults to boolean with calculation, otherwise text. Calculations require boolean.

requiredboolean
defaultValuestring
relatedObjectNamestring

Target object for relation fields.

relationshipType'many_to_one' | 'many_to_many'

Relation cardinality for a relation field.

enumValuesstring[]

Options for enum fields.

enumColorsstring[]

Hex colors aligned to enumValues.

enumMultipleboolean

Allow multi-select enum.

descriptionstring
indexedboolean

Index for filter/search/sort.

Response

Successful response

idstring required

Changes

No recorded changes to this operation across all 1 revision of this API.