Skip to content

Create Data Attribute Request

One of:
namestringrequired

The name of the data attribute.

Example:"My Data Attribute"
modelstringrequired

The model that the data attribute belongs to.

Enum:"contact""company"
Example:"contact"
descriptionstring

The readable description you see in the UI for the attribute.

Example:"My Data Attribute Description"
messenger_writableboolean

Can this attribute be updated by the Messenger

Example:false
data_typeany
Value:"options"
optionsArray of objectsrequired

Array of objects representing the options of the list, with value as the key and the option as the value. At least two options are required.

Example:
[ { "value": "1-10" }, { "value": "11-50" } ]
{ "data_type": "options", "options": [ {}, {} ] }