curl --request GET \
--url https://api.hubapi.com/integrations/v1/{application-id}/timeline/event-types/{event-type-id}/properties[
{
"options": null,
"propertyType": "Numeric",
"name": "NumericProperty",
"id": 1,
"label": "Numeric Property",
"eventTypeId": 260
},
{
"options": null,
"propertyType": "String",
"name": "StringProperty",
"id": 2,
"label": "String Property",
"eventTypeId": 260
},
{
"options": [],
"propertyType": "Enumeration",
"name": "NoOptionsProperty",
"id": 3,
"label": "No Options Property",
"eventTypeId": 260
},
{
"options": [
{
"propertyId": 4,
"label": "Some Label",
"value": "OptionValue"
}
],
"propertyType": "Enumeration",
"name": "EnumerationProperty",
"id": 4,
"label": "Enumeration Property",
"eventTypeId": 260
}
]Retrieve existing properties defined for a timeline event type. You can include these properties when sending event data to that event type, then use them in the event template for timeline display as well as list segmentation.
curl --request GET \
--url https://api.hubapi.com/integrations/v1/{application-id}/timeline/event-types/{event-type-id}/properties[
{
"options": null,
"propertyType": "Numeric",
"name": "NumericProperty",
"id": 1,
"label": "Numeric Property",
"eventTypeId": 260
},
{
"options": null,
"propertyType": "String",
"name": "StringProperty",
"id": 2,
"label": "String Property",
"eventTypeId": 260
},
{
"options": [],
"propertyType": "Enumeration",
"name": "NoOptionsProperty",
"id": 3,
"label": "No Options Property",
"eventTypeId": 260
},
{
"options": [
{
"propertyId": 4,
"label": "Some Label",
"value": "OptionValue"
}
],
"propertyType": "Enumeration",
"name": "EnumerationProperty",
"id": 4,
"label": "Enumeration Property",
"eventTypeId": 260
}
]Scope requirements
Successful response - Create a new property for a specified timeline event type
The response is of type object.