POST
/
integrations
/
v1
/
{application}
-id
/
timeline
/
event
/
batch
Create a group of timeline events
curl --request POST \
  --url https://api.hubapi.com/integrations/v1/{application}-id/timeline/event/batch
"\nThis example creates two events,\none for the existing contact with vid '27',\nand the other for the contact with the email address 'test@test.com'\n(creating a contact with that email if none exists).\nThe events are type '123' for app ID '6543'\n\nExample PUT URL:\nhttps://api.hubapi.com/integrations/v1/6543/timeline/event/batch\n\nExample JSON data:\n{\n  \"eventWrappers\": [\n    {\n      \"id\": \"789\",\n      \"objectId\": 27,\n      \"eventTypeId\": \"123\",\n      \"timestamp\": \"1491062400000\"\n    },\n    {\n      \"id\": \"790\",\n      \"email\":\"test@test.com\",\n      \"eventTypeId\": \"123\",\n      \"timeprop\": \"1491105600000\",\n      \"extraData\": {\n        \"name\": \"JohnDoe\",\n        \"weather\": \"Cloudy\"\n      }\n    }\n  ]\n}"
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.

Response

200 - application/json

Successful response - Update an existing property for a specified timeline event type

The response is of type object.