Custom Fields
Custom field definitions
Get all custom field definitions
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Query Parameters
entitystring"LEAD" | "CONTACT" | "ACCOUNT" | "OPPORTUNITY" | "PRODUCT" | "QUOTE"fieldTypestring"TEXT" | "TEXTAREA" | "NUMBER" | "CURRENCY" | "DATE" | "DATETIME" | "CHECKBOX" | "PICKLIST" | "MULTI_PICKLIST" | "EMAIL" | "PHONE" | "URL" | "LOOKUP"isActivebooleanCreate a new custom field definition
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Request Body
application/jsonRequirednamestringAPI name (auto-generated if not provided)
labelRequiredstringDisplay label
descriptionstringField description
entityRequiredstringEntity this field belongs to
"LEAD" | "CONTACT" | "ACCOUNT" | "OPPORTUNITY" | "PRODUCT" | "QUOTE"fieldTypeRequiredstringField type
"TEXT" | "TEXTAREA" | "NUMBER" | "CURRENCY" | "DATE" | "DATETIME" | "CHECKBOX" | "PICKLIST" | "MULTI_PICKLIST" | "EMAIL" | "PHONE" | "URL" | "LOOKUP"isRequiredbooleanIs field required
isUniquebooleanIs field value unique
defaultValuestringDefault value
picklistValuesarray<string>Picklist values for PICKLIST or MULTI_PICKLIST types
lookupEntitystringTarget entity for LOOKUP type
"LEAD" | "CONTACT" | "ACCOUNT" | "OPPORTUNITY" | "PRODUCT" | "QUOTE"precisionnumberDecimal precision for NUMBER/CURRENCY types
minValuenumberMinimum value for NUMBER/CURRENCY types
maxValuenumberMaximum value for NUMBER/CURRENCY types
maxLengthnumberMaximum length for TEXT types
patternstringRegex validation pattern
Get custom fields statistics
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Get a custom field definition by ID
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Path Parameters
idRequiredstringUpdate a custom field definition
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Request Body
application/jsonRequiredlabelstringDisplay label
descriptionstringField description
fieldTypestringField type (cannot be changed after creation)
"TEXT" | "TEXTAREA" | "NUMBER" | "CURRENCY" | "DATE" | "DATETIME" | "CHECKBOX" | "PICKLIST" | "MULTI_PICKLIST" | "EMAIL" | "PHONE" | "URL" | "LOOKUP"isRequiredbooleanIs field required
isUniquebooleanIs field value unique
isActivebooleanIs field active
defaultValuestringDefault value
picklistValuesobjectPicklist values
precisionnumberDecimal precision
minValuenumberMinimum value
maxValuenumberMaximum value
maxLengthnumberMaximum length
patternstringRegex validation pattern
Path Parameters
idRequiredstringDelete a custom field definition
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Path Parameters
idRequiredstringAdd a picklist value
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Path Parameters
idRequiredstringUpdate a picklist value
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Path Parameters
idRequiredstringvalueIdRequiredstringReorder picklist values
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Path Parameters
idRequiredstringSet a custom field value for a record
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Request Body
application/jsonRequiredfieldIdRequiredstringCustom field ID
entityTypeRequiredstringEntity type
"LEAD" | "CONTACT" | "ACCOUNT" | "OPPORTUNITY" | "PRODUCT" | "QUOTE"entityIdRequiredstringEntity record ID
valueRequiredobjectField value
Get all custom field values for a record
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Path Parameters
entityTypeRequiredstringentityIdRequiredstringDelete a custom field value
Authorization
AuthorizationRequiredBearer <token>Enter your JWT token
In: header
Path Parameters
fieldIdRequiredstringentityTypeRequiredstringentityIdRequiredstring