When does API cookie expire?

Hello

I have bash script scheduled to run every minute to poll some information through Filecloud API.
The script runs curl to create cookie file then curl again to poll information.
How can I know the cookie expiration time?
Is it possible to set it to never expire?

Thanks in advance…

Hello @dia

You can set the session expiration time on Admin Portal > Settings section.

Please refer to the below URL.

https://www.getfilecloud.com/supportdocs/display/cloud/Basic+Server+Settings

Also, the session expiration time refreshes every time you access the server through API.