POST
/
integrations
/
v1
/
{application}
-id
/
timeline
/
event-types
/
{event}
-type-id
/
properties
Create Property for Timeline Event Type
curl --request POST \
  --url https://api.hubapi.com/integrations/v1/{application}-id/timeline/event-types/{event}-type-id/properties
"\nExample for creating a Numeric property:\n{\n  \"name\":\"NumericProperty\",\n  \"label\":\"Numeric Property\",\n  \"propertyType\":\"Numeric\"\n}\n\nThis example would update the company property of a \ncontact when the event is created\n(the objectType of the event type would need to be CONTACT)\n{\n  \"name\":\"company\",\n  \"propertyType\":\"String\",\n  \"label\":\"Company Name\",\n  \"objectProperty\":\"company\"\n}\n\nExample for an Enumeration property with options:\n{\n  \"name\":\"size\",\n  \"propertyType\":\"Enumeration\",\n  \"label\":\"size\",\n  \"options\":[\n    {\n      \"value\":\"large\",\n      \"label\":\"Large\"\n    },\n    {\n      \"value\":\"medium\",\n      \"label\":\"Medium\"\n    },\n    {\n      \"value\":\"small\",\n      \"label\":\"Small\"\n    }\n  ]\n}"

Response

200 - application/json

Successful response - Create or update a group of timeline events

The response is of type object.