Skip to main content
POST
/
integrations
/
v1
/
{application-id}
/
timeline
/
event-types
Create a new timeline event type
curl --request POST \
  --url https://api.hubapi.com/integrations/v1/{application-id}/timeline/event-types
[
  {
    "name": "New Event Type",
    "applicationId": "123",
    "objectType": "CONTACT",
    "headerTemplate": "# Title for event {{id}}\\nThis is an event for {{objectType}}",
    "detailTemplate": "This event happened on {{#formatDate timestamp}}{{/formatDate}}"
  },
  {
    "id": 261,
    "name": "Test Event Type",
    "headerTemplate": "# Title for event {{id}}\\nThis is an event for {{objectType}}",
    "detailTemplate": "This event happened on {{#formatDate timestamp}}{{/formatDate}}",
    "applicationId": 123,
    "objectType": "CONTACT"
  }
]

Response

200 - application/json

Successful response - Get the details of a specific timeline event type by its id

The response is of type object.

Last modified on December 12, 2025