Skip to content

HubSpot: Partner clients schemas

34 HubSpot schemas with complete fields and constraints.

← Partner clients operations · All schemas

Batch archive objects — partner Clients batch Archive — request body — body

FieldTypePresenceDescription and constraints
$objectRootRepresents a batch input payload containing a list of simple public object IDs. This component is used when performing batch operations on multiple objects within HubSpot.
inputsarrayRequired within parentAn array of SimplePublicObjectId objects, each containing an ID string. This array is used to specify the IDs of the CRM objects involved in the batch operation.
inputs[]ModelEach itemExpand Archive a batch of contacts — request body — body inputs item

Referenced models: Archive a batch of contacts — request body — body inputs item

Batch create objects — partner Clients batch Create — request body — body

FieldTypePresenceDescription and constraints
$objectRootRepresents a batch input for creating multiple simple public objects in a single request. This component is used to streamline the process of adding new objects to a HubSpot account by allowing multiple entries to be created at once.
inputsarrayRequired within parentAn array of objects to be created, each defined by its properties and associations. Each item in the array is a SimplePublicObjectBatchInputForCreate object.
inputs[]ModelEach itemExpand Batch create objects — partner Clients batch Create — request body — body inputs item

Referenced models: Batch create objects — partner Clients batch Create — request body — body inputs item

Batch create objects — partner Clients batch Create — request body — body inputs item

FieldTypePresenceDescription and constraints
$objectRootAn input object that contains a collection of objects to be created together in a batch.
associationsarrayRequired within parentAn array of associations for the objects being created. Each association specifies a relationship between the new objects and existing objects in the CRM.
associations[]ModelEach itemExpand Create — partner Clients create — request body — body associations item
objectWriteTraceIdstringOptionalA string identifier used for tracing the write operation of the objects. This can be used for tracking and debugging purposes.
propertiesobjectRequired within parentAn object containing key-value pairs where each key is a property name and each value is the property's value. This defines the attributes of the CRM objects being created.
Additional keys: see wildcard field
properties.*stringAdditional keys

Referenced models: Create — partner Clients create — request body — body associations item

Batch create objects — partnerClients.batchCreate — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING errors item

FieldTypePresenceDescription and constraints
$objectRootRepresents a standard error response in the HubSpot API, providing detailed information about an error that occurred during an API request.
categorystringRequired within parentA string indicating the category of the error.
contextobjectRequired within parentAn object containing additional context about the error, with keys as context names and values as arrays of strings.
Additional keys: see wildcard field
context.*arrayAdditional keys
context.*[]stringEach item
errorsarrayRequired within parentAn array of ErrorDetail objects providing further information about the error.
errors[]ModelEach itemExpand Batch insert events — response body — errors item errors item
idstringOptionalA string that uniquely identifies the error instance.
linksobjectRequired within parentAn object mapping link names to associated URIs, which may contain documentation about the error or recommended remediation steps.
Additional keys: see wildcard field
links.*stringAdditional keys
messagestringRequired within parentA string containing a human-readable message describing the error.
statusstringRequired within parentA string representing the status of the error.
subCategoryobjectOptionalAn object providing more specific categorization of the error.

Referenced models: Batch insert events — response body — errors item errors item

Batch create objects — partnerClients.batchCreate — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING — Partner Clients Batch Response Simple Public Object

FieldTypePresenceDescription and constraints
$objectRootA public object batch response object
completedAtstringRequired within parentThe date and time when the batch operation was completed, in ISO 8601 format.
Format: date-time
linksobjectOptionalA map of link names to associated URIs, providing additional resources or documentation related to the batch operation.
Additional keys: see wildcard field
links.*stringAdditional keys
requestedAtstringOptionalThe date and time when the batch operation was requested, in ISO 8601 format.
Format: date-time
resultsarrayRequired within parentAn array of simple public objects that were processed in the batch operation.
results[]ModelEach itemExpand Create — partner Clients create — response body
startedAtstringRequired within parentThe date and time when the batch operation started, in ISO 8601 format.
Format: date-time
statusstringRequired within parentThe current status of the batch operation. Valid values include 'PENDING', 'PROCESSING', 'CANCELED', and 'COMPLETE'.
Known values: CANCELED, COMPLETE, PENDING, PROCESSING

Referenced models: Create — partner Clients create — response body

Batch create objects — partnerClients.batchCreate — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING — Partner Clients Batch Response Simple Public Object With Errors

FieldTypePresenceDescription and constraints
$objectRootRepresents the result of a batch operation on CRM objects, including the processing status, batch results, timestamps, and a list of any errors encountered during the operation.
completedAtstringRequired within parentThe date and time when the batch operation was completed, in ISO 8601 format.
Format: date-time
errorsarrayOptionalAn array of StandardError objects that describe any errors encountered during the batch operation.
errors[]ModelEach itemExpand Batch create objects — partnerClients.batchCreate — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING errors item
linksobjectOptionalA map of link names to associated URIs for additional information related to the batch operation.
Additional keys: see wildcard field
links.*stringAdditional keys
numErrorsJSONOptional
numErrors (anyOf 1)integerAlternativeThe total number of errors encountered during the batch operation.
Format: int32
numErrors (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
requestedAtstringOptionalThe date and time when the batch operation was requested, in ISO 8601 format.
Format: date-time
resultsarrayRequired within parentAn array of SimplePublicObject items that represent the successful results of the batch operation.
results[]ModelEach itemExpand Create — partner Clients create — response body
startedAtstringRequired within parentThe date and time when the batch operation started, in ISO 8601 format.
Format: date-time
statusstringRequired within parentThe current status of the batch operation. Valid values include 'PENDING', 'PROCESSING', 'CANCELED', and 'COMPLETE'.
Known values: CANCELED, COMPLETE, PENDING, PROCESSING

Referenced models: Create — partner Clients create — response body, Batch create objects — partnerClients.batchCreate — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING errors item

Batch upsert objects — partner Clients batch Upsert — request body — body

FieldTypePresenceDescription and constraints
$objectRootRepresents a batch input operation for upserting simple public objects in HubSpot. This component is used to process multiple upsert operations in a single request, improving efficiency and performance.
inputsarrayRequired within parentAn array of SimplePublicObjectBatchInputUpsert objects, each representing an object to be created or updated. This property is required.
inputs[]ModelEach itemExpand Batch upsert objects — partner Clients batch Upsert — request body — body inputs item

Referenced models: Batch upsert objects — partner Clients batch Upsert — request body — body inputs item

Batch upsert objects — partner Clients batch Upsert — request body — body inputs item

FieldTypePresenceDescription and constraints
$objectRootRepresents an object used in batch upsert operations, containing an object’s unique identifier, its properties, and optionally the unique property name and a write trace ID.
idstringRequired within parentA string representing the unique identifier of the CRM object. This is required for identifying the object in upsert operations.
idPropertystringOptionalA string representing the name of a property whose values are unique for this object type. This is used to identify the object uniquely by a property other than the default ID.
objectWriteTraceIdstringOptionalA string identifier used for tracing the write operation of the object. This is optional and can be used for debugging or tracking purposes.
propertiesobjectRequired within parentAn object containing key-value pairs where each key is a property name and each value is the property value. These properties define the attributes of the CRM object.
Additional keys: see wildcard field
properties.*stringAdditional keys

Batch upsert objects — partnerClients.batchUpsert — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING results item

FieldTypePresenceDescription and constraints
$objectRootRepresents a CRM object that has either been created or updated (upserted)
archivedbooleanRequired within parentA boolean indicating whether the object is archived.
archivedAtstringOptionalThe date and time when the object was archived, in ISO 8601 format.
Format: date-time
createdAtstringRequired within parentThe date and time when the object was created, in ISO 8601 format.
Format: date-time
idstringRequired within parentThe unique identifier for the object, represented as a string.
newbooleanRequired within parentA boolean indicating whether the object is newly created.
objectWriteTraceIdstringOptionalA string used to trace the write operations on the object.
propertiesobjectRequired within parentA map of property names to their values, where each value is a string.
Additional keys: see wildcard field
properties.*stringAdditional keys
propertiesWithHistoryobjectOptionalA map of property names to an array of values with timestamps, showing the history of changes for each property.
Additional keys: see wildcard field
propertiesWithHistory.*arrayAdditional keys
propertiesWithHistory.*[]ModelEach itemExpand Create — partner Clients create — response body — properties With History value item
updatedAtstringRequired within parentThe date and time when the object was last updated, in ISO 8601 format.
Format: date-time
urlstringOptionalA string representing the URL of the object.
warningsarrayOptionalAn array of warnings related to the object, each represented by a PublicObjectWarning.
warnings[]ModelEach itemExpand Read — projects get Project — response body — warnings item

Referenced models: Read — projects get Project — response body — warnings item, Create — partner Clients create — response body — properties With History value item

Batch upsert objects — partnerClients.batchUpsert — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING — Partner Clients Batch Response Simple Public Upsert Object

FieldTypePresenceDescription and constraints
$objectRootRepresents the result of a batch upsert operation, including the operation’s status, timestamps, and a list of successfully created or updated objects.
completedAtstringRequired within parentThe date and time when the batch operation was completed, in ISO 8601 format.
Format: date-time
linksobjectOptionalA map of link names to associated URIs, providing additional information or actions related to the batch operation.
Additional keys: see wildcard field
links.*stringAdditional keys
requestedAtstringOptionalThe date and time when the batch operation was requested, in ISO 8601 format.
Format: date-time
resultsarrayRequired within parentAn array of SimplePublicUpsertObject items representing the results of the upsert operation for each object in the batch.
results[]ModelEach itemExpand Batch upsert objects — partnerClients.batchUpsert — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING results item
startedAtstringRequired within parentThe date and time when the batch operation started, in ISO 8601 format.
Format: date-time
statusstringRequired within parentThe current status of the batch operation. Valid values include 'PENDING', 'PROCESSING', 'CANCELED', and 'COMPLETE'.
Known values: CANCELED, COMPLETE, PENDING, PROCESSING

Referenced models: Batch upsert objects — partnerClients.batchUpsert — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING results item

Batch upsert objects — partnerClients.batchUpsert — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING — Partner Clients Batch Response Simple Public Upsert Object With Errors

FieldTypePresenceDescription and constraints
$objectRootRepresents the response from a batch upsert operation, including the status, timestamps, successfully processed objects, and any errors that occurred during processing.
completedAtstringRequired within parentThe date and time when the batch operation was completed, in ISO 8601 format.
Format: date-time
errorsarrayOptionalAn array of errors encountered during the batch operation, each represented by a StandardError.
errors[]ModelEach itemExpand Batch create objects — partnerClients.batchCreate — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING errors item
linksobjectOptionalA map of link names to associated URIs, providing additional information or actions related to the batch operation.
Additional keys: see wildcard field
links.*stringAdditional keys
numErrorsJSONOptional
numErrors (anyOf 1)integerAlternativeThe total number of errors encountered during the batch operation.
Format: int32
numErrors (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
requestedAtstringOptionalThe date and time when the batch operation was requested, in ISO 8601 format.
Format: date-time
resultsarrayRequired within parentAn array of results from the batch upsert operation, each represented by a SimplePublicUpsertObject.
results[]ModelEach itemExpand Batch upsert objects — partnerClients.batchUpsert — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING results item
startedAtstringRequired within parentThe date and time when the batch operation started, in ISO 8601 format.
Format: date-time
statusstringRequired within parentThe current status of the batch operation. Valid values include 'PENDING', 'PROCESSING', 'CANCELED', and 'COMPLETE'.
Known values: CANCELED, COMPLETE, PENDING, PROCESSING

Referenced models: Batch upsert objects — partnerClients.batchUpsert — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING results item, Batch create objects — partnerClients.batchCreate — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING errors item

Create — partner Clients create — request body — body

FieldTypePresenceDescription and constraints
$objectRootIs the input object used to create a new CRM object, containing the properties to be set and optional associations to link the new record with other CRM objects.
associationsarrayRequired within parentAn array of associations to be created between this object and other objects. Each association is defined by a PublicAssociationsForObject schema.
associations[]ModelEach itemExpand Create — partner Clients create — request body — body associations item
propertiesobjectRequired within parentA map of property names to their values, representing the attributes of the CRM object to be created. Each property is a string.
Additional keys: see wildcard field
properties.*stringAdditional keys

Referenced models: Create — partner Clients create — request body — body associations item

Create — partner Clients create — request body — body associations item

FieldTypePresenceDescription and constraints
$objectRootRepresents the associations for a specific object in HubSpot, detailing the types of associations and the related objects involved.
toModelRequired within parentExpand Archive a batch of contacts — request body — body inputs item
typesarrayRequired within parentAn array of association specifications, each detailing the type of association between the objects. Each item in the array is defined by the 'AssociationSpec' schema.
types[]ModelEach itemExpand Create meeting — request body — body associations item types item

Referenced models: Archive a batch of contacts — request body — body inputs item, Create meeting — request body — body associations item types item

Create — partner Clients create — response body

FieldTypePresenceDescription and constraints
$objectRootA simple public object.
archivedbooleanRequired within parentA boolean indicating whether this object is archived.
archivedAtstringOptionalThe date and time when this object was archived, in ISO 8601 format.
Format: date-time
createdAtstringRequired within parentThe date and time when this object was created, in ISO 8601 format.
Format: date-time
idstringRequired within parentThe unique identifier for this object, represented as a string.
objectWriteTraceIdstringOptionalA string representing the trace ID for write operations on this object.
propertiesobjectRequired within parentA map of property names to their values, where each value is a string.
Additional keys: see wildcard field
properties.*stringAdditional keys
propertiesWithHistoryobjectOptionalA map of property names to their historical values, where each value is an array of objects containing the value and its timestamp.
Additional keys: see wildcard field
propertiesWithHistory.*arrayAdditional keys
propertiesWithHistory.*[]ModelEach itemExpand Create — partner Clients create — response body — properties With History value item
updatedAtstringRequired within parentThe date and time when this object was last updated, in ISO 8601 format.
Format: date-time
urlstringOptionalA string containing the URL associated with this object.
warningsarrayOptionalAn array of warnings related to this object, where each warning includes a category, message, and context.
warnings[]ModelEach itemExpand Read — projects get Project — response body — warnings item

Referenced models: Read — projects get Project — response body — warnings item, Create — partner Clients create — response body — properties With History value item

Create — partner Clients create — response body — properties With History value item

FieldTypePresenceDescription and constraints
$objectRootProperty model that includes timestamp.
sourceIdstringOptionalA string identifier for the specific source of the value.
sourceLabelstringOptionalA string label providing additional context about the source.
sourceTypestringRequired within parentA string indicating the type of source from which the value originated.
timestampstringRequired within parentThe date and time when the value was recorded, in ISO 8601 format.
Format: date-time
updatedByUserIdJSONOptional
updatedByUserId (anyOf 1)integerAlternativeAn integer representing the ID of the user who last updated the value.
Format: int32
updatedByUserId (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
valuestringRequired within parentA string representing the value associated with the timestamp.

GDPR Delete — partner Clients gdpr Delete — request body — body

FieldTypePresenceDescription and constraints
$objectRootAn input that contains the information required to process a public GDPR data deletion request.
idPropertystringOptionalAn optional string property used to specify a unique property name, such as 'email', to identify the object. If the specified property value is not found, it will be added to a blocklist to prevent future use.
objectIdstringRequired within parentThe unique identifier of the object to be deleted. This is a required string property.

List associations — partner Clients get Associations By To Object Type — response body

FieldTypePresenceDescription and constraints
$objectRootRepresents a paginated collection of objects that are associated with multiple labels, including the results and pagination details. This component is used when retrieving associated objects with specific labels in a forward-paging manner.
pagingModelOptionalExpand List — partner Clients get Partner Clients — response body — paging
resultsarrayRequired within parentAn array of objects, each representing an association with multiple labels. Each object contains details of the associated object and the labels applied to the association.
results[]ModelEach itemExpand List associations — partner Clients get Associations By To Object Type — response body — results item

Referenced models: List — partner Clients get Partner Clients — response body — paging, List associations — partner Clients get Associations By To Object Type — response body — results item

List associations — partner Clients get Associations By To Object Type — response body — results item

FieldTypePresenceDescription and constraints
$objectRootRepresents an object that is associated with multiple other objects, with optional context.
associationTypesarrayRequired within parentAn array of association specifications, each with a label. Each item in the array defines the type of association and includes additional metadata.
associationTypes[]ModelEach itemExpand List associations — partner Clients get Associations By To Object Type — response body — results item association Types item
toObjectIdstringRequired within parentThe unique identifier of the target object to which associations are made. It is a string.

Referenced models: List associations — partner Clients get Associations By To Object Type — response body — results item association Types item

List associations — partner Clients get Associations By To Object Type — response body — results item association Types item

FieldTypePresenceDescription and constraints
$objectRootDefines the type, direction, and details of the relationship between two CRM objects.
categorystringRequired within parentThe category of the association, indicating its origin. Valid values include 'HUBSPOT_DEFINED', 'USER_DEFINED', 'INTEGRATOR_DEFINED', and 'WORK'.
Known values: HUBSPOT_DEFINED, INTEGRATOR_DEFINED, USER_DEFINED, WORK
fromObjectTypeIdstringOptionalA string representing the object type ID of the source object in the association.
labelstringOptionalA string representing the label assigned to the association, providing a descriptive name for the relationship.
toObjectTypeIdstringOptionalA string representing the object type ID of the target object in the association.
typeIdJSONRequired within parent
typeId (anyOf 1)integerAlternativeAn integer representing the unique identifier for the association type.
Format: int32
typeId (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

List — partner Clients get Partner Clients — response body

FieldTypePresenceDescription and constraints
$objectRootRepresents a paginated collection response that includes simple public objects with their associations. This component is used to handle the results and pagination details when retrieving a list of objects from the API.
pagingModelOptionalExpand List — partner Clients get Partner Clients — response body — paging
resultsarrayRequired within parentAn array of SimplePublicObjectWithAssociations, each representing a CRM object along with its associated data.
results[]ModelEach itemExpand Read — partner Clients get Partner Client — response body

Referenced models: List — partner Clients get Partner Clients — response body — paging, Read — partner Clients get Partner Client — response body

List — partner Clients get Partner Clients — response body — paging

FieldTypePresenceDescription and constraints
$objectRootPaging information for forward-only pagination. Contains the next page reference when more results are available; omitted or empty on the last page.
nextModelOptionalExpand List — partner Clients get Partner Clients — response body — paging next

Referenced models: List — partner Clients get Partner Clients — response body — paging next

List — partner Clients get Partner Clients — response body — paging next

FieldTypePresenceDescription and constraints
$objectRootSpecifies the paging information needed to retrieve the next set of results in a paginated API response
afterstringRequired within parentA string token used as a cursor to indicate the position after the last item in the current page, allowing retrieval of the next set of results.
linkstringOptionalA string representing the URL link to the next page of results.

Read batch objects — partner Clients batch Get Partner Clients — request body — body

FieldTypePresenceDescription and constraints
$objectRootSpecifies the input for reading a batch of CRM objects, including arrays of object IDs, requested property names (with optional history), and an optional unique identifying property.
idPropertystringOptionalThe name of a property whose values are unique for this object.
inputsarrayRequired within parentAn array of SimplePublicObjectId objects, each representing an object to be read by its ID.
inputs[]ModelEach itemExpand Archive a batch of contacts — request body — body inputs item
propertiesarrayRequired within parentAn array of strings specifying the properties to be returned in the response. If any specified properties are not present on the requested objects, they will be ignored.
properties[]stringEach item
propertiesWithHistoryarrayRequired within parentAn array of strings specifying the properties to be returned along with their history of previous values. If any specified properties are not present on the requested objects, they will be ignored.
propertiesWithHistory[]stringEach item

Referenced models: Archive a batch of contacts — request body — body inputs item

Read — partner Clients get Partner Client — response body

FieldTypePresenceDescription and constraints
$objectRootRepresents a CRM object along with its properties, timestamps, and a set of associated object IDs grouped by association type.
archivedbooleanRequired within parentA boolean indicating whether this object is archived.
archivedAtstringOptionalThe date and time when this object was archived, in ISO 8601 format.
Format: date-time
associationsobjectOptionalA map of associated object types to their corresponding associated IDs.
Additional keys: see wildcard field
associations.*ModelAdditional keysExpand Read — partner Clients get Partner Client — response body — associations value
createdAtstringRequired within parentThe date and time when this object was created, in ISO 8601 format.
Format: date-time
idstringRequired within parentThe unique identifier for this CRM object.
objectWriteTraceIdstringOptionalA unique identifier for tracing the write operations on this object.
propertiesobjectRequired within parentA map of property names to their current values for this object.
Additional keys: see wildcard field
properties.*stringAdditional keys
propertiesWithHistoryobjectOptionalA map of property names to their values, including historical values with timestamps.
Additional keys: see wildcard field
propertiesWithHistory.*arrayAdditional keys
propertiesWithHistory.*[]ModelEach itemExpand Create — partner Clients create — response body — properties With History value item
updatedAtstringRequired within parentThe date and time when this object was last updated, in ISO 8601 format.
Format: date-time
urlstringOptionalThe URL for accessing this object.
warningsarrayOptionalA list of warnings related to this object, each containing a category, message, and context.
warnings[]ModelEach itemExpand Read — projects get Project — response body — warnings item

Referenced models: Read — partner Clients get Partner Client — response body — associations value, Read — projects get Project — response body — warnings item, Create — partner Clients create — response body — properties With History value item

Read — partner Clients get Partner Client — response body — associations value

FieldTypePresenceDescription and constraints
$objectRootRepresents a collection of associated IDs returned by an API request, including pagination details for navigating through the results.
pagingModelOptionalExpand Search — partner Clients search Partner Clients — response body — paging
resultsarrayRequired within parentAn array of associated IDs, each represented by an object that includes the ID and type of the association.
results[]ModelEach itemExpand Read — objects get Object — response body — associations value results item

Referenced models: Read — objects get Object — response body — associations value results item, Search — partner Clients search Partner Clients — response body — paging

Search — partner Clients search Partner Clients — request body — body

FieldTypePresenceDescription and constraints
$objectRootDescribes a search request
afterstringRequired within parentA string token used for pagination to retrieve results after a specific point. This is typically used to fetch the next set of results in a paginated response.
filterGroupsarrayRequired within parentAn array of filter groups used to narrow down the search results. Each filter group contains multiple filters that are applied together.
filterGroups[]ModelEach itemExpand Search — partner Clients search Partner Clients — request body — body filter Groups item
limitintegerRequired within parentAn integer indicating the maximum number of results to return. This helps control the size of the response.
Format: int32
propertiesarrayRequired within parentAn array of strings specifying which properties of the CRM objects should be included in the search results.
properties[]stringEach item
querystringOptionalA string representing a search query to match against object properties.
sortsarrayRequired within parentAn array of strings specifying the sorting order of the search results. Each string represents a property name followed by a direction (e.g., 'propertyName ASC' or 'propertyName DESC').
sorts[]stringEach item

Referenced models: Search — partner Clients search Partner Clients — request body — body filter Groups item

Search — partner Clients search Partner Clients — request body — body filter Groups item

FieldTypePresenceDescription and constraints
$objectRootRepresents a group of filters used to query data within HubSpot. This component is used to define criteria for filtering records in various API endpoints.
filtersarrayRequired within parentAn array of Filter objects that specify the conditions for the search query. Each filter defines a property, an operator, and a value to filter the objects by.
filters[]ModelEach itemExpand Search — partner Clients search Partner Clients — request body — body filter Groups item filters item

Referenced models: Search — partner Clients search Partner Clients — request body — body filter Groups item filters item

Search — partner Clients search Partner Clients — request body — body filter Groups item filters item

FieldTypePresenceDescription and constraints
$objectRootDefines a single condition for searching CRM objects, specifying the property to filter on, the operator to use (such as equals, greater than, or contains), and the value(s) to compare against.
highValuestringOptionalThe upper bound of a range when using range-based operators like 'BETWEEN'. It is a string and is used in conjunction with the 'value' property.
operatorstringRequired within parentThe operator that defines how the filter is applied. It is a string and can be one of several predefined values such as 'EQ', 'NEQ', 'LT', 'LTE', 'GT', 'GTE', 'BETWEEN', 'IN', 'NOT_IN', 'HAS_PROPERTY', 'NOT_HAS_PROPERTY', 'CONTAINS_TOKEN', or 'NOT_CONTAINS_TOKEN'.
One of: BETWEEN, CONTAINS_TOKEN, EQ, GT, GTE, HAS_PROPERTY, IN, LT, LTE, NEQ, NOT_CONTAINS_TOKEN, NOT_HAS_PROPERTY, NOT_IN
propertyNamestringRequired within parentThe name of the property to filter by. It is a string that identifies which property of the CRM object the filter will apply to.
valuestringOptionalThe value to compare the property against. It is a string and is used with operators that require a single comparison value.
valuesarrayOptionalAn array of strings representing multiple values to compare against the property. This is used with operators like 'IN' or 'NOT_IN' that require a list of potential matches.
values[]stringEach item

Search — partner Clients search Partner Clients — response body

FieldTypePresenceDescription and constraints
$objectRootRepresents a list of simple objects returned from an API request, along with the total count of objects available.
pagingModelOptionalExpand Search — partner Clients search Partner Clients — response body — paging
resultsarrayRequired within parentAn array of SimplePublicObject items, each representing a simple public object returned in the response.
results[]ModelEach itemExpand Create — partner Clients create — response body
totalJSONRequired within parent
total (anyOf 1)integerAlternativeThe number of available results
Format: int32
total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Search — partner Clients search Partner Clients — response body — paging, Create — partner Clients create — response body

Search — partner Clients search Partner Clients — response body — paging

FieldTypePresenceDescription and constraints
$objectRootRepresents the pagination information for navigating through a list of results in the API. It provides details on how to access the previous or next set of results.
nextModelOptionalExpand List — partner Clients get Partner Clients — response body — paging next
prevModelOptionalExpand Search — partner Clients search Partner Clients — response body — paging prev

Referenced models: List — partner Clients get Partner Clients — response body — paging next, Search — partner Clients search Partner Clients — response body — paging prev

Search — partner Clients search Partner Clients — response body — paging prev

FieldTypePresenceDescription and constraints
$objectRootspecifies the paging information needed to retrieve the previous set of results in a paginated API response
beforestringRequired within parentA string token used to retrieve the previous page of results.
linkstringOptionalA URL string that provides a link to the previous page of results.

Update batch objects — partner Clients batch Update — request body — body

FieldTypePresenceDescription and constraints
$objectRootRepresents a batch input component used to handle multiple simple public objects in a single API request. This component is typically used when performing batch operations to create, update, or delete multiple records simultaneously.
inputsarrayRequired within parentAn array of SimplePublicObjectBatchInput objects, each containing the properties and identifiers for a single CRM object to be updated.
inputs[]ModelEach itemExpand Update batch objects — partner Clients batch Update — request body — body inputs item

Referenced models: Update batch objects — partner Clients batch Update — request body — body inputs item

Update batch objects — partner Clients batch Update — request body — body inputs item

FieldTypePresenceDescription and constraints
$objectRootContains an array of CRM object records to be processed in a batch operation, each defined by their ID and properties.
idstringRequired within parentA string representing the unique identifier for the CRM object.
idPropertystringOptionalA string specifying the name of a property whose values are unique for this object type, used to identify the object.
objectWriteTraceIdstringOptionalA string used to trace the write operation for the object, useful for debugging and tracking changes.
propertiesobjectRequired within parentAn object containing key-value pairs representing the properties of the CRM object. Each key is a property name and each value is the property's value.
Additional keys: see wildcard field
properties.*stringAdditional keys

Update — partner Clients update Partner Client — request body — body

FieldTypePresenceDescription and constraints
$objectRootRepresents the input required to update a CRM object, containing an object with property names and their corresponding values.
propertiesobjectRequired within parentAn object containing key-value pairs where each key is the name of a property and the value is the property's value. Each property is represented as a string.
Additional keys: see wildcard field
properties.*stringAdditional keys

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.