Create a company/deal attribute

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Request

Attribute creation data for a company/deal.

attributeTypeenumRequired

The type of attribute (must be one of the defined enums)

labelstringRequired

The label for the attribute (max 50 characters, cannot be empty)

objectTypeenumRequired

The type of object the attribute belongs to (prefilled with companies, mandatory)

Allowed values:
descriptionstringOptional
A description of the attribute
optionsLabelslist of stringsOptional

Options for multi-choice or single-select attributes

Response

Created new attribute
idstring
Unique ID of the created attribute

Errors