Create Timeline Event


#1

Hi,

I am trying to create a timeline event.

My app id: 37226

PUT REQUEST
https://api.hubapi.com/integrations/v1/37226/timeline/event

{“id”:“1001998877”,“email”:“xxxx@xxxxx.com”,“eventTypeId”:“15613”}

The response is empty (StatusCode: 204), the new contact is created, but the timeline event doesn’t show up.

My Oauth2 request:

https://app.hubspot.com/oauth/authorize?client_id=xxxx&scopes=contacts%20timeline&redirect_uri=http://localhost:44320/Home/HubspotCallback


Timeline API Events not appearing on Contact
Timeline API event doesn't appear on UI
#2

Hi @jivago

If you’re getting a 204 response and the contact is being created, the most likely issue is that the events are being filtered out of the timeline view. You’ll need to click the Filter timeline button at the top of the timeline, and make sure that your integration is checked.

If you’re still not seeing the event after that, can you message me directly with a link to the contact record that should have the event?


#3

Hi @dadams!

Thank you for your help!

Here is my contact link: https://app.hubspot.com/contacts/31701/contact/2037989/

I don’t see any event there, maybe I am missing something.


#4

Ops, i deleted the other contact. Here is the new one:

https://app.hubspot.com/contacts/31701/contact/2042789/


#5

Timeline events will only appear in the newer contact view. You’ll can switch to the new view from the blue box you’ll see in the bottom right. Once you switch, you’ll want to check the timeline filter settings as I mentioned previously.


#6

Thank you! I will try it and let you know if it works!


#7

Hi @dadams ,

I was able to make the creation event works! Basically, I just had to create a custom property to the event type and use it in the header template. Without a custom property, it was not working (nevertheless, the webservice was not returning any kind of error)

Thank you!