Skip to main content
PUT
/
integrators
/
timeline
/
v3
/
{appId}
/
event-templates
/
{eventTemplateId}
Update an event template
curl --request PUT \
  --url 'https://api.hubapi.com/integrators/timeline/v3/{appId}/event-templates/{eventTemplateId}?hapikey=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "name": "<string>",
  "tokens": [
    {
      "label": "<string>",
      "name": "<string>",
      "options": [
        {
          "label": "<string>",
          "value": "<string>"
        }
      ],
      "type": "date",
      "createdAt": "2023-11-07T05:31:56Z",
      "objectPropertyName": "<string>",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "detailTemplate": "<string>",
  "headerTemplate": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "objectType": "<string>",
  "tokens": [
    {
      "label": "<string>",
      "name": "<string>",
      "options": [
        {
          "label": "<string>",
          "value": "<string>"
        }
      ],
      "type": "date",
      "createdAt": "2023-11-07T05:31:56Z",
      "objectPropertyName": "<string>",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "createdAt": "2023-11-07T05:31:56Z",
  "detailTemplate": "<string>",
  "headerTemplate": "<string>",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Supported products

Authorizations

hapikey
string
query
required

Path Parameters

appId
integer<int32>
required
eventTemplateId
string
required

Body

application/json
id
string
required

The template ID.

name
string
required

The template name.

tokens
object[]
required

A collection of tokens that can be used as custom properties on the event and to create fully fledged CRM objects.

detailTemplate
string

This uses Markdown syntax with Handlebars and event-specific data to render HTML on a timeline when you expand the details.

headerTemplate
string

This uses Markdown syntax with Handlebars and event-specific data to render HTML on a timeline as a header.

Response

successful operation

id
string
required

The template ID.

name
string
required

The template name.

objectType
string
required

The type of CRM object this template is for. [Contacts, companies, tickets, and deals] are supported.

tokens
object[]
required

A collection of tokens that can be used as custom properties on the event and to create fully fledged CRM objects.

createdAt
string<date-time>

The date and time that the Event Template was created, as an ISO 8601 timestamp. Will be null if the template was created before Feb 18th, 2020.

detailTemplate
string

This uses Markdown syntax with Handlebars and event-specific data to render HTML on a timeline when you expand the details.

headerTemplate
string

This uses Markdown syntax with Handlebars and event-specific data to render HTML on a timeline as a header.

updatedAt
string<date-time>

The date and time that the Event Template was last updated, as an ISO 8601 timestamp. Will be null if the template was created before Feb 18th, 2020.

Last modified on March 30, 2026