# Include token datetime expiration in (POST session) response body

**URL:** <https://forums.knack.com/t/include-token-datetime-expiration-in-post-session-response-body/10599>\
**Category:** Feature Requests\
**Tags:** custom-code, api-integrations\
**Created:** [March 2, 2020, 1:44pm UTC](https://forums.knack.com/t/include-token-datetime-expiration-in-post-session-response-body/10599 "2020-03-02T13:44:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MichalCese42453](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/michalcese42453/32/276_2.png) [@MichalCese42453](https://forums.knack.com/u/MichalCese42453)\
**Post date:** [March 2, 2020, 1:44pm UTC](https://forums.knack.com/t/include-token-datetime-expiration-in-post-session-response-body/10599/1 "2020-03-02T13:44:48Z")

</div>

Please, add expiration datetime in the **response body** when using

_POST [https://api.knack.com/v1/applications/{ApplicationId}/session](https://api.knack.com/v1/applications/%7BApplicationId%7D/session)_

This would help everyone to refresh the token before the expiration date.

I am not the only one who needs this:  
[https://support.knack.com/hc/en-us/community/posts/360002163732-Determine-if-knack-user-token-has-expired](https://forums.knack.com/t/determine-if-knack-user-token-has-expired/9981)
