Refresh token expiry time

What is the expiry time on refresh tokens/do they expire?

I see access tokens expire in 1 hour and you’re given new refresh token each time you get a new access token, but what if I don’t request a new access token in two days to my users not needing anything ?

Currently looking at refreshing every hour to be safe, but would be nice to have some confirmation if they expire or not.

Thanks!

Hi Jack,

Access tokens expire after 3600 seconds (one hour).

To continue accessing an account after an access token expires, you need to obtain a new access token using the refresh token.

To obtain a new access token, make a HTTP POST request to https://go.servicem8.com/oauth/access_token, and the response will include a new refresh token.

Refresh tokens are valid for 1 year from issuing, so if you don’t request a new access token for a couple of days, your refresh token will still be valid.

As long as you refresh at least once per year, the refresh token will remain valid.

Thanks,
Cody