Keep the API user logged in. "Invalid Session ID"

Hi all,

Is there a way to keep the ā€˜API’ user logged in?

We are using the Rest API. Very often we get the ā€œInvalid Session IDā€ error. We can loop through the code and make the login request again but this slows down the response time. So we would like to keep the ā€œAPIā€ user logged in(for a minimum 24 Hrs).

Thanks,

the api session is a simple php session, check this post

https://suitecrm.com/forum/suitecrm-7-0-discussion/9663-time-session-length#33142

best regards