As outlined in this article, OAuth tokens expire after 6 hours. You can then use the refresh token to get a new access token which will last another 6 hours. It is certainly possible to set up automation to repeatedly refresh your integration's access token every 6 hours. The refresh_token you receive when initiating the OAuth connection does not expire, so you can keep using it to refresh the access_token.