Skip to content

HubSpot: Timeline schemas

8 HubSpot schemas with complete fields and constraints.

← Timeline operations · All schemas

Batch insert events — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
inputsarrayRequired within parentAn array of AppEventOccurrence objects, each representing an individual app event occurrence to be included in the batch. This property is required.
inputs[]ModelEach itemExpand Send event data (single) — request body — body

Referenced models: Send event data (single) — request body — body

Batch insert events — response body

FieldTypePresenceDescription and constraints
$objectRoot
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 Batch insert events — response body — errors item
linksobjectOptionalA map of link names to associated URIs that provide additional information about the batch operation.
Additional keys: see wildcard field
links.*stringAdditional keys
numErrorsJSONOptional
numErrors (anyOf 1)integerAlternativeThe 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 AppEventOccurrence objects representing the results of the batch operation.
results[]ModelEach itemExpand Send event data (single) — 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: Send event data (single) — response body, Batch insert events — response body — errors item

Batch insert events — response body — errors item

FieldTypePresenceDescription and constraints
$objectRootYe olde error
categorystringRequired within parentThe category of the error.
contextobjectRequired within parentThe context of the error, potentially including occurrence information.
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
idstringOptionalThe error ID, if any.
linksobjectRequired within parentLinks to any helpful documentation.
Additional keys: see wildcard field
links.*stringAdditional keys
messagestringRequired within parentThe error message, if any.
statusstringRequired within parentThe resulting status of the batch operation.
subCategoryobjectOptionalSub category of the error, if any.

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

Batch insert events — response body — 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
contextobjectOptionalContext about the error condition
Additional keys: see wildcard field
context.*arrayAdditional keys
context.*[]stringEach item
instringOptionalThe name of the field or parameter in which the error was found.
messagestringRequired within parentA human readable message describing the error along with remediation steps where appropriate
subCategorystringOptionalA specific category that contains more specific detail about the error

Send event data (single) — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
domainstringOptionalThe domain associated with the event occurrence, represented as a string.
emailstringOptionalThe email address associated with the event occurrence, represented as a string.
eventTypeNamestringRequired within parentThe name of the event type, represented as a string.
extraDataobjectOptionalAn object containing additional data related to the event occurrence.
idstringRequired within parentThe unique identifier for this event occurrence, represented as a string.
objectIdstringOptionalThe unique identifier of the object related to the event, represented as a string.
objectTypeFullyQualifiedNamestringOptionalThe fully qualified name of the object type associated with the event, represented as a string.
propertiesobjectRequired within parentA map of custom property names to their values, represented as an object with string values.
Additional keys: see wildcard field
properties.*stringAdditional keys
timelineIFrameModelOptionalExpand Send event data (single) — request body — body timeline I Frame
timestampstringOptionalThe date and time when the event occurred, represented in ISO 8601 format.
Format: date-time
utkstringOptionalThe user token key (utk) associated with the event, represented as a string.

Referenced models: Send event data (single) — request body — body timeline I Frame

Send event data (single) — request body — body timeline I Frame

FieldTypePresenceDescription and constraints
$objectRoot
headerLabelstringRequired within parentThe label of the modal window that displays the iframe contents.
heightintegerRequired within parentThe height of the modal window in pixels.
Format: int32
linkLabelstringRequired within parentThe text displaying the link that will display the iframe.
urlstringRequired within parentThe URI of the iframe contents.
widthintegerRequired within parentThe width of the modal window in pixels.
Format: int32

Send event data (single) — response body

FieldTypePresenceDescription and constraints
$objectRoot
domainstringOptionalThe domain associated with the event occurrence, represented as a string.
emailstringOptionalThe email address associated with the event occurrence, represented as a string.
eventTypeNamestringRequired within parentThe name of the event type, represented as a string.
extraDataobjectOptionalAn object containing additional data related to the event occurrence.
idstringRequired within parentThe unique identifier for this event occurrence, represented as a string.
objectIdstringOptionalThe unique identifier of the object related to the event, represented as a string.
objectTypeFullyQualifiedNamestringOptionalThe fully qualified name of the object type associated with the event, represented as a string.
propertiesobjectRequired within parentA map of custom property names to their values, represented as an object with string values.
Additional keys: see wildcard field
properties.*stringAdditional keys
timelineIFrameModelOptionalExpand Send event data (single) — response body — timeline I Frame
timestampstringOptionalThe date and time when the event occurred, represented in ISO 8601 format.
Format: date-time
utkstringOptionalThe user token key (utk) associated with the event, represented as a string.

Referenced models: Send event data (single) — response body — timeline I Frame

Send event data (single) — response body — timeline I Frame

FieldTypePresenceDescription and constraints
$objectRoot
headerLabelstringRequired within parentThe label of the modal window that displays the iframe contents.
heightJSONRequired within parent
height (anyOf 1)integerAlternativeThe height of the modal window in pixels.
Format: int32
height (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
linkLabelstringRequired within parentThe text displaying the link that will display the iframe.
urlstringRequired within parentThe URI of the iframe contents.
widthJSONRequired within parent
width (anyOf 1)integerAlternativeThe width of the modal window in pixels.
Format: int32
width (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

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.