companies

Create Global Custom Field

post/companies/custom_field

Request body

namestring required
type'TEXT' | 'NUMBER' | 'DATE' | 'SINGLE_SELECT' | 'MULTI_SELECT' | 'PERSON' | 'WEBSITE' | 'CHECKBOX' | 'STATUS' | 'RECORD_REFERENCE' required

Response

Successful Response

{"stackTrail":"paths:/companies/custom_field:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

Changed in 3 of the 11 revisions of this API.46

    • removed EmailListCustomFieldValue from the default_value request property anyOf list

      request-property-any-of-removed

    • removed OwnerListCustomFieldMetadata from the metadata request property anyOf list

      request-property-any-of-removed

    • removed the enum value EMAIL of the request property type

      request-property-enum-value-removed

    • removed the enum value OWNER of the request property type

      request-property-enum-value-removed

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added EmailListCustomFieldValue to the default_value request property anyOf list

      request-property-any-of-added

    • added OwnerListCustomFieldMetadata to the metadata request property anyOf list

      request-property-any-of-added

    • added the new EMAIL enum value to the request property type

      request-property-enum-value-added

    • added the new OWNER enum value to the request property type

      request-property-enum-value-added

    • added the optional property detail/items/ctx to the response with the 422 status

      response-optional-property-added

    • added the optional property detail/items/input to the response with the 422 status

      response-optional-property-added

    This revision also has 24 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog