Creating legacy public apps and project-based apps is temporary unavailable for new HubSpot accounts.
Learn more in our Trust Center.
curl --request POST \
--url https://api.hubapi.com/integrations/v1/{application-id}/timeline/event/batch{
"eventWrappers": [
{
"id": "789",
"objectId": 27,
"eventTypeId": "123",
"timestamp": "1491062400000"
},
{
"id": "790",
"email": "test@test.com",
"eventTypeId": "123",
"timeprop": "1491105600000",
"extraData": {
"name": "JohnDoe",
"weather": "Cloudy"
}
}
]
}Update an existing property for a specified timeline event type. The id passed in the JSON body needs to match the id of an existing property or this will return a 404 error. Properties cannot be moved from one event type to another, so the eventTypeId included in the JSON body must match the event-type-id in the URL. Please note that the name cannot be updated.
curl --request POST \
--url https://api.hubapi.com/integrations/v1/{application-id}/timeline/event/batch{
"eventWrappers": [
{
"id": "789",
"objectId": 27,
"eventTypeId": "123",
"timestamp": "1491062400000"
},
{
"id": "790",
"email": "test@test.com",
"eventTypeId": "123",
"timeprop": "1491105600000",
"extraData": {
"name": "JohnDoe",
"weather": "Cloudy"
}
}
]
}Scope requirements
Successful response - Update an existing property for a specified timeline event type
The response is of type object.
Was this page helpful?