# Is there an API to get the user session timeout?

**URL:** <https://community.hubspot.com/t/is-there-an-api-to-get-the-user-session-timeout/106968>\
**Category:** APIs & Integrations\
**Tags:** oauth\
**Created:** [May 12, 2024, 8:51am UTC](https://community.hubspot.com/t/is-there-an-api-to-get-the-user-session-timeout/106968 "2024-05-12T08:51:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HHang0](https://avatars.discourse-cdn.com/v4/letter/h/8baadc/32.png) [@HHang0](https://community.hubspot.com/u/HHang0)\
**Post date:** [May 12, 2024, 8:51am UTC](https://community.hubspot.com/t/is-there-an-api-to-get-the-user-session-timeout/106968/1 "2024-05-12T08:51:27Z")

</div>

We can set the user session-timeout (duration) in the setting, is there a way to get it via API?

---

<div class="post-metadata">

**Author:** ![GRajput](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/grajput/32/102020_2.png) [@GRajput](https://community.hubspot.com/u/GRajput)\
**Post date:** [May 13, 2024, 1:48pm UTC](https://community.hubspot.com/t/is-there-an-api-to-get-the-user-session-timeout/106968/2 "2024-05-13T13:48:06Z")

</div>

Hi @HHang0

I have attached a link hope this could help you to solve your query.

> **[Accounts Dashboard | HubSpot](https://app.hubspot.com/myaccounts?next=developerdocs&redirect=%2Fapi-reference%2Faccount-audit-logs-v3%2Fguide)**

I hope this will help you out. Please mark it as **Solution Accepted and upvote** to help another Community member.  
Thanks!

---

<div class="post-metadata">

**Author:** ![HHang0](https://avatars.discourse-cdn.com/v4/letter/h/8baadc/32.png) [@HHang0](https://community.hubspot.com/u/HHang0)\
**Post date:** [May 13, 2024, 2:35pm UTC](https://community.hubspot.com/t/is-there-an-api-to-get-the-user-session-timeout/106968/3 "2024-05-13T14:35:11Z")

</div>

No, this link does not help.

I tried with all APIs but there is no API to get the session timeout (that you can see on Setting → Security link → Settings & Activity → Session timeout - default is 1 day)
