# Timeline api integration

**URL:** <https://community.hubspot.com/t/timeline-api-integration/12536>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [January 8, 2019, 10:58am UTC](https://community.hubspot.com/t/timeline-api-integration/12536 "2019-01-08T10:58:38Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![cbarley](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbarley/32/82559_2.png) [@cbarley](https://community.hubspot.com/u/cbarley)\
**Post date:** [January 14, 2019, 3:46pm UTC](https://community.hubspot.com/t/timeline-api-integration/12536/21 "2019-01-14T15:46:18Z")

</div>

Hi @viswa46, you’d have to do this calculation externally. Using the [GET timeline event endpoint](https://developers.hubspot.com/docs/methods/timeline/get-event) is likely your best bet, so that you can then get the timestamp for that event and calculate the difference.

[Previous page](https://community.hubspot.com/t/timeline-api-integration/12536.md?page=1)
