curl --request PUT \
--url https://api.hubapi.com/integrations/v1/{application-id}/timeline/event-types/{event-type-id}{
"name": "Renamed Event Type",
"applicationId": 86753,
"headerTemplate": "# Title for event {% raw %}{{appId}}{% endraw %}\nThis is an event for {% raw %}{{objectType}}{% endraw %}",
"detailTemplate": "This event happened on {% raw %}{{#formatDate timestamp}}{{/formatDate}}{% endraw %}",
"objectType": "CONTACT"
}Create a new event See the JSON examples for more details for including custom properties or extra data. Returns a 204 response on success. Otherwise, you’ll receive a 4xx error, with more details about the specific error in the body of the response.
curl --request PUT \
--url https://api.hubapi.com/integrations/v1/{application-id}/timeline/event-types/{event-type-id}{
"name": "Renamed Event Type",
"applicationId": 86753,
"headerTemplate": "# Title for event {% raw %}{{appId}}{% endraw %}\nThis is an event for {% raw %}{{objectType}}{% endraw %}",
"detailTemplate": "This event happened on {% raw %}{{#formatDate timestamp}}{{/formatDate}}{% endraw %}",
"objectType": "CONTACT"
}Scope requirements
No Content - The operation was successful
The response is of type object.