Events
Triggering Webhook Types
The following event types are associated with the Ticket event payload from Hubspot.Hubspot Ticket CreatedHubspot Ticket Properties UpdatedHubspot Ticket DeletedHubspot Ticket RestoredHubspot Ticket MergedHubspot Ticket Associations Updated
{
"archived": false,
"archived_at": "2024-07-04T10:32:12+00:00",
"associated_companies": [
{
"id": "39580875173",
"type": "contact_to_company"
}
],
"associated_contact_id": "123456",
"associated_contacts": [
{
"id": "39580875173",
"type": "contact_to_company"
}
],
"associated_deals": [
{
"id": "39580875173",
"type": "contact_to_company"
}
],
"created_at": "2024-07-04T10:32:12+00:00",
"id": "2970281109",
"pipeline_id": "123456",
"properties": {
"content": "Ticket description",
"createdate": "2024-07-16T10:41:02.266Z",
"hs_lastmodifieddate": "2024-07-16T14:27:29.505Z",
"hs_object_id": "2970281109",
"hs_pipeline": "0",
"hs_pipeline_stage": "1",
"subject": "My Subject"
},
"recently_updated_property_names": [
"subject",
"hs_pipeline_stage"
],
"updated_at": "2024-07-04T10:32:12+00:00"
}
{
"archived": "Whether the ticket was archived",
"archived_at": "When the ticket was archived",
"associated_companies": {
"id": "ID",
"type": "Type (label) of the association"
},
"associated_contact_id": "The ID of the associated contact, or the first associated contact if there are multiple",
"associated_contacts": {
"id": "ID",
"type": "Type (label) of the association"
},
"associated_deals": {
"id": "ID",
"type": "Type (label) of the association"
},
"created_at": "When the ticket was created",
"id": "ID",
"pipeline_id": "The ID of the pipeline the ticket is associated with",
"properties": {
"key": null,
"value": null
},
"recently_updated_property_names": "The properties that were updated for a webhook event triggering this event payload to be created",
"updated_at": "When the ticket was updated"
}
Payload Field Details
Event Payload
Hide fields
Hide fields
string
required
ID IDCEL
id
Example
"2970281109"
Map<string,string>
required
HI ID PII Ticket propertiesCEL
properties
Example
{
"content": "Ticket description",
"createdate": "2024-07-16T10:41:02.266Z",
"hs_lastmodifieddate": "2024-07-16T14:27:29.505Z",
"hs_object_id": "2970281109",
"hs_pipeline": "0",
"hs_pipeline_stage": "1",
"subject": "My Subject"
}
bool
required
Whether the ticket was archived
CEL
archived
Example
false
timing.v1.Timestamp
When the ticket was archived
CEL
archived_at
Example
"2024-07-04T10:32:12+00:00"
timing.v1.Timestamp
required
When the ticket was created
CEL
created_at
Example
"2024-07-04T10:32:12+00:00"
timing.v1.Timestamp
required
When the ticket was updated
CEL
updated_at
Example
"2024-07-04T10:32:12+00:00"
[]string
required
The properties that were updated for a webhook event triggering this event payload to be created
CEL
recently_updated_property_names
Example
[
"subject",
"hs_pipeline_stage"
]
string
required
The ID of the pipeline the ticket is associated with
CEL
pipeline_id
Example
"123456"
string
The ID of the associated contact, or the first associated contact if there are multiple
CEL
associated_contact_id
Example
"123456"
[]object
required
Associated contacts
CEL
associated_contacts
Example
[
{
"id": "39580875173",
"type": "contact_to_company"
}
]
[]string
required
Mapped array of: ID
CEL
associated_contacts.map(x, x.id)
Example
[
"39580875173"
]
[]string
required
Mapped array of: Type (label) of the association
CEL
associated_contacts.map(x, x.type)
Example
[
"contact_to_company"
]
[]object
required
Associated deals
CEL
associated_deals
Example
[
{
"id": "39580875173",
"type": "contact_to_company"
}
]
[]string
required
Mapped array of: ID
CEL
associated_deals.map(x, x.id)
Example
[
"39580875173"
]
[]string
required
Mapped array of: Type (label) of the association
CEL
associated_deals.map(x, x.type)
Example
[
"contact_to_company"
]
[]object
required
Associated companies
CEL
associated_companies
Example
[
{
"id": "39580875173",
"type": "contact_to_company"
}
]
[]string
required
Mapped array of: ID
CEL
associated_companies.map(x, x.id)
Example
[
"39580875173"
]
[]string
required
Mapped array of: Type (label) of the association
CEL
associated_companies.map(x, x.type)
Example
[
"contact_to_company"
]
