Skip to content

HubSpot: Objects schemas

34 HubSpot schemas with complete fields and constraints.

← Objects operations · All schemas

Batch archive objects — objects batch Delete Objects — 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 of a CRM object. This array is used to specify multiple objects for batch operations.
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 — objects batch Create Objects — 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 represented by a SimplePublicObjectBatchInputForCreate object.
inputs[]ModelEach itemExpand Batch create objects — objects batch Create Objects — request body — body inputs item

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

Batch create objects — objects batch Create Objects — 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 that define relationships between the CRM objects being created and other existing objects. Each association specifies the target object and the type of association.
associations[]ModelEach itemExpand Create — objects create Object — request body — body associations item
objectWriteTraceIdstringOptionalA string identifier used to trace the write operation for debugging or logging purposes.
propertiesobjectRequired within parentAn object containing key-value pairs where keys are property names and values are the corresponding property values for the CRM objects being created.
Additional keys: see wildcard field
properties.*stringAdditional keys

Referenced models: Create — objects create Object — request body — body associations item

Create — objects create Object — 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 that link the new CRM object to other existing objects. Each association specifies the related object and the type of relationship.
associations[]ModelEach itemExpand Create — objects create Object — request body — body associations item
propertiesobjectRequired within parentAn object containing key-value pairs where each key is a property name and each value is the property's value. These properties define the characteristics of the CRM object being created.
Additional keys: see wildcard field
properties.*stringAdditional keys

Referenced models: Create — objects create Object — request body — body associations item

Create — objects create Object — 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 a reference to the 'AssociationSpec' schema, which defines the category and type ID of the association.
types[]ModelEach itemExpand Create a contact — request body — body associations item types item

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

Create — objects create Object — 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 used to trace the write operations for this object.
propertiesobjectRequired within parentA map of property names to their corresponding values, where each value is a string.
Additional keys: see wildcard field
properties.*stringAdditional keys
propertiesWithHistoryobjectOptionalA map of property names to arrays of values with timestamps, showing the history of changes for each property.
Additional keys: see wildcard field
propertiesWithHistory.*arrayAdditional keys
propertiesWithHistory.*[]ModelEach itemExpand Read — objects get Object — 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 representing the URL associated with this object.
warningsarrayOptionalAn array of warnings related to this object, each containing a category, message, and context.
warnings[]ModelEach itemExpand Read — objects get Object — response body — warnings item

Referenced models: Read — objects get Object — response body — warnings item, Read — objects get Object — response body — properties With History value item

GDPR Delete — objects 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 that specifies the unique property name used to identify the object. For example, setting this to 'email' allows the object to be identified by email address.
objectIdstringRequired within parentThe unique identifier of the object to be deleted. This is a required field and must be a string.

List — objects get Objects — 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 — objects get Objects — response body — paging
resultsarrayRequired within parentAn array of SimplePublicObjectWithAssociations, each representing a CRM object with its properties and associated data.
results[]ModelEach itemExpand Read — objects get Object — response body

Referenced models: List — objects get Objects — response body — paging, Read — objects get Object — response body

List — objects get Objects — 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 — objects get Objects — response body — paging next

Referenced models: List — objects get Objects — response body — paging next

List — objects get Objects — 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 fetch the next set of results.
linkstringOptionalA URL string that provides a direct link to the next page of results.

Read batch objects — objects batch Get Objects — 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.
idPropertystringOptionalA string that specifies the name of a property whose values are unique for the object type, used to identify the objects.
inputsarrayRequired within parentAn array of SimplePublicObjectId objects, each containing an ID of an object to be read.
inputs[]ModelEach itemExpand Archive a batch of contacts — request body — body inputs item
propertiesarrayRequired within parentAn array of strings representing the properties to be returned in the response for each object.
properties[]stringEach item
propertiesWithHistoryarrayRequired within parentAn array of strings indicating the properties for which historical values should be returned, along with the current values.
propertiesWithHistory[]stringEach item

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

Read batch objects — objects.batchGetObjects — 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 categorizing the type of error.
contextobjectRequired within parentAn object containing additional context about the error, where each key is a context name and the value is an array of strings.
Additional keys: see wildcard field
context.*arrayAdditional keys
context.*[]stringEach item
errorsarrayRequired within parentAn array of ErrorDetail objects providing further details about the error.
errors[]ModelEach itemExpand Read batch objects — objects.batchGetObjects — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING errors item errors item
idstringOptionalA string representing the unique identifier for the error.
linksobjectRequired within parentAn object mapping link names to URIs that provide documentation or remediation steps related to the error.
Additional keys: see wildcard field
links.*stringAdditional keys
messagestringRequired within parentA string containing a human-readable message describing the error.
statusstringRequired within parentA string indicating the status of the error.
subCategoryobjectOptionalAn object providing more specific categorization of the error.

Referenced models: Read batch objects — objects.batchGetObjects — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING errors item errors item

