Timeline event created using REST API is not displayed properley


timeline event on a contact not displaying correctly, I am sending the below payload

“name”: “Example event type”,
“headerTemplate”: “Registered for xxx”

I have created “name” and “headerTemnplate” properties under the time line event

I have also used these properies in the header and detail templates

what shows in the timeline is:

what am I doing wrong here?


Hey, looks like you are pretty close.

When defining your template the properties have to be defined with handlebars.

A handlebars expression is a {{, some contents, followed by a }}, you currently only have one set between your properties.

Change {name} to {{name}} and {headerTemplate} to {{headerTemplate}}

Hopefully that helps!

Adam Hass
Founder / CEO


Thanks Adam Hass, that works