POST /crm/attributes

Create a new custom attribute for companies or deals. The attribute label must be unique within the object type, cannot exceed 50 characters, and cannot use reserved names. For single-select or multi-choice attribute types, you must also provide the optionsLabels array.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
description String No

A description of the attribute

optionsLabels[] Array No

Options for multi-choice or single-select attributes

label String Yes

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

objectType String Yes

The type of object the attribute belongs to. Must be either companies or deals.

Valid values:

  • "deals"
  • "companies"
attributeType String Yes

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

Valid values:

  • "date"
  • "text"
  • "boolean"
  • "single-select"
  • "number"
  • "multi-choice"
  • "user"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.