Read batch objects — objects.batchGetObjects — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING errors item errors item

FieldTypePresenceDescription and constraints
$objectRootRepresents detailed information about an error that occurred in the API. This component is used to provide additional context and specifics about errors, typically as part of an error response.
codestringOptionalThe status code associated with the error detail. This is a string.
contextobjectOptionalContext about the error condition, represented as an object with additional properties that are arrays of strings.
Additional keys: see wildcard field
context.*arrayAdditional keys
context.*[]stringEach item
instringOptionalThe name of the field or parameter in which the error was found. This is a string.
messagestringRequired within parentA human readable message describing the error along with remediation steps where appropriate. This is a string.
subCategorystringOptionalA specific category that contains more specific detail about the error. This is a string.

Read batch objects — objects.batchGetObjects — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING — Objects 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 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 SimplePublicObject items that are the result of the batch operation.
results[]ModelEach itemExpand Create — objects create Object — 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 — objects create Object — response body

Read batch objects — objects.batchGetObjects — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING — Objects 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 detailing any errors that occurred during the batch operation.
errors[]ModelEach itemExpand Read batch objects — objects.batchGetObjects — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING errors item
linksobjectOptionalA map of link names to associated URIs related to the batch operation.
Additional keys: see wildcard field
links.*stringAdditional keys
numErrorsJSONOptional
numErrors (anyOf 1)integerAlternativeThe number of errors that occurred 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 were processed in the batch operation.
results[]ModelEach itemExpand Create — objects create Object — 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: Read batch objects — objects.batchGetObjects — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING errors item, Create — objects create Object — response body

Read — objects get Object — 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 respective associated IDs.
Additional keys: see wildcard field
associations.*ModelAdditional keysExpand Read — objects get Object — 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.
objectWriteTraceIdstringOptionalAn identifier used to trace the write operations for 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 along with a history of changes, including timestamps.
Additional keys: see wildcard field
propertiesWithHistory.*arrayAdditional keys
propertiesWithHistory.*[]ModelEach itemExpand Read — objects get Object — 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 link to access this object.
warningsarrayOptionalA list of warnings associated with this object, each containing a category, message, and context.
warnings[]ModelEach itemExpand Read — objects get Object — response body — warnings item

Referenced models: Read — objects get Object — response body — associations value, Read — objects get Object — response body — warnings item, Read — objects get Object — response body — properties With History value item

Read — objects get Object — 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 objects — objects search Objects — response body — paging
resultsarrayRequired within parentAn array of associated IDs, each represented by an AssociatedId object.
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 objects — objects search Objects — response body — paging

Read — objects get Object — response body — associations value results item

FieldTypePresenceDescription and constraints
$objectRootContains the id and type of an association
idstringRequired within parentThe unique identifier for the associated object. It is a string.
typestringRequired within parentThe type of the association, represented as a string.

Read — objects get Object — response body — properties With History value item

FieldTypePresenceDescription and constraints
$objectRootProperty model that includes timestamp.
sourceIdstringOptionalThe identifier of the source from which the value originated. This is a string.
sourceLabelstringOptionalA label describing the source of the value. This is a string.
sourceTypestringRequired within parentThe type of source from which the value originated. This is a string.
timestampstringRequired within parentThe date and time when the value was recorded, in ISO 8601 format.
Format: date-time
updatedByUserIdJSONOptional
updatedByUserId (anyOf 1)integerAlternativeThe user ID of the person who last updated the value. This is an integer.
Format: int32
updatedByUserId (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
valuestringRequired within parentThe value associated with the timestamp. It is represented as a string.

Read — objects get Object — response body — warnings item

FieldTypePresenceDescription and constraints
$objectRootRepresents a warning message related to a public object in HubSpot, providing details about the nature and context of the warning.
categorystringRequired within parentA string indicating the category of the warning.
contextobjectRequired within parentAn object providing additional context for the warning, with string values.
Additional keys: see wildcard field
context.*stringAdditional keys
messagestringRequired within parentA string containing the warning message.

Search objects — objects search Objects — request body — body

FieldTypePresenceDescription and constraints
$objectRootDescribes a search request
afterstringRequired within parentA string representing the paging cursor token to retrieve the next set of results.
filterGroupsarrayRequired within parentAn array of FilterGroup objects that specify the criteria for filtering the search results.
filterGroups[]ModelEach itemExpand Search objects — objects search Objects — request body — body filter Groups item
limitintegerRequired within parentAn integer indicating the maximum number of results to return.
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 the search query to be applied to the CRM objects.
sortsarrayRequired within parentAn array of strings that define the sorting order of the search results.
sorts[]stringEach item

Referenced models: Search objects — objects search Objects — request body — body filter Groups item

Search objects — objects search Objects — 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, each specifying a condition that objects must satisfy. Each filter includes properties such as the operator and propertyName to define the filtering logic.
filters[]ModelEach itemExpand Search objects — objects search Objects — request body — body filter Groups item filters item

Referenced models: Search objects — objects search Objects — request body — body filter Groups item filters item

Search objects — objects search Objects — 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.
highValuestringOptionalAn optional high value used in range queries. It is a string.
operatorstringRequired within parentThe operator used to compare the property value. It is a string and valid values include 'EQ', 'NEQ', 'LT', 'LTE', 'GT', 'GTE', 'BETWEEN', 'IN', 'NOT_IN', 'HAS_PROPERTY', 'NOT_HAS_PROPERTY', 'CONTAINS_TOKEN', and '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.
valuestringOptionalThe value to compare against the property specified. It is a string.
valuesarrayOptionalAn array of values used for operators that support multiple values such as 'IN'. Each item in the array is a string.
values[]stringEach item

Search objects — objects search Objects — 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 objects — objects search Objects — response body — paging
resultsarrayRequired within parentAn array of SimplePublicObject items, each representing an individual object in the collection.
results[]ModelEach itemExpand Create — objects create Object — response body
totalJSONRequired within parent
total (anyOf 1)integerAlternativeAn integer representing the total number of simple public objects available.
Format: int32
total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Search objects — objects search Objects — response body — paging, Create — objects create Object — response body

Search objects — objects search Objects — 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 — objects get Objects — response body — paging next
prevModelOptionalExpand Search objects — objects search Objects — response body — paging prev

Referenced models: List — objects get Objects — response body — paging next, Search objects — objects search Objects — response body — paging prev

Search objects — objects search Objects — 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 that indicates the position before the current page in the pagination sequence.
linkstringOptionalA string URL that provides a direct link to the previous page of results.

Update batch objects — objects batch Update Objects — 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 CRM object to be updated.
inputs[]ModelEach itemExpand Update batch objects — objects batch Update Objects — request body — body inputs item

Referenced models: Update batch objects — objects batch Update Objects — request body — body inputs item

Update batch objects — objects batch Update Objects — 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 of the CRM object.
idPropertystringOptionalA string representing the name of a property that holds unique values for this object type.
objectWriteTraceIdstringOptionalA string identifier used to trace the write operations for the object.
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 — objects update Object — 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 a property name and each value is the property's new value. All properties are expected to be strings.
Additional keys: see wildcard field
properties.*stringAdditional keys

Upsert batch objects — objects batch Upsert Objects — 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 is a required field.
inputs[]ModelEach itemExpand Upsert batch objects — objects batch Upsert Objects — request body — body inputs item

Referenced models: Upsert batch objects — objects batch Upsert Objects — request body — body inputs item

Upsert batch objects — objects batch Upsert Objects — 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 object to be upserted.
idPropertystringOptionalA string specifying the name of a property whose values are unique for this object type. This is used to identify objects uniquely.
objectWriteTraceIdstringOptionalA string used to trace the write operation for debugging or logging purposes.
propertiesobjectRequired within parentAn object containing key-value pairs where keys are property names and values are property values to be set on the CRM objects. Each property must be a string.
Additional keys: see wildcard field
properties.*stringAdditional keys

Upsert batch objects — objects.batchUpsertObjects — 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 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.
newbooleanRequired within parentA boolean indicating whether this object is newly created.
objectWriteTraceIdstringOptionalAn identifier for tracing the write operation of this object.
propertiesobjectRequired within parentA map of property names to their values for the object.
Additional keys: see wildcard field
properties.*stringAdditional keys
propertiesWithHistoryobjectOptionalA map of property names to their values, including a history of previous values.
Additional keys: see wildcard field
propertiesWithHistory.*arrayAdditional keys
propertiesWithHistory.*[]ModelEach itemExpand Read — objects get Object — 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 of the object.
warningsarrayOptionalAn array of warnings associated with the object, detailing any issues or considerations.
warnings[]ModelEach itemExpand Read — objects get Object — response body — warnings item

Referenced models: Read — objects get Object — response body — warnings item, Read — objects get Object — response body — properties With History value item

Upsert batch objects — objects.batchUpsertObjects — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING — Objects 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 objects representing the results of the batch upsert operation. Each object corresponds to a CRM object that was created or updated.
results[]ModelEach itemExpand Upsert batch objects — objects.batchUpsertObjects — 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: Upsert batch objects — objects.batchUpsertObjects — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING results item

Upsert batch objects — objects.batchUpsertObjects — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING — Objects 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 detailing the specific issue and context.
errors[]ModelEach itemExpand Read batch objects — objects.batchGetObjects — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING errors item
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
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 objects representing the results of the upsert operation for each object in the batch.
results[]ModelEach itemExpand Upsert batch objects — objects.batchUpsertObjects — 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: Read batch objects — objects.batchGetObjects — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING errors item, Upsert batch objects — objects.batchUpsertObjects — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING results item

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.