Custom Objects

get

Custom objects

Authorizations
X-API-KEYstringRequired
X-BUSINESS-IDstringRequired
X-USER-IDstringRequired
Query parameters
allow_relationsbooleanOptional
custom_onlybooleanOptional

Filter Custom Objects for the Client object (is_custom field)

Default: true
default_on_activitiesbooleanOptional
is_custombooleanOptional
namestringOptional
object_namestringOptional
object_typestring · enumOptional
  • pipeline - pipeline
  • standard - standard
Possible values:
orderingstring · enumOptional

Which field to use when ordering the results. Prepend with '-' for descending order.

Possible values:
pageintegerOptional

A page number within the paginated result set.

page_sizeintegerOptional

Number of results to return per page.

searchstringOptional

A search term.

Responses
chevron-right
200Success
application/json
countintegerRequiredExample: 123
nextstring · uri · nullableOptionalExample: http://api.example.org/accounts/?page=4
previousstring · uri · nullableOptionalExample: http://api.example.org/accounts/?page=2
errorsone ofOptionalExample: ["error message"]
nullOptional
or
string[]Optional
get
/api/custom-objects
200Success
get

Custom object with fields and categories

Authorizations
X-API-KEYstringRequired
X-BUSINESS-IDstringRequired
X-USER-IDstringRequired
Path parameters
object_pkstring · uuidRequired
Responses
chevron-right
200Success
application/json
idstring · uuidRead-onlyRequired
object_typestring · enumOptional
  • pipeline - pipeline
  • standard - standard
Possible values:
entity_namestring · max: 200Required
object_namestring · max: 200Required
has_commerce_databooleanOptionalDefault: false
default_on_activitiesbooleanRequired
namestringOptional
descriptionstring · max: 500 · nullableOptional
ai_descriptionstring · nullableRead-onlyRequired
is_custombooleanRead-onlyRequired
fetch_urlstringRead-onlyRequired
allow_relationsbooleanRead-onlyRequired
createdstring · date-timeRead-onlyRequired
entity_accessbooleanRead-onlyRequired
rollup_related_leadsourcesboolean · nullableOptional
quick_filtering_enabledboolean · nullableOptional
association_sourcestring · enumOptional
  • direct - Direct
  • related - Related
  • direct_and_related - Direct and Related
Possible values:
get
/api/custom-objects/{object_pk}/detail
200Success

List field options

get

Lists field options for single or multi-select fields, such as dynamic tags, checkboxes, dropdown, radio, etc

Authorizations
X-API-KEYstringRequired
X-BUSINESS-IDstringRequired
X-USER-IDstringRequired
Path parameters
field_pkstring · uuidRequired
object_pkstring · uuidRequired
Query parameters
include_entity_countbooleanOptional

Includes entity_count in response and makes the response paginated.

orderingstring · enumOptional

Which field to use when ordering the results. Prepend with '-' for descending order.

Possible values:
pageintegerOptional

A page number within the paginated result set.

page_sizeintegerOptional

Number of results to return per page.

searchstringOptional

A search term.

Responses
chevron-right
200Success
application/json
countintegerRequiredExample: 123
nextstring · uri · nullableOptionalExample: http://api.example.org/accounts/?page=4
previousstring · uri · nullableOptionalExample: http://api.example.org/accounts/?page=2
errorsone ofOptionalExample: ["error message"]
nullOptional
or
string[]Optional
get
/api/custom-objects/{object_pk}/fields/{field_pk}/options
200Success
post

Search fields

Authorizations
X-API-KEYstringRequired
X-BUSINESS-IDstringRequired
X-USER-IDstringRequired
Path parameters
object_pkstringRequired
Query parameters
categorystring · uuidOptional
field_typestring · enumOptional
  • checkbox - Checkbox
  • checkboxes - Checkboxes
  • choices - Choices
  • date - Date
  • datetime - Datetime
  • decimal - Decimal Number
  • dropdown - Dropdown
  • dynamictags - Dynamic Tags
  • email - Email
  • files - Files
  • integer - Whole Number
  • longtext - Long Text
  • money - Money
  • phonenumber - Phone Number
  • radio - Radio
  • rating - Rating
  • relationship - Relationship
  • selector - Selector
  • status - Status
  • team_selector - Team Selector
  • text - Text
  • timezone - Timezone
  • wysiwyg - Wysiwyg
  • yesnomaybe - Yes / No / Maybe Question
Possible values:
field_type__instring[]Optional

Multiple values may be separated by commas.

is_defaultbooleanOptional
numericbooleanOptional
orderingstring · enumOptional

Which field to use when ordering the results. Prepend with '-' for descending order.

Possible values:
searchstringOptional

A search term.

Body
idstring · uuidRequired
namestring · min: 1Required
categorystring · uuidRequired
display_namestring · min: 1Required
canonical_display_namestring · min: 1Required
is_defaultbooleanRequired
field_typestring · enumRequired
  • checkbox - Checkbox
  • checkboxes - Checkboxes
  • choices - Choices
  • date - Date
  • datetime - Datetime
  • decimal - Decimal Number
  • dropdown - Dropdown
  • dynamictags - Dynamic Tags
  • email - Email
  • files - Files
  • integer - Whole Number
  • longtext - Long Text
  • money - Money
  • phonenumber - Phone Number
  • radio - Radio
  • rating - Rating
  • relationship - Relationship
  • selector - Selector
  • status - Status
  • team_selector - Team Selector
  • text - Text
  • timezone - Timezone
  • wysiwyg - Wysiwyg
  • yesnomaybe - Yes / No / Maybe Question
Possible values:
is_requiredbooleanRequired
is_read_onlybooleanRequired
is_hiddenbooleanRequired
is_deletablebooleanRequired
is_hideablebooleanRequired
is_suppressedbooleanRequired
include_in_short_formstring · min: 1Required
allows_nullsbooleanRequired
allows_emptybooleanRequired
orderintegerRequired
descriptionstring · min: 1Required
description_visibilitystring · enumRequired
  • all - All Labels
  • create_only - Only on Create
  • settings_only - Only in Settings
Possible values:
allow_on_formsbooleanRequired
Responses
chevron-right
200Success
application/json
idstring · uuidRequired
namestringRequired
categorystring · uuidRequired
display_namestringRequired
canonical_display_namestringRequired
is_defaultbooleanRequired
field_typestring · enumRequired
  • checkbox - Checkbox
  • checkboxes - Checkboxes
  • choices - Choices
  • date - Date
  • datetime - Datetime
  • decimal - Decimal Number
  • dropdown - Dropdown
  • dynamictags - Dynamic Tags
  • email - Email
  • files - Files
  • integer - Whole Number
  • longtext - Long Text
  • money - Money
  • phonenumber - Phone Number
  • radio - Radio
  • rating - Rating
  • relationship - Relationship
  • selector - Selector
  • status - Status
  • team_selector - Team Selector
  • text - Text
  • timezone - Timezone
  • wysiwyg - Wysiwyg
  • yesnomaybe - Yes / No / Maybe Question
Possible values:
is_requiredbooleanRequired
is_read_onlybooleanRequired
is_hiddenbooleanRequired
is_deletablebooleanRequired
is_hideablebooleanRequired
is_suppressedbooleanRequired
include_in_short_formstringRequired
allows_nullsbooleanRequired
allows_emptybooleanRequired
orderintegerRequired
descriptionstringRequired
description_visibilitystring · enumRequired
  • all - All Labels
  • create_only - Only on Create
  • settings_only - Only in Settings
Possible values:
allow_on_formsbooleanRequired
post
/api/custom-objects/{object_pk}/fields/search
200Success
get

Get Custom object by ID

Authorizations
X-API-KEYstringRequired
X-BUSINESS-IDstringRequired
X-USER-IDstringRequired
Path parameters
idstring · uuidRequired

A UUID string identifying this Custom Object.

Query parameters
orderingstring · enumOptional

Which field to use when ordering the results. Prepend with '-' for descending order.

Possible values:
Responses
chevron-right
200Success
application/json
idstring · uuidRead-onlyRequired
object_typestring · enumRequired
  • pipeline - pipeline
  • standard - standard
Possible values:
entity_namestring · max: 200Required
object_namestring · max: 200Required
has_commerce_databooleanOptionalDefault: false
default_on_activitiesbooleanRequired
namestringOptional
descriptionstring · max: 500 · nullableOptional
ai_descriptionstring · nullableRead-onlyRequired
is_custombooleanRead-onlyRequired
fetch_urlstringRead-onlyRequired
allow_relationsbooleanRead-onlyRequired
number_of_recordsintegerRead-onlyRequired
createdstring · date-timeRead-onlyRequired
entity_accessbooleanRead-onlyRequired
rollup_related_leadsourcesboolean · nullableOptional
quick_filtering_enabledboolean · nullableOptional
association_sourcestring · enumOptional
  • direct - Direct
  • related - Related
  • direct_and_related - Direct and Related
Possible values:
track_entity_valuebooleanOptional
include_percentage_to_closebooleanOptional
use_ai_to_update_percentagebooleanOptional
ai_confidence_thresholdstring · decimalOptionalPattern: ^-?\d{0,1}(?:\.\d{0,2})?$
total_pipeline_valuenumber · doubleRead-onlyRequired
total_commerce_valuenumber · doubleRead-onlyRequired
allow_on_formsboolean · nullableOptional
entity_display_name_pattern_textstringOptional
entity_display_name_pattern_htmlstringOptional
entity_search_text_patternstringOptional
default_colorstringOptionalDefault: #085BEE
default_iconstringOptionalDefault: bars-light
get
/api/custom-objects/{id}
200Success
post

Search custom objects

Authorizations
X-API-KEYstringRequired
X-BUSINESS-IDstringRequired
X-USER-IDstringRequired
Query parameters
allow_relationsbooleanOptional
custom_onlybooleanOptional

Filter Custom Objects for the Client object (is_custom field)

Default: true
default_on_activitiesbooleanOptional
is_custombooleanOptional
namestringOptional
object_namestringOptional
object_typestring · enumOptional
  • pipeline - pipeline
  • standard - standard
Possible values:
orderingstring · enumOptional

Which field to use when ordering the results. Prepend with '-' for descending order.

Possible values:
pageintegerOptional

A page number within the paginated result set.

page_sizeintegerOptional

Number of results to return per page.

searchstringOptional

A search term.

Body
object_idsstring · uuid[]Optional
Responses
chevron-right
200Success
application/json
countintegerRequiredExample: 123
nextstring · uri · nullableOptionalExample: http://api.example.org/accounts/?page=4
previousstring · uri · nullableOptionalExample: http://api.example.org/accounts/?page=2
errorsone ofOptionalExample: ["error message"]
nullOptional
or
string[]Optional
post
/api/custom-objects/search
200Success

Last updated

Was this helpful